diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-21 12:31:40 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-24 18:44:22 +0100 |
commit | b29ae2b97528e43dd9563645a178025cbfc50529 (patch) | |
tree | fb436ba758ed019128570dd219da23733e755c27 /android | |
parent | c31e0a0b189505e2f9d5319a033f3cd237720dd6 (diff) |
Improve About Dialog for small or very large screens.
Change-Id: Iec8b67dd4e59ca8a1c17119cae5be91fceecf1b1
Diffstat (limited to 'android')
-rw-r--r-- | android/sdremote/res/drawable/libreoffice_logo.9.png | bin | 0 -> 7083 bytes | |||
-rw-r--r-- | android/sdremote/res/drawable/libreoffice_logo.png | bin | 11628 -> 0 bytes | |||
-rw-r--r-- | android/sdremote/res/layout/dialog_about.xml | 112 |
3 files changed, 61 insertions, 51 deletions
diff --git a/android/sdremote/res/drawable/libreoffice_logo.9.png b/android/sdremote/res/drawable/libreoffice_logo.9.png Binary files differnew file mode 100644 index 000000000000..6f0294c5181b --- /dev/null +++ b/android/sdremote/res/drawable/libreoffice_logo.9.png diff --git a/android/sdremote/res/drawable/libreoffice_logo.png b/android/sdremote/res/drawable/libreoffice_logo.png Binary files differdeleted file mode 100644 index f4f826b5c210..000000000000 --- a/android/sdremote/res/drawable/libreoffice_logo.png +++ /dev/null diff --git a/android/sdremote/res/layout/dialog_about.xml b/android/sdremote/res/layout/dialog_about.xml index ce30a255d058..d81b3a495406 100644 --- a/android/sdremote/res/layout/dialog_about.xml +++ b/android/sdremote/res/layout/dialog_about.xml @@ -8,65 +8,75 @@ <ImageView android:id="@+id/imageView1" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:src="@drawable/libreoffice_logo" /> - <TextView - android:id="@+id/about_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" - android:gravity="center_horizontal" - android:text="@string/app_name" - android:textAppearance="?android:attr/textAppearanceLarge" /> + <ScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content" > - <TextView - android:id="@+id/about_version" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" - android:gravity="center_horizontal" - android:text="@string/about_versionstring" /> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" > - <TextView - android:id="@+id/about_copyright" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" - android:gravity="center_horizontal" - android:text="@string/about_copyright" /> + <TextView + android:id="@+id/about_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:gravity="center_horizontal" + android:text="@string/app_name" + android:textAppearance="?android:attr/textAppearanceLarge" /> - <TextView - android:id="@+id/about_link" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" - android:autoLink="web" - android:linksClickable="true" - android:text="www.libreoffice.org" - tools:ignore="HardcodedText" /> + <TextView + android:id="@+id/about_version" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:gravity="center_horizontal" + android:text="@string/about_versionstring" /> - <TextView - android:id="@+id/about_licence" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" - android:gravity="center_horizontal" - android:text="@string/about_licence" /> + <TextView + android:id="@+id/about_copyright" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:gravity="center_horizontal" + android:text="@string/about_copyright" /> - <TextView - android:id="@+id/about_libraries" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_margin="10dip" + <TextView + android:id="@+id/about_link" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:autoLink="web" + android:linksClickable="true" + android:text="www.libreoffice.org" + tools:ignore="HardcodedText" /> + + <TextView + android:id="@+id/about_licence" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:gravity="center_horizontal" + android:text="@string/about_licence" /> - android:text="@string/about_libraries" /> + <TextView + android:id="@+id/about_libraries" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="10dip" + android:text="@string/about_libraries" /> + </LinearLayout> + </ScrollView> </LinearLayout>
\ No newline at end of file |