summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-09-22 03:35:52 +0800
committerOwen Lin <owenlin@google.com>2009-09-23 09:57:22 +0800
commitf0b7d4b0d1823ea547e4976544866fa35f577898 (patch)
tree1b3ffd2678c901cb6a499a974b81be7f16c85da4 /res/values/styles.xml
parentb50b595f80d453c9ca3024196599d3184724cdbf (diff)
downloadLegacyCamera-f0b7d4b0d1823ea547e4976544866fa35f577898.zip
LegacyCamera-f0b7d4b0d1823ea547e4976544866fa35f577898.tar.gz
LegacyCamera-f0b7d4b0d1823ea547e4976544866fa35f577898.tar.bz2
Fix the problem that for too long text the UI is bad.
Change-Id: I85534ead897d676facb3ec4fa791b5bfffee350b
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index f042a33..3a2f26c 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -50,6 +50,28 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:drawablePadding">3dip</item>
</style>
+ <style name="ReviewControlText">
+ <item name="android:textSize">12sp</item>
+ <item name="android:gravity">center</item>
+ <item name="android:ellipsize">end</item>
+ <item name="android:maxLines">2</item>
+ <item name="android:layout_width">fill_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ </style>
+ <style name="ReviewControlIcon">
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:scaleType">center</item>
+ <item name="android:clickable">true</item>
+ <item name="android:focusable">true</item>
+ <item name="android:background">@drawable/btn_camera_review</item>
+ </style>
+ <style name="ReviewControlGroup">
+ <item name="android:orientation">vertical</item>
+ <item name="android:gravity">top|center_horizontal</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_width">fill_parent</item>>
+ </style>
<style name="Theme.DeleteImageDialog" parent="android:style/Theme.Dialog.Alert">
</style>
</resources>