From e177fe610d3f9725d6b7c66bfe25823efcd15fe6 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 5 Jun 2015 13:01:09 -0700 Subject: Add call button to details, increase hit area. + Add call back button in call details. + Increase touch target size of call back button. + Simplify tint styling and layouts. - Delete asset which was duplicate of one in ContactsCommon. Bug: 18331084 Bug: 21659613 Change-Id: Icbd5f66a294f1215dc2056e7f7aece2129af5630 --- res/layout/call_detail.xml | 155 ++++++++++++++++++++------------------ res/layout/call_log_list_item.xml | 8 +- 2 files changed, 85 insertions(+), 78 deletions(-) (limited to 'res/layout') diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml index c07785159..abc0fbb70 100644 --- a/res/layout/call_detail.xml +++ b/res/layout/call_detail.xml @@ -13,91 +13,98 @@ See the License for the specific language governing permissions and limitations under the License. --> - + android:layout_height="match_parent" + android:orientation="vertical" + android:layout_alignParentStart="true" + android:layout_alignParentTop="true" + android:background="@color/background_dialer_call_log" > + - + android:layout_height="wrap_content" + android:paddingStart="@dimen/call_detail_horizontal_margin" + android:paddingTop="@dimen/call_detail_top_margin" + android:paddingBottom="@dimen/call_detail_bottom_margin" + android:baselineAligned="false" + android:orientation="horizontal" + android:translationZ="@dimen/call_detail_translation_z" + android:focusable="true" + android:background="@color/background_dialer_white" > + + + + android:layout_weight="1" + android:orientation="vertical" + android:gravity="center_vertical" + android:layout_marginStart="@dimen/call_detail_horizontal_margin"> - + - - - - - - + android:textColor="?attr/call_log_secondary_text_color" + android:textSize="@dimen/call_log_secondary_text_size" + android:layout_marginBottom="1dp" + android:singleLine="true" /> + + - - + + - + + + + + diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml index af8cb8b03..7fce595a8 100644 --- a/res/layout/call_log_list_item.xml +++ b/res/layout/call_log_list_item.xml @@ -138,14 +138,14 @@ -- cgit v1.2.3