diff options
author | Nancy Chen <nancychen@google.com> | 2014-08-21 15:17:10 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-08-21 16:27:41 -0700 |
commit | 5d887b044a40fca016c466496bb8b8fe0206bf6b (patch) | |
tree | 337bdb4d6382b7091830148d5c88ef71e7f422f1 | |
parent | 68aa63b48a33e461576e40a6dcd937fe846122e1 (diff) |
Update UI for Caller ID by Google is enabled badge.
* Changed settings gear icon
* Made the dismiss button a visible color
* Realigned the text
* Removed most of the extra space around the dividing line
Bug: 15740204
Change-Id: I4049a04b4bc48747ffe8208bd79d58ca8a423e38
-rw-r--r-- | res/layout/call_log_list_item_extra.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/res/layout/call_log_list_item_extra.xml b/res/layout/call_log_list_item_extra.xml index fbf71f64d..3623e3f94 100644 --- a/res/layout/call_log_list_item_extra.xml +++ b/res/layout/call_log_list_item_extra.xml @@ -24,8 +24,6 @@ <View android:layout_width="match_parent" android:layout_height="1px" - android:layout_marginStart="@dimen/call_log_outer_margin" - android:layout_marginEnd="@dimen/call_log_outer_margin" android:background="@color/favorite_contacts_separator_color"/> <LinearLayout android:id="@+id/badge_link_container" @@ -40,9 +38,11 @@ <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/badge_image" + android:tint="@color/dialpad_primary_text_color" android:padding="@dimen/call_log_outer_margin"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingStart="@dimen/call_log_start_margin" android:id="@+id/badge_text" android:textColor="@color/dialpad_primary_text_color" android:layout_gravity="center_vertical" @@ -50,8 +50,11 @@ <ImageView android:id="@+id/dismiss_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingTop="8dip" + android:layout_gravity="center_vertical" + android:layout_marginEnd="@dimen/call_log_icon_margin" android:src="@drawable/ic_close_dk" + android:tint="@color/recent_call_log_item_phone_icon_tint" + android:alpha="0.3" android:background="?android:attr/selectableItemBackground" android:visibility="gone" android:contentDescription="@string/description_dismiss"/> |