diff options
author | Sandeep Kunta <skunta@codeaurora.org> | 2014-09-01 17:18:43 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2014-11-04 08:50:03 -0700 |
commit | dd7741709bc82da066efd184b14bdee828edfcd1 (patch) | |
tree | 1e42680b83e3275f8d22992c07c0c119c4d82eb7 /res/layout | |
parent | 2f9c69ccd4d536ab623aa646a888a6fde71f3f91 (diff) | |
download | packages_apps_InCallUI-dd7741709bc82da066efd184b14bdee828edfcd1.tar.gz packages_apps_InCallUI-dd7741709bc82da066efd184b14bdee828edfcd1.tar.bz2 packages_apps_InCallUI-dd7741709bc82da066efd184b14bdee828edfcd1.zip |
Add support for DSDA.
Add support to show calls from both subscriptions
in a tabbed view format to user. when ever user
swithces sub, inform telecomm service that subscription
is switched.
Conflicts:
src/com/android/incallui/CallButtonPresenter.java
Change-Id: I3bea71501ce159e189f75db58e710ffc94e8137c
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/msim_tab_sub_info.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/res/layout/msim_tab_sub_info.xml b/res/layout/msim_tab_sub_info.xml new file mode 100644 index 00000000..222fcf53 --- /dev/null +++ b/res/layout/msim_tab_sub_info.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright (c) 2013-2014, 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:id="@+id/tab_sub_info" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="horizontal" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:paddingTop="@dimen/dsda_sub_icon_marginTop" + android:orientation="vertical" > + + <ImageView + android:id="@+id/tabSubIcon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:gravity="center_vertical" + android:scaleType="centerCrop" /> + </LinearLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingTop="@dimen/dsda_sub_text_marginTop" + android:paddingLeft="@dimen/call_banner_side_padding"> + + <TextView + android:id="@+id/tabSubText" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_gravity="center_vertical" + android:gravity="center_vertical" /> + </LinearLayout> + +</LinearLayout> |