mirror of
https://codeberg.org/gitnex/GitNex
synced 2025-02-03 20:58:02 +01:00
Small improvements to About dialog (#927)
As title Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/927 Reviewed-by: opyale <opyale@noreply.codeberg.org> Co-authored-by: M M Arif <mmarif@noreply.codeberg.org> Co-committed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
parent
b97fa45b18
commit
0fc845e058
@ -47,7 +47,7 @@ public class SettingsFragment extends Fragment {
|
|||||||
|
|
||||||
ctx = getContext();
|
ctx = getContext();
|
||||||
tinyDB = TinyDB.getInstance(ctx);
|
tinyDB = TinyDB.getInstance(ctx);
|
||||||
aboutAppDialog = new Dialog(ctx);
|
aboutAppDialog = new Dialog(ctx, R.style.ThemeOverlay_MaterialComponents_Dialog_Alert);
|
||||||
|
|
||||||
((MainActivity) requireActivity()).setActionBarTitle(getResources().getString(R.string.navSettings));
|
((MainActivity) requireActivity()).setActionBarTitle(getResources().getString(R.string.navSettings));
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.core.widget.NestedScrollView
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:scrollbars="none"
|
||||||
android:layout_width="wrap_content">
|
android:layout_width="wrap_content">
|
||||||
|
|
||||||
<RelativeLayout android:layout_width="match_parent"
|
<RelativeLayout android:layout_width="match_parent"
|
||||||
@ -62,8 +63,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="?attr/primaryTextColor" />
|
android:textColor="?attr/primaryTextColor" />
|
||||||
@ -81,8 +82,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:textColor="?attr/primaryTextColor" />
|
android:textColor="?attr/primaryTextColor" />
|
||||||
<!-- user server version -->
|
<!-- user server version -->
|
||||||
@ -94,8 +95,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="?attr/primaryTextColor" />
|
android:textColor="?attr/primaryTextColor" />
|
||||||
@ -114,8 +115,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/supportTextPatreon"
|
android:text="@string/supportTextPatreon"
|
||||||
android:textColor="@color/lightBlue"
|
android:textColor="@color/lightBlue"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:autoLink="web"
|
android:autoLink="web"
|
||||||
android:textColorLink="@color/lightBlue" />
|
android:textColorLink="@color/lightBlue" />
|
||||||
@ -128,8 +129,8 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="24dp"
|
android:layout_marginTop="24dp"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textColor="?attr/primaryTextColor" />
|
android:textColor="?attr/primaryTextColor" />
|
||||||
@ -151,8 +152,8 @@
|
|||||||
android:text="@string/translateWithCrowdin"
|
android:text="@string/translateWithCrowdin"
|
||||||
android:textColor="@color/lightBlue"
|
android:textColor="@color/lightBlue"
|
||||||
android:textColorLink="@color/lightBlue"
|
android:textColorLink="@color/lightBlue"
|
||||||
android:paddingStart="24dp"
|
android:paddingStart="28dp"
|
||||||
android:paddingEnd="24dp"
|
android:paddingEnd="28dp"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
android:visibility="visible" />
|
android:visibility="visible" />
|
||||||
<!-- translate -->
|
<!-- translate -->
|
||||||
@ -174,7 +175,7 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="90dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<androidx.cardview.widget.CardView
|
<androidx.cardview.widget.CardView
|
||||||
@ -202,4 +203,4 @@
|
|||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
</androidx.core.widget.NestedScrollView>
|
</ScrollView>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user