diff options
author | Fang Yunong <yunong@codeaurora.org> | 2016-08-08 19:59:47 +0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-08-24 08:18:41 -0600 |
commit | 72e8ce8b2b277c5b44807aa144a4de3947069c18 (patch) | |
tree | fcf9efb56f8c7107d8359e128b0a693268048f8e /res/layout | |
parent | 64e6f251372b4f4982acb63c33ad24b2ff4a6036 (diff) | |
download | android_packages_apps_Dialer-72e8ce8b2b277c5b44807aa144a4de3947069c18.tar.gz android_packages_apps_Dialer-72e8ce8b2b277c5b44807aa144a4de3947069c18.tar.bz2 android_packages_apps_Dialer-72e8ce8b2b277c5b44807aa144a4de3947069c18.zip |
VideoCall: Show video call welcome dialog
If the device supports video call, when user first
launch Dialer, show video call welcome dialog.
Change-Id: I78c11778990cb5ccf0e283e14792ca037534fecf
CRs-Fixed: 1039355
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/video_call_welcome.xml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/res/layout/video_call_welcome.xml b/res/layout/video_call_welcome.xml new file mode 100644 index 000000000..1a9af340f --- /dev/null +++ b/res/layout/video_call_welcome.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/** + * Copyright (c) 2016, The Linux Foundation. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * * Neither the name of The Linux Foundation nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + **/ +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingStart="16dip" + android:paddingEnd="16dip" + android:paddingTop="8dip" + android:paddingBottom="16dip" + android:orientation="vertical" + android:keepScreenOn="true"> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/video_call_welcome_title" + android:paddingBottom="10dip" + style="?android:attr/textAppearanceMedium" /> + <ScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/video_call_welcome_message" + android:paddingBottom="10dip" + style="?android:attr/textAppearanceSmall" /> + </ScrollView> + <CheckBox + android:id="@android:id/checkbox" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/video_call_welcome_message_repeat" /> +</LinearLayout> |