Minor layout fixes.

This commit is contained in:
Christopher Beckmann 2016-03-14 14:43:26 +01:00
parent 4323bbce2c
commit e31506cb1f
7 changed files with 24 additions and 1 deletions

View file

@ -58,6 +58,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:text="@string/about_author_names" /> android:text="@string/about_author_names" />
@ -66,6 +67,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="30dp" android:layout_marginTop="30dp"
android:gravity="center"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:text="@string/privacy_friendly"/> android:text="@string/privacy_friendly"/>
@ -117,6 +119,7 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/about_qqwing" android:text="@string/about_qqwing"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:layout_gravity="center_horizontal"/> android:layout_gravity="center_horizontal"/>

View file

@ -15,6 +15,7 @@
android:layout_weight="1"> android:layout_weight="1">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/welcome" /> android:text="@string/welcome" />
<TextView <TextView
@ -76,6 +77,7 @@
style="@style/RatingBar"/> style="@style/RatingBar"/>
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/difficulty_description"/> android:text="@string/difficulty_description"/>
</LinearLayout> </LinearLayout>

View file

@ -29,6 +29,7 @@
<TextView <TextView
android:id="@+id/appName" android:id="@+id/appName"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
@ -56,6 +57,7 @@
<TextView <TextView
android:id="@+id/textFieldAuthorNames" android:id="@+id/textFieldAuthorNames"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
@ -65,6 +67,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="30dp" android:layout_marginTop="30dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
@ -81,6 +84,7 @@
<TextView <TextView
android:id="@+id/textFieldAffiliation" android:id="@+id/textFieldAffiliation"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
@ -100,11 +104,13 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:gravity="center"
android:text="@string/more_info"/> android:text="@string/more_info"/>
<TextView <TextView
android:id="@+id/linkID" android:id="@+id/linkID"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/url" android:text="@string/url"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
@ -117,6 +123,7 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:text="@string/about_qqwing" android:text="@string/about_qqwing"
android:layout_gravity="center_horizontal"/> android:layout_gravity="center_horizontal"/>
@ -126,6 +133,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="@dimen/text_size" android:textSize="@dimen/text_size"
android:text="@string/about_qqwingLink" android:text="@string/about_qqwingLink"
android:gravity="center"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:autoLink="web"/> android:autoLink="web"/>

View file

@ -70,6 +70,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:text="@string/privacy_friendly"/> android:text="@string/privacy_friendly"/>
@ -77,6 +78,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:text="@string/more_info"/> android:text="@string/more_info"/>
@ -94,6 +96,7 @@
android:id="@+id/qqWing" android:id="@+id/qqWing"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:gravity="center"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/about_qqwing" android:text="@string/about_qqwing"
android:layout_gravity="center_horizontal"/> android:layout_gravity="center_horizontal"/>

View file

@ -16,6 +16,7 @@
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:gravity="center"
tools:context=".AboutActivity"> tools:context=".AboutActivity">
<ImageView <ImageView
android:id="@+id/barcodeLogo" android:id="@+id/barcodeLogo"
@ -29,6 +30,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:text="@string/app_name_long" /> android:text="@string/app_name_long" />
@ -53,6 +55,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center"
android:layout_marginTop="0dp" android:layout_marginTop="0dp"
android:text="@string/about_author_names" /> android:text="@string/about_author_names" />
@ -77,6 +80,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:gravity="center"
android:text="@string/privacy_friendly"/> android:text="@string/privacy_friendly"/>
<TextView <TextView
@ -84,6 +88,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:gravity="center"
android:text="@string/more_info"/> android:text="@string/more_info"/>
<TextView <TextView
@ -100,6 +105,7 @@
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/about_qqwing" android:text="@string/about_qqwing"
android:layout_gravity="center_horizontal"/> android:layout_gravity="center_horizontal"/>

View file

@ -70,6 +70,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/difficulty_description"/> android:text="@string/difficulty_description"/>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>

View file

@ -59,7 +59,7 @@
<string name="app_name_long" translatable="false">Privacy Friendly Sudoku</string> <string name="app_name_long" translatable="false">Privacy Friendly Sudoku</string>
<string name="version_number" translatable="false">v1.0</string> <string name="version_number" translatable="false">v1.0</string>
<string name="about_author">Author:</string> <string name="about_author">Author:</string>
<string name="about_author_names" translatable="false">Christopher Beckmann, Timm Lippert</string> <string name="about_author_names" translatable="false">Christopher Beckmann,\nTimm Lippert</string>
<string name="about_affiliation">In affiliation with:</string> <string name="about_affiliation">In affiliation with:</string>
<string name="privacy_friendly">This application belongs to the Privacy Friendly Apps.</string> <string name="privacy_friendly">This application belongs to the Privacy Friendly Apps.</string>
<string name="more_info">More information can be found on:</string> <string name="more_info">More information can be found on:</string>