diff options
author | Yorke Lee <yorkelee@google.com> | 2015-11-10 01:38:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-11-10 01:38:34 +0000 |
commit | ab631e8a62021a1c188d301fa77f70cbae07ded6 (patch) | |
tree | 0c850ae41988fc5a59b0bf5b9c34fe8bd71a3d32 /InCallUI | |
parent | e2cc0b2a9472bb88049f29be6b7515920807c51b (diff) | |
parent | eaa08c05e1a6bfb4b6f1ba32277ddbc190d46fb3 (diff) |
Merge "Fix InCallUI NPE in landscape mode" into ub-contactsdialer-a-dev
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/res/layout-land/call_card_fragment.xml | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/InCallUI/res/layout-land/call_card_fragment.xml b/InCallUI/res/layout-land/call_card_fragment.xml index b0a534ee9..c71cf07a6 100644 --- a/InCallUI/res/layout-land/call_card_fragment.xml +++ b/InCallUI/res/layout-land/call_card_fragment.xml @@ -63,7 +63,7 @@ android:layout_width="match_parent" android:id="@+id/call_card_content"> - <ImageView android:id="@+id/photo" + <ImageView android:id="@+id/photoLarge" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="centerCrop" @@ -71,12 +71,35 @@ android:background="@color/incall_photo_background_color" android:src="@drawable/img_no_image_automirrored" /> + <!-- Call context --> + <LinearLayout + android:id="@+id/contact_context" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:orientation="vertical" + android:background="@color/incall_background_color" + android:visibility="gone"> + <TextView android:id="@+id/contactContextTitle" + android:textSize="@dimen/contact_context_title_text_size" + android:textColor="@color/contact_context_title_text_color" + android:fontFamily="sans-serif-medium" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginBottom="@dimen/contact_context_title_margin_bottom" /> + <ListView android:id="@+id/contactContextInfo" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:divider="@null" + android:dividerHeight="@dimen/contact_context_list_item_padding" /> + </LinearLayout> + </FrameLayout> <include layout="@layout/manage_conference_call_button" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignTop="@id/photo" /> + android:layout_alignTop="@id/photoLarge" /> <!-- Progress spinner, useful for indicating pending operations such as upgrade to video. --> <FrameLayout |