From 1896344b53ddf6cdaf17dc02a05c45f587879d99 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 6 Jun 2014 17:20:13 -0700 Subject: Revise remove view target positioning. - Move placement from dialtacts activity layout to the lists fragment, so that it can be positioned over the tab bar. - Relocate references to RemoveView/RemoveViewContainer to the lists fragment from the activity class. - Set colors using tints, remove old highlight state asset. - Fade out search bar and recent card when dragging. Bug: 15434489 Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203 --- res/drawable-hdpi/ic_remove_highlight.png | Bin 717 -> 0 bytes res/drawable-mdpi/ic_remove_highlight.png | Bin 587 -> 0 bytes res/drawable-xhdpi/ic_remove_highlight.png | Bin 974 -> 0 bytes res/drawable-xxhdpi/ic_remove_highlight.png | Bin 1590 -> 0 bytes res/layout/dialtacts_activity.xml | 43 +------------- res/layout/lists_fragment.xml | 86 ++++++++++++++++++++++------ res/values/colors.xml | 3 +- 7 files changed, 69 insertions(+), 63 deletions(-) delete mode 100644 res/drawable-hdpi/ic_remove_highlight.png delete mode 100644 res/drawable-mdpi/ic_remove_highlight.png delete mode 100644 res/drawable-xhdpi/ic_remove_highlight.png delete mode 100644 res/drawable-xxhdpi/ic_remove_highlight.png (limited to 'res') diff --git a/res/drawable-hdpi/ic_remove_highlight.png b/res/drawable-hdpi/ic_remove_highlight.png deleted file mode 100644 index 435ee36b0..000000000 Binary files a/res/drawable-hdpi/ic_remove_highlight.png and /dev/null differ diff --git a/res/drawable-mdpi/ic_remove_highlight.png b/res/drawable-mdpi/ic_remove_highlight.png deleted file mode 100644 index 6a961cbb2..000000000 Binary files a/res/drawable-mdpi/ic_remove_highlight.png and /dev/null differ diff --git a/res/drawable-xhdpi/ic_remove_highlight.png b/res/drawable-xhdpi/ic_remove_highlight.png deleted file mode 100644 index 57949e317..000000000 Binary files a/res/drawable-xhdpi/ic_remove_highlight.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_remove_highlight.png b/res/drawable-xxhdpi/ic_remove_highlight.png deleted file mode 100644 index 23ee8f6da..000000000 Binary files a/res/drawable-xxhdpi/ic_remove_highlight.png and /dev/null differ diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index c7a788da8..71e58cb48 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -35,49 +35,8 @@ android:layout_height="match_parent" android:layout_width="match_parent" android:id="@+id/dialtacts_frame" - android:clipChildren="false" - > - - - - + android:clipChildren="false" /> - - - - - - + android:animateLayoutChanges="true" > + - - + + - + + + + + + + + - - + android:layout_height="@dimen/tab_height" + android:layout_alignParentTop="true" > + + + + + + + + + + + + + diff --git a/res/values/colors.xml b/res/values/colors.xml index a5ad64167..e4df4d0a0 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -72,8 +72,7 @@ #777777 - - #555555 + #ffffff #FF3F3B -- cgit v1.2.3