summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-11-17 11:44:35 +0800
committercretin45 <cretin45@gmail.com>2014-12-15 14:54:46 -0800
commitc7fd5658bb91ccc9b58add07e93b7cdc37b787d3 (patch)
tree3481a83318fff78c7ba45efd2d808d8bb54de9d6
parent7bc38aa9311bb1bf60a3d1ec4bf96aa64a1292c6 (diff)
downloadandroid_packages_apps_Gallery2-c7fd5658bb91ccc9b58add07e93b7cdc37b787d3.tar.gz
android_packages_apps_Gallery2-c7fd5658bb91ccc9b58add07e93b7cdc37b787d3.tar.bz2
android_packages_apps_Gallery2-c7fd5658bb91ccc9b58add07e93b7cdc37b787d3.zip
Gallery2: Fix photo widget display black when no picutures.
The color of "No photos" is same with its background which make the text of "No photos" not display. Modify the color of text to make "No pictures" display CRs-Fixed: 752380 Change-Id: Iba4ea3085528199faddb39f55e7383f910440526
-rw-r--r--res/layout/appwidget_main.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/layout/appwidget_main.xml b/res/layout/appwidget_main.xml
index 0accabb50..368d90bc5 100644
--- a/res/layout/appwidget_main.xml
+++ b/res/layout/appwidget_main.xml
@@ -31,6 +31,7 @@
android:layout_width="@dimen/stack_photo_width"
android:layout_height="@dimen/stack_photo_height"
android:gravity="center"
+ android:textColor="@android:color/black"
android:text="@string/appwidget_empty_text"/>
</FrameLayout>
</RelativeLayout>