summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-07-28 17:21:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-26 01:02:19 +0000
commitd8e5542a7ddba2e107b7f56b9761db1db942c722 (patch)
tree226e3dd2461336fb537afd69fd685f1beaf3e974 /res/layout
parent72d59616b7a491d41c9b127b777c63fe315ecd06 (diff)
parent1970263aad3e26c0e36dbe3783bef5d9f0ff29f0 (diff)
Merge "Add account label to call details if appropriate" into lmp-dev
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/call_detail.xml15
-rw-r--r--res/layout/call_detail_history_header.xml1
2 files changed, 15 insertions, 1 deletions
diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml
index f08531b0c..45431a215 100644
--- a/res/layout/call_detail.xml
+++ b/res/layout/call_detail.xml
@@ -35,7 +35,6 @@
android:paddingBottom="@dimen/call_detail_bottom_margin"
android:baselineAligned="false"
android:orientation="horizontal"
- android:gravity="center_vertical"
android:translationZ="@dimen/call_detail_translation_z"
android:focusable="true"
android:background="@color/background_dialer_white" >
@@ -45,6 +44,8 @@
android:layout_width="@dimen/contact_photo_size"
android:layout_height="@dimen/contact_photo_size"
android:layout_alignParentStart="true"
+ android:layout_gravity="top"
+ android:layout_marginTop="3dp"
android:focusable="true"
/>
@@ -61,6 +62,8 @@
android:layout_height="wrap_content"
android:textColor="?attr/call_log_primary_text_color"
android:textSize="@dimen/call_log_primary_text_size"
+ android:includeFontPadding="false"
+ android:layout_marginBottom="5dp"
android:singleLine="true"
/>
<TextView
@@ -69,8 +72,18 @@
android:layout_height="wrap_content"
android:textColor="?attr/call_log_secondary_text_color"
android:textSize="@dimen/call_log_secondary_text_size"
+ android:layout_marginBottom="1dp"
android:singleLine="true"
/>
+ <TextView
+ android:id="@+id/phone_account_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="?attr/call_log_secondary_text_color"
+ android:textSize="@dimen/call_log_secondary_text_size"
+ android:singleLine="true"
+ android:visibility="gone"
+ />
</LinearLayout>
</LinearLayout>
diff --git a/res/layout/call_detail_history_header.xml b/res/layout/call_detail_history_header.xml
index b4b63fb35..04d406fcf 100644
--- a/res/layout/call_detail_history_header.xml
+++ b/res/layout/call_detail_history_header.xml
@@ -20,6 +20,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/call_detail_header_top_margin"
+ android:paddingBottom="@dimen/call_detail_header_bottom_margin"
android:paddingStart="@dimen/call_detail_horizontal_margin"
android:textColor="?attr/call_log_secondary_text_color"
android:textSize="@dimen/call_log_secondary_text_size"