diff options
author | Chiao Cheng <chiaocheng@google.com> | 2013-09-30 12:33:46 -0700 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2013-09-30 15:43:32 -0700 |
commit | 9fd02a6742c8e9139a03d80bacca360238be11bf (patch) | |
tree | 1810cbbade4ff36ea95c0df813873173b5db12ca /res | |
parent | 095f112b1bd44ac6d1d2fd80b515a76ea40ca586 (diff) |
Turn on reverse lookup by default.
- Adding new caller id is enabled message when the call short cut is displaying
a reverse lookup result or if the number is unknown.
- Added dismiss "X" button which turns of the badge forever.
- Fixed issue where main screen was cutting off add contact button when few
favorites are present.
Bug: 10956658
Change-Id: Iea298d41b2ad6c3f63bc5580dc54fa0dc81d8c52
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/call_log_list_item_extra.xml | 14 | ||||
-rw-r--r-- | res/layout/phone_favorites_fragment.xml | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/res/layout/call_log_list_item_extra.xml b/res/layout/call_log_list_item_extra.xml index 672abf12f..d3f86cfea 100644 --- a/res/layout/call_log_list_item_extra.xml +++ b/res/layout/call_log_list_item_extra.xml @@ -33,8 +33,8 @@ android:layout_height="wrap_content" android:paddingStart="@dimen/call_log_outer_margin" android:paddingEnd="@dimen/call_log_outer_margin" - android:paddingTop="4dip" - android:paddingBottom="4dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" android:background="?android:attr/selectableItemBackground" android:clickable="true"> <ImageView android:layout_width="wrap_content" @@ -45,6 +45,14 @@ android:layout_height="wrap_content" android:id="@+id/badge_text" android:textColor="@color/dialpad_primary_text_color" - android:layout_gravity="center_vertical"/> + android:layout_gravity="center_vertical" + android:layout_weight="1"/> + <ImageView android:id="@+id/dismiss_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="8dip" + android:src="@drawable/ic_close_dk" + android:background="?android:attr/selectableItemBackground" + android:visibility="gone"/> </LinearLayout> </FrameLayout>
\ No newline at end of file diff --git a/res/layout/phone_favorites_fragment.xml b/res/layout/phone_favorites_fragment.xml index f518f0b92..363565a5d 100644 --- a/res/layout/phone_favorites_fragment.xml +++ b/res/layout/phone_favorites_fragment.xml @@ -27,7 +27,7 @@ <FrameLayout android:id="@+id/contact_tile_frame" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> |