From d99993213962df64c9d76005df86c2fb83fca074 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 19 Jul 2013 09:22:03 -0700 Subject: Style and layout changes to match redlines * Swapped out some icons with newly added assets. * Changed search view into edit text with accompanying close button so that it can be more easily styled. * Changed various background colors. * Tweaked padding values to match redlines * Removed margins from PhoneFavoriteRegularRowView and PhoneFavoriteTileView and instead use a standardized set of margins for all rows in PhoneFavoritesTileAdapter * Added bottom_border_background drawable to create a bordered background. * Remove PhoneFavoritesTileAdapter.ViewTypes.STARRED/STARRED_PHONE since they are no longer relevant Change-Id: I65dfd5adf6cfbcb2c9d283aef2bd10e5d2a82dc7 --- res/anim/slide_in.xml | 2 +- res/anim/slide_out.xml | 2 +- res/drawable-hdpi/ic_ab_dialer_holo_light.png | Bin 0 -> 1696 bytes res/drawable-hdpi/ic_close_dk.png | Bin 0 -> 956 bytes res/drawable-hdpi/ic_contact_info.png | Bin 0 -> 831 bytes res/drawable-hdpi/ic_dialer_menu_dialpad_dk.png | Bin 0 -> 747 bytes res/drawable-hdpi/ic_dialer_menu_history_dk.png | Bin 0 -> 1605 bytes res/drawable-hdpi/ic_menu_overflow_dark.png | Bin 0 -> 647 bytes res/drawable-hdpi/ic_play_holo_light.png | Bin 0 -> 1050 bytes .../ic_ab_dialer_holo_light.png | Bin 0 -> 1154 bytes .../ic_ab_dialer_holo_light.png | Bin 0 -> 2245 bytes res/drawable-mdpi/ic_close_dk.png | Bin 0 -> 839 bytes res/drawable-mdpi/ic_contact_info.png | Bin 0 -> 598 bytes res/drawable-mdpi/ic_dialer_menu_dialpad_dk.png | Bin 0 -> 897 bytes res/drawable-mdpi/ic_dialer_menu_history_dk.png | Bin 0 -> 1107 bytes res/drawable-mdpi/ic_menu_overflow_dark.png | Bin 0 -> 616 bytes res/drawable-mdpi/ic_play_holo_light.png | Bin 0 -> 769 bytes res/drawable-xhdpi/ic_close_dk.png | Bin 0 -> 1347 bytes res/drawable-xhdpi/ic_contact_info.png | Bin 0 -> 1186 bytes res/drawable-xhdpi/ic_dialer_menu_dialpad_dk.png | Bin 0 -> 1363 bytes res/drawable-xhdpi/ic_dialer_menu_history_dk.png | Bin 0 -> 2289 bytes res/drawable-xhdpi/ic_menu_overflow_dark.png | Bin 0 -> 800 bytes res/drawable-xhdpi/ic_people_info.png | Bin 0 -> 2270 bytes res/drawable-xhdpi/ic_play_holo_light.png | Bin 0 -> 1312 bytes res/drawable/bottom_border_background.xml | 29 ++++++++++++ res/layout/new_dialtacts_activity.xml | 29 +++++++++--- res/layout/new_phone_favorites_fragment.xml | 11 ++--- res/layout/phone_favorite_regular_row_view.xml | 49 --------------------- res/layout/phone_favorite_tile_view.xml | 12 ++--- res/values/colors.xml | 13 +++++- res/values/dimens.xml | 6 +++ res/values/strings.xml | 3 ++ res/values/styles.xml | 10 +++++ 33 files changed, 99 insertions(+), 67 deletions(-) create mode 100644 res/drawable-hdpi/ic_ab_dialer_holo_light.png create mode 100644 res/drawable-hdpi/ic_close_dk.png create mode 100644 res/drawable-hdpi/ic_contact_info.png create mode 100644 res/drawable-hdpi/ic_dialer_menu_dialpad_dk.png create mode 100644 res/drawable-hdpi/ic_dialer_menu_history_dk.png create mode 100644 res/drawable-hdpi/ic_menu_overflow_dark.png create mode 100644 res/drawable-hdpi/ic_play_holo_light.png create mode 100644 res/drawable-ldrtl-mdpi/ic_ab_dialer_holo_light.png create mode 100644 res/drawable-ldrtl-xhdpi/ic_ab_dialer_holo_light.png create mode 100644 res/drawable-mdpi/ic_close_dk.png create mode 100644 res/drawable-mdpi/ic_contact_info.png create mode 100644 res/drawable-mdpi/ic_dialer_menu_dialpad_dk.png create mode 100644 res/drawable-mdpi/ic_dialer_menu_history_dk.png create mode 100644 res/drawable-mdpi/ic_menu_overflow_dark.png create mode 100644 res/drawable-mdpi/ic_play_holo_light.png create mode 100644 res/drawable-xhdpi/ic_close_dk.png create mode 100644 res/drawable-xhdpi/ic_contact_info.png create mode 100644 res/drawable-xhdpi/ic_dialer_menu_dialpad_dk.png create mode 100644 res/drawable-xhdpi/ic_dialer_menu_history_dk.png create mode 100644 res/drawable-xhdpi/ic_menu_overflow_dark.png create mode 100644 res/drawable-xhdpi/ic_people_info.png create mode 100644 res/drawable-xhdpi/ic_play_holo_light.png create mode 100644 res/drawable/bottom_border_background.xml (limited to 'res') diff --git a/res/anim/slide_in.xml b/res/anim/slide_in.xml index b7836f0c3..31502a971 100644 --- a/res/anim/slide_in.xml +++ b/res/anim/slide_in.xml @@ -15,7 +15,7 @@ --> + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/new_dialtacts_activity.xml b/res/layout/new_dialtacts_activity.xml index a9960d8e3..7845d0fef 100644 --- a/res/layout/new_dialtacts_activity.xml +++ b/res/layout/new_dialtacts_activity.xml @@ -22,17 +22,36 @@ android:clipChildren="false" android:id="@+id/dialtacts_container" > + - + android:layout_height="wrap_content" + android:paddingLeft="16dp" + android:paddingRight="23dp" + android:id="@+id/search_view_container" + android:background="@color/searchbox_background_color" + android:orientation="horizontal" + android:gravity="center_vertical"> + + + + android:id="@+id/fake_action_bar" + android:background="@color/actionbar_background_color"> + android:src="@drawable/ic_dialer_menu_history_dk"/> + android:src="@drawable/ic_dialer_menu_dialpad_dk"/> diff --git a/res/layout/phone_favorite_regular_row_view.xml b/res/layout/phone_favorite_regular_row_view.xml index 30e109f9e..eda5a02c8 100644 --- a/res/layout/phone_favorite_regular_row_view.xml +++ b/res/layout/phone_favorite_regular_row_view.xml @@ -52,55 +52,6 @@ android:fadingEdgeLength="3dip" android:ellipsize="marquee" android:textAlignment="viewStart" /> - - - - - - - - - - - diff --git a/res/layout/phone_favorite_tile_view.xml b/res/layout/phone_favorite_tile_view.xml index f6e44d857..bf9020557 100644 --- a/res/layout/phone_favorite_tile_view.xml +++ b/res/layout/phone_favorite_tile_view.xml @@ -60,14 +60,16 @@ #660099cc - #ffffff + #f5f5f5 #ee020709 @@ -55,4 +55,15 @@ --> #888888 + + #e6e6e6 + + + #d0d0d0 + + + #ffffff + + #d3d3d3 + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 474f57227..0c5d22e10 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -57,4 +57,10 @@ 2dp 27dp + + 3dp + 8dp + 8dp + 8dp + 8dp diff --git a/res/values/strings.xml b/res/values/strings.xml index 9be7481b9..7c1020873 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -538,4 +538,7 @@ Show favorites only + + + History diff --git a/res/values/styles.xml b/res/values/styles.xml index cb36090cb..59322949a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -73,6 +73,8 @@ @style/DialtactsActionBarStyleNew @null @color/background_dial_holo_light + + @style/DialtactsSearchboxStyle @style/ListViewStyle @drawable/list_item_activated_background @drawable/list_title_holo @@ -167,6 +169,9 @@ @@ -183,4 +188,9 @@ + + -- cgit v1.2.3