diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-07 15:17:56 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-03-20 12:32:36 -0700 |
commit | 475236caa815206b0d9fca8c2dc4b7a3a5b9c866 (patch) | |
tree | 9f6248773dcf7d820ec42b83c628dfb37393c6e5 /res | |
parent | 9e02b428caa7f573bf9ca182a91e7f1c48ebeeec (diff) |
Remove deprecated swipe to remove code
Change-Id: I83b286db71f3ae2df3a31bbfc66c0045faa8f5ef
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/phone_favorite_regular_row_view.xml | 66 | ||||
-rw-r--r-- | res/layout/phone_favorite_tile_view.xml | 56 |
2 files changed, 1 insertions, 121 deletions
diff --git a/res/layout/phone_favorite_regular_row_view.xml b/res/layout/phone_favorite_regular_row_view.xml index d046fdb3d..ff8b47a42 100644 --- a/res/layout/phone_favorite_regular_row_view.xml +++ b/res/layout/phone_favorite_regular_row_view.xml @@ -50,7 +50,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="16sp" - android:textColor="@color/dialtacts_primary_text_color"/> + android:textColor="@color/dialtacts_primary_text_color" android:singleLine="true" android:fadingEdge="horizontal" android:fadingEdgeLength="3dip" @@ -67,68 +67,4 @@ </LinearLayout> </RelativeLayout> - - <LinearLayout - android:id="@+id/favorite_remove_dialogue" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" - android:gravity="center_vertical" - android:alpha="0.0" - android:visibility="gone"> - - <TextView - android:id="@+id/favorite_remove_dialogue_text" - 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:textSize="14sp" - android:textColor="@color/undo_dialogue_text_color" - android:singleLine="true" - android:gravity="center_vertical" - 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" - android:orientation="vertical" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:clickable="true" - android:paddingStart="30dp" - android:paddingEnd="30dp" - android:background="?android:attr/selectableItemBackground" - android:gravity="center_vertical"> - - <ImageView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:src="@drawable/ic_fav_undo_dk"/> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:fontFamily="sans-serif-light" - android:textSize="13sp" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/favorite_hidden_undo" - android:textColor="@color/undo_dialogue_text_color" - android:textAlignment="center"/> - </LinearLayout> - </LinearLayout> </view> diff --git a/res/layout/phone_favorite_tile_view.xml b/res/layout/phone_favorite_tile_view.xml index 952bb2a2a..0779f2a74 100644 --- a/res/layout/phone_favorite_tile_view.xml +++ b/res/layout/phone_favorite_tile_view.xml @@ -104,60 +104,4 @@ android:contentDescription="@string/description_view_contact_detail" /> </RelativeLayout> - - <LinearLayout - android:id="@+id/favorite_remove_dialogue" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" - android:gravity="center_horizontal" - android:background="@color/background_dialer_light" - android:alpha="0.0" - android:visibility="gone"> - - <TextView - android:id="@+id/favorite_remove_dialogue_text" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/favorite_hidden" - android:ellipsize="marquee" - android:fontFamily="sans-serif" - android:textSize="14sp" - android:textColor="@color/undo_dialogue_text_color" - android:lines="2" - android:paddingTop="22dp" - android:textDirection="ltr" - android:textAlignment="center" /> - - <LinearLayout - android:id="@+id/favorite_remove_undo_button" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" - android:background="?android:attr/selectableItemBackground" - android:clickable="true" - android:layout_weight="1" - android:layout_gravity="bottom"> - - <ImageView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:src="@drawable/ic_fav_undo_dk"/> - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:fontFamily="sans-serif" - android:textSize="13sp" - android:ellipsize="marquee" - android:singleLine="true" - android:text="@string/favorite_hidden_undo" - android:textColor="@color/undo_dialogue_text_color" - android:textAlignment="center"/> - </LinearLayout> - - </LinearLayout> </view> |