From e31506cb1fd7cd15c653442c4b1e69c974b27cad Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Mon, 14 Mar 2016 14:43:26 +0100 Subject: [PATCH] Minor layout fixes. --- app/src/main/res/layout-land/activity_about.xml | 3 +++ app/src/main/res/layout-land/welcome_dialog.xml | 2 ++ app/src/main/res/layout-xlarge-land/activity_about.xml | 8 ++++++++ app/src/main/res/layout-xlarge/activity_about.xml | 3 +++ app/src/main/res/layout/activity_about.xml | 6 ++++++ app/src/main/res/layout/welcome_dialog.xml | 1 + app/src/main/res/values/strings.xml | 2 +- 7 files changed, 24 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout-land/activity_about.xml b/app/src/main/res/layout-land/activity_about.xml index 02a88bd..37e892b 100644 --- a/app/src/main/res/layout-land/activity_about.xml +++ b/app/src/main/res/layout-land/activity_about.xml @@ -58,6 +58,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" + android:gravity="center" android:layout_marginTop="0dp" android:textSize="@dimen/text_size" android:text="@string/about_author_names" /> @@ -66,6 +67,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="30dp" + android:gravity="center" android:textSize="@dimen/text_size" android:layout_gravity="center_horizontal" android:text="@string/privacy_friendly"/> @@ -117,6 +119,7 @@ android:layout_marginTop="20dp" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:gravity="center" android:text="@string/about_qqwing" android:textSize="@dimen/text_size" android:layout_gravity="center_horizontal"/> diff --git a/app/src/main/res/layout-land/welcome_dialog.xml b/app/src/main/res/layout-land/welcome_dialog.xml index 74d738a..b85c29a 100644 --- a/app/src/main/res/layout-land/welcome_dialog.xml +++ b/app/src/main/res/layout-land/welcome_dialog.xml @@ -15,6 +15,7 @@ android:layout_weight="1"> diff --git a/app/src/main/res/layout-xlarge-land/activity_about.xml b/app/src/main/res/layout-xlarge-land/activity_about.xml index f6ca1d1..b95f735 100644 --- a/app/src/main/res/layout-xlarge-land/activity_about.xml +++ b/app/src/main/res/layout-xlarge-land/activity_about.xml @@ -29,6 +29,7 @@ @@ -126,6 +133,7 @@ android:layout_height="wrap_content" android:textSize="@dimen/text_size" android:text="@string/about_qqwingLink" + android:gravity="center" android:layout_gravity="center_horizontal" android:autoLink="web"/> diff --git a/app/src/main/res/layout-xlarge/activity_about.xml b/app/src/main/res/layout-xlarge/activity_about.xml index bbdd5cf..2f1bf3a 100644 --- a/app/src/main/res/layout-xlarge/activity_about.xml +++ b/app/src/main/res/layout-xlarge/activity_about.xml @@ -70,6 +70,7 @@ @@ -77,6 +78,7 @@ @@ -94,6 +96,7 @@ android:id="@+id/qqWing" android:layout_marginTop="20dp" android:layout_width="wrap_content" + android:gravity="center" android:layout_height="wrap_content" android:text="@string/about_qqwing" android:layout_gravity="center_horizontal"/> diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 76ad135..2b49b6c 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -16,6 +16,7 @@ android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" + android:gravity="center" tools:context=".AboutActivity"> @@ -53,6 +55,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" + android:gravity="center" android:layout_marginTop="0dp" android:text="@string/about_author_names" /> @@ -77,6 +80,7 @@ android:layout_height="wrap_content" android:layout_marginTop="10dp" android:layout_gravity="center_horizontal" + android:gravity="center" android:text="@string/privacy_friendly"/> diff --git a/app/src/main/res/layout/welcome_dialog.xml b/app/src/main/res/layout/welcome_dialog.xml index fbc0556..8df0f48 100644 --- a/app/src/main/res/layout/welcome_dialog.xml +++ b/app/src/main/res/layout/welcome_dialog.xml @@ -70,6 +70,7 @@ \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 418dfc5..1ab7d46 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -59,7 +59,7 @@ Privacy Friendly Sudoku v1.0 Author: - Christopher Beckmann, Timm Lippert + Christopher Beckmann,\nTimm Lippert In affiliation with: This application belongs to the Privacy Friendly Apps. More information can be found on: