summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-03-31 09:55:54 -0700
committerYorke Lee <yorkelee@google.com>2015-04-13 15:35:12 -0700
commita77ad8ddb8c1688c1290773467ba454c9a225249 (patch)
treefe1783cb94db82e393da350b72199b7c4214b07e /res/layout-land
parentcb74fc090246c18ea644862dc6478b04182fdd1d (diff)
downloadandroid_packages_apps_InCallUI-a77ad8ddb8c1688c1290773467ba454c9a225249.tar.gz
android_packages_apps_InCallUI-a77ad8ddb8c1688c1290773467ba454c9a225249.tar.bz2
android_packages_apps_InCallUI-a77ad8ddb8c1688c1290773467ba454c9a225249.zip
Video calling landscape changes to match specs
* Call card has 4dp corners, and is 90% visible * Margins for call card * Call buttons are center aligned with end call button * Remote surface is always center aligned, tapping call card slides it in and out * Status bar is black Bug: 19668216 Change-Id: Ifea27faa5f8ff32f6be13e777ca70aa4d0c7727e
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/call_card_fragment.xml19
1 files changed, 11 insertions, 8 deletions
diff --git a/res/layout-land/call_card_fragment.xml b/res/layout-land/call_card_fragment.xml
index fb880e31..edce7b23 100644
--- a/res/layout-land/call_card_fragment.xml
+++ b/res/layout-land/call_card_fragment.xml
@@ -28,22 +28,25 @@
android:layout_height="match_parent"
android:orientation="vertical"
android:elevation="@dimen/primary_call_elevation"
- android:background="@color/incall_call_banner_background_color"
+ android:background="@drawable/rounded_call_card_background"
android:paddingTop="@dimen/call_banner_primary_call_container_top_padding"
android:clipChildren="false"
- android:clipToPadding="false" >
+ android:clipToPadding="false"
+ android:alpha="0.9"
+ android:layout_margin="10dp">
<include layout="@layout/primary_call_info" />
- <fragment android:name="com.android.incallui.CallButtonFragment"
- android:id="@+id/callButtonFragment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
-
<FrameLayout
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="match_parent" >
+ <fragment android:name="com.android.incallui.CallButtonFragment"
+ android:id="@+id/callButtonFragment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:layout_marginBottom="@dimen/call_buttons_bottom_margin" />
<!-- Secondary "Call info" block, for the background ("on hold") call. -->
<include layout="@layout/secondary_call_info"
android:layout_width="match_parent"