From c57784e912f0b50d9937b40b520fcc2ba9fecdec Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Sat, 3 Oct 2015 19:58:59 +0200 Subject: android: make layouts nicer to work with by providing sample values in editor Change-Id: I76495becb0257cb36340397d7296f26565fca4cd (cherry picked from commit 20d5c4cce51284fd39d22755d19ac7a28ab51e14) --- android/source/res/layout/about.xml | 8 +++++--- android/source/res/layout/document_part_list_layout.xml | 4 +++- android/source/res/layout/file_explorer_grid_item.xml | 9 ++++++--- android/source/res/layout/file_list_item.xml | 8 +++++++- android/source/res/menu/main.xml | 1 + android/source/res/values/strings.xml | 3 ++- 6 files changed, 24 insertions(+), 9 deletions(-) (limited to 'android') diff --git a/android/source/res/layout/about.xml b/android/source/res/layout/about.xml index 9882ab1a5ddf..e8d8322266b4 100644 --- a/android/source/res/layout/about.xml +++ b/android/source/res/layout/about.xml @@ -1,9 +1,11 @@ - + @@ -33,7 +35,7 @@ android:paddingTop="20dip" android:text="@string/app_credits" android:textColor="@android:color/secondary_text_light" - android:textSize="18dip"/> + android:textSize="18sp"/> \ No newline at end of file diff --git a/android/source/res/layout/file_explorer_grid_item.xml b/android/source/res/layout/file_explorer_grid_item.xml index 5242f8f60f31..8dfb9ed0a613 100644 --- a/android/source/res/layout/file_explorer_grid_item.xml +++ b/android/source/res/layout/file_explorer_grid_item.xml @@ -6,6 +6,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + android:layout_gravity="center" + android:contentDescription="@string/file_icon_desc" > diff --git a/android/source/res/layout/file_list_item.xml b/android/source/res/layout/file_list_item.xml index 17590fc7bfb4..352948817525 100644 --- a/android/source/res/layout/file_list_item.xml +++ b/android/source/res/layout/file_list_item.xml @@ -6,33 +6,39 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + android:layout_gravity="center" + android:contentDescription="@string/file_icon_desc" /> Sort A-Z Sort by Date Preferences + fileicon EXPLORER_VIEW_TYPE CURRENT_DIRECTORY @@ -66,7 +67,7 @@ Save complete - Saving the document... + Saving the document… Save incomplete. Were there any changes? -- cgit v1.2.3