summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-05-05 14:32:08 +0200
committercyBerta <cyberta@riseup.net>2022-05-05 14:32:08 +0200
commit28e002973b6e5dc07f959f7c4d36dfd41a2ac826 (patch)
treea69ebe400e8b48f48cf356bdeb5558df48fa7f24
parent69ee2d4e1d685f52e6d49e36aa04017314f1e10e (diff)
fix left-right alignment in about fragment, fix space dimensions (dp instead of sp)
-rw-r--r--app/src/main/res/layout-xlarge/f_about.xml41
-rw-r--r--app/src/main/res/layout/f_about.xml43
2 files changed, 45 insertions, 39 deletions
diff --git a/app/src/main/res/layout-xlarge/f_about.xml b/app/src/main/res/layout-xlarge/f_about.xml
index f2432e04..96156a71 100644
--- a/app/src/main/res/layout-xlarge/f_about.xml
+++ b/app/src/main/res/layout-xlarge/f_about.xml
@@ -4,7 +4,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:layout_marginLeft="12sp"
+ android:layout_marginLeft="@dimen/stdpadding"
+ android:layout_marginStart="@dimen/stdpadding"
+ android:layout_marginEnd="@dimen/stdpadding"
+ android:layout_marginRight="@dimen/stdpadding"
tools:context=".base.MainActivity" >
<LinearLayout
@@ -20,7 +23,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="12sp" />
+ android:layout_height="12dp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/terms_of_service"
@@ -40,7 +43,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="12sp" />
+ android:layout_height="12dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -58,7 +61,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="18sp" />
+ android:layout_height="18dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -69,7 +72,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="12sp" />
+ android:layout_height="12dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -80,7 +83,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="18sp" />
+ android:layout_height="18dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -90,7 +93,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -114,7 +117,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -131,7 +134,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -147,7 +150,7 @@
android:text="@string/copyright_openssl" />
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -164,7 +167,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -181,7 +184,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -198,7 +201,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -215,7 +218,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -232,7 +235,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -249,7 +252,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -266,7 +269,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -283,7 +286,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -300,7 +303,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/f_about.xml b/app/src/main/res/layout/f_about.xml
index acf686eb..b73d2191 100644
--- a/app/src/main/res/layout/f_about.xml
+++ b/app/src/main/res/layout/f_about.xml
@@ -4,8 +4,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:layout_marginLeft="8sp"
- tools:context=".base.MainActivity" >
+ android:layout_marginLeft="@dimen/stdpadding"
+ android:layout_marginStart="@dimen/stdpadding"
+ android:layout_marginRight="@dimen/stdpadding"
+ android:layout_marginEnd="@dimen/stdpadding"
+ tools:context=".base.MainActivity">
<LinearLayout
android:layout_width="match_parent"
@@ -20,7 +23,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/terms_of_service"
@@ -39,7 +42,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -50,7 +53,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -66,7 +69,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -76,7 +79,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -86,7 +89,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -95,7 +98,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="10dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -132,7 +135,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -147,7 +150,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -162,7 +165,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -177,7 +180,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -192,7 +195,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -207,7 +210,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -222,7 +225,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -237,7 +240,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -252,7 +255,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -267,7 +270,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
@@ -282,7 +285,7 @@
<Space
android:layout_width="match_parent"
- android:layout_height="20sp" />
+ android:layout_height="20dp" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"