diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-17 11:45:13 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-17 11:49:27 +0100 |
commit | 7bb1c7397076d9085c62f828cc8868777cd29a94 (patch) | |
tree | 1dbfc48ae7fb3ad91edfa9899a19e848bce3cf4d /android | |
parent | acfd640fd8547d3275c5db714b88d52b3fe7c4d5 (diff) |
android: fix unreadable text in doc browser's about dialog
There were two inconsistencies here:
- The doc browser activity had an explicit android:theme, but the viewer
does not, so remove it to be consistent, this fixes the about dialog's
"black text on black background" problem.
- Now the doc browser had white text on white background: the about
dialog explicitly uses android:textColor for the strings which should
be readable on a bright background, do the same in
file_explorer_folder_icon and file_explorer_grid_item, that makes doc
browser text readable as well.
Change-Id: Iae9103556ca7c32c9ac8ea02d9e5d5fa6dfb72b5
Diffstat (limited to 'android')
3 files changed, 3 insertions, 2 deletions
diff --git a/android/experimental/LOAndroid3/AndroidManifest.xml.in b/android/experimental/LOAndroid3/AndroidManifest.xml.in index c3a6b3185f62..0c659d8c7e6a 100644 --- a/android/experimental/LOAndroid3/AndroidManifest.xml.in +++ b/android/experimental/LOAndroid3/AndroidManifest.xml.in @@ -82,8 +82,7 @@ </activity> <!-- Document Browser Activity --> <activity android:name=".ui.LibreOfficeUIActivity" - android:label="@string/app_name" - android:theme="@android:style/Theme.Holo"> + android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> diff --git a/android/experimental/LOAndroid3/res/layout/file_explorer_folder_icon.xml b/android/experimental/LOAndroid3/res/layout/file_explorer_folder_icon.xml index 60dd9b9e2d81..4271ac48fc3b 100644 --- a/android/experimental/LOAndroid3/res/layout/file_explorer_folder_icon.xml +++ b/android/experimental/LOAndroid3/res/layout/file_explorer_folder_icon.xml @@ -29,6 +29,7 @@ android:layout_gravity="center" android:textSize="15dp" android:textStyle="bold" + android:textColor="@android:color/secondary_text_light" android:maxLines="2"> </TextView> diff --git a/android/experimental/LOAndroid3/res/layout/file_explorer_grid_item.xml b/android/experimental/LOAndroid3/res/layout/file_explorer_grid_item.xml index e4569e028553..6e269c86dfa3 100644 --- a/android/experimental/LOAndroid3/res/layout/file_explorer_grid_item.xml +++ b/android/experimental/LOAndroid3/res/layout/file_explorer_grid_item.xml @@ -30,6 +30,7 @@ android:layout_gravity="center" android:textSize="15dp" android:textStyle="bold" + android:textColor="@android:color/secondary_text_light" android:maxLines="2"> </TextView> |