mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-26 16:04:07 +08:00
add donator to sponsor page, file icon
This commit is contained in:
parent
b4c0745b40
commit
c3da1900a0
@ -2,8 +2,10 @@ package org.mian.gitnex.activities;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.text.method.LinkMovementMethod;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import org.mian.gitnex.R;
|
||||
|
||||
/**
|
||||
@ -20,6 +22,9 @@ public class SponsorsActivity extends AppCompatActivity {
|
||||
setContentView(R.layout.activity_sponsors);
|
||||
|
||||
ImageView closeActivity = findViewById(R.id.close);
|
||||
TextView liberaPaySponsorsThomas = findViewById(R.id.liberaPaySponsorsThomas);
|
||||
|
||||
liberaPaySponsorsThomas.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
|
||||
initCloseListener();
|
||||
closeActivity.setOnClickListener(onClickListener);
|
||||
|
5
app/src/main/res/drawable/ic_file.xml
Normal file
5
app/src/main/res/drawable/ic_file.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24.0" android:viewportWidth="24.0"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M6,2c-1.1,0 -1.99,0.9 -1.99,2L4,20c0,1.1 0.89,2 1.99,2L18,22c1.1,0 2,-0.9 2,-2L20,8l-6,-6L6,2zM13,9L13,3.5L18.5,9L13,9z"/>
|
||||
</vector>
|
@ -73,6 +73,18 @@
|
||||
android:text="@string/liberaPaySponsorsFabian"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:textColorLink="@color/lightBlue"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/liberaPaySponsorsThomas"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/liberaPaySponsorsThomas"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:textColorLink="@color/lightBlue"
|
||||
/>
|
||||
|
||||
|
@ -407,6 +407,7 @@
|
||||
<!-- sponsors -->
|
||||
<string name="liberaPayText" translatable="false">Liberapay</string>
|
||||
<string name="liberaPaySponsorsFabian" translatable="false">Fabian Stamm</string>
|
||||
<string name="liberaPaySponsorsThomas" translatable="false">Thomas Schneider <a href="https://framapiaf.org/@fedilab">@Fedilab</a></string>
|
||||
<!-- sponsors -->
|
||||
|
||||
<!-- edit issue -->
|
||||
|
Loading…
Reference in New Issue
Block a user