Add liberapay link
This commit is contained in:
parent
536336375b
commit
dd57c0607d
|
@ -162,6 +162,16 @@ public class AboutActivity extends BaseActivity implements OnRetrieveRemoteAccou
|
|||
}
|
||||
});
|
||||
|
||||
|
||||
Button about_support = findViewById(R.id.about_support);
|
||||
about_support.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("https://liberapay.com/tom79/donate"));
|
||||
startActivity(browserIntent);
|
||||
}
|
||||
});
|
||||
|
||||
setTitle(R.string.action_about);
|
||||
lv_contributors.setExpanded(true);
|
||||
lv_developers.setExpanded(true);
|
||||
|
|
|
@ -69,6 +69,16 @@
|
|||
android:divider="@null"
|
||||
android:scrollbars="none"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/about_support"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
style="@style/Base.Widget.AppCompat.Button.Colored"
|
||||
android:text="@string/support_the_app_on_liberapay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_wiki"
|
||||
android:layout_gravity="center"
|
||||
|
|
|
@ -63,6 +63,16 @@
|
|||
android:scrollbars="none"
|
||||
android:divider="@null"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/about_support"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
style="@style/Base.Widget.AppCompat.Button.Colored"
|
||||
android:text="@string/support_the_app_on_liberapay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/about_wiki"
|
||||
android:layout_gravity="center"
|
||||
|
|
|
@ -535,6 +535,7 @@
|
|||
<string name="set_theme">Theme:</string>
|
||||
<string name="set_compact_mode">Compact mode</string>
|
||||
<string name="set_share_details">Add toot details when sharing</string>
|
||||
<string name="support_the_app_on_liberapay">Support the app on Liberapay</string>
|
||||
<string-array translatable="false" name="proxy_type_choice">
|
||||
<item>HTTP</item>
|
||||
<item>SOCKS</item>
|
||||
|
|
Loading…
Reference in New Issue