From f3170880408642ca4389cd6c85b71eeecee4bced Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 10 Apr 2015 17:28:26 -0700 Subject: Cardify the call log list items! + Added card view dependencies to makefile. + Convert call log list items to use card views. + Cleaned up code style and unused views in fragment xml. - Removed deprecated expand code (more work to be done here). - Removed now-unused constants. Bug: 19372817 Change-Id: I237cf214f8f052de5fb1f41908d6012f52de994e --- res/layout/call_log_fragment.xml | 34 ++++----------------- res/layout/call_log_list_item.xml | 62 ++++++++++++++++++++++----------------- 2 files changed, 40 insertions(+), 56 deletions(-) (limited to 'res/layout') diff --git a/res/layout/call_log_fragment.xml b/res/layout/call_log_fragment.xml index c126b778b..ff0d58e00 100644 --- a/res/layout/call_log_fragment.xml +++ b/res/layout/call_log_fragment.xml @@ -28,36 +28,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone"> - - - - - + + + @@ -65,7 +40,8 @@ + android:background="@color/background_dialer_list_items" + android:padding="8dp" /> - + android:gravity="center_vertical" + card_view:cardCornerRadius="4dp" + card_view:cardBackgroundColor="@color/background_dialer_list_items"> + + android:focusable="true" /> + + android:layout_marginStart="@dimen/call_log_start_margin"> + + android:singleLine="true" /> + + android:visibility="gone" /> + + android:orientation="horizontal"> + + android:layout_gravity="center_vertical" /> + + android:singleLine="true" /> + + + android:singleLine="true" /> + + + android:visibility="gone" /> + + + + - - - + -- cgit v1.2.3