diff options
author | Doris Liu <tianliu@google.com> | 2013-06-04 15:57:19 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2013-06-05 16:25:34 -0700 |
commit | ae56dacc8a278cd3dc74995f630b8044af444923 (patch) | |
tree | 5fe2e73fed1ab0f78cbf5531d284e1cf48b2193c /res/values/styles.xml | |
parent | 5311bd7a2f0d2697a0f9a38029a74f0f94c47d19 (diff) | |
download | android_packages_apps_Snap-ae56dacc8a278cd3dc74995f630b8044af444923.tar.gz android_packages_apps_Snap-ae56dacc8a278cd3dc74995f630b8044af444923.tar.bz2 android_packages_apps_Snap-ae56dacc8a278cd3dc74995f630b8044af444923.zip |
Add a layout for undo bar
Change-Id: Id795f00c8ca5f147f6aae8c1f9cba4e1da1e5b20
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r-- | res/values/styles.xml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index e6179e99b..67c53f819 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -253,9 +253,40 @@ <item name="android:enabled">false</item> <item name="android:scaleType">center</item> </style> - <style name="CameraControls"> + <style name="CameraControls"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">match_parent</item> </style> - + <style name="UndoBar"> + <item name="android:layout_marginLeft">4dp</item> + <item name="android:layout_marginRight">4dp</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">48dp</item> + <item name="android:layout_gravity">bottom</item> + <item name="android:background">@drawable/panel_undo_holo</item> + </style> + <style name="UndoBarTextAppearance"> + <item name="android:textSize">16sp</item> + <item name="android:textColor">@android:color/white</item> + </style> + <style name="UndoBarSeparator"> + <item name="android:background">@color/gray</item> + <item name="android:layout_width">1dp</item> + <item name="android:layout_height">match_parent</item> + <item name="android:layout_marginTop">10dp</item> + <item name="android:layout_marginBottom">10dp</item> + <item name="android:paddingRight">12dp</item> + </style> + <style name="UndoButton"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">match_parent</item> + <item name="android:paddingRight">16dp</item> + <item name="android:textSize">12sp</item> + <item name="android:gravity">center_vertical</item> + <item name="android:textStyle">bold</item> + <item name="android:textColor">@color/gray</item> + <item name="android:drawablePadding">8dp</item> + <item name="android:background">@drawable/bg_pressed</item> + </style> </resources> |