summaryrefslogtreecommitdiff
path: root/res/layout/phone_favorite_regular_row_view.xml
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2013-09-05 14:21:54 -0700
committerHongwei Wang <hwwang@google.com>2013-09-05 15:07:14 -0700
commitaddd02ecece2fb6bb0e78798d33994ace42c2bb7 (patch)
treeada8d9ec9021e2af2fd3f2440ab1e0d7452b6e22 /res/layout/phone_favorite_regular_row_view.xml
parent6bf6d90f35f5245b844d685e58ae132e9a32bc03 (diff)
Use same dismissed tombstone state as Gmail
Bug: 10509640 Changes - Imported new undo arrows - Added divider for undo in regular favorite row - Removed italic in undo - Align start for undo text Change-Id: I3a962d842c588f4af9d9b694c1b5071665091f3a
Diffstat (limited to 'res/layout/phone_favorite_regular_row_view.xml')
-rw-r--r--res/layout/phone_favorite_regular_row_view.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/res/layout/phone_favorite_regular_row_view.xml b/res/layout/phone_favorite_regular_row_view.xml
index 8ac01d666..bf63642e6 100644
--- a/res/layout/phone_favorite_regular_row_view.xml
+++ b/res/layout/phone_favorite_regular_row_view.xml
@@ -71,16 +71,24 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
+ android:paddingStart="@dimen/favorites_row_undo_text_side_padding"
+ android:paddingEnd="@dimen/favorites_row_undo_text_side_padding"
android:text="@string/favorite_hidden"
android:ellipsize="marquee"
android:fontFamily="sans-serif"
- android:textStyle="italic"
android:textSize="14sp"
android:textColor="@color/undo_dialogue_text_color"
android:singleLine="true"
android:gravity="center_vertical"
- android:textDirection="ltr"
- android:textAlignment="center" />
+ android:textDirection="ltr" />
+
+ <View
+ android:id="@+id/undo_separator"
+ android:layout_width="1dip"
+ android:layout_height="match_parent"
+ android:background="@color/undo_dialogue_text_color"
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="16dp" />
<LinearLayout
android:id="@+id/favorite_remove_undo_button"