blob: 0ba4336c8761a48659963dccf5e2b10cdbba7dbc [file] [log] [blame]
Nancy Chen47228612014-10-08 12:45:34 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!-- Layout of a single item in the InCallUI Account Chooser Dialog. -->
18<view class="com.android.contacts.common.widget.ActivityTouchLinearLayout"
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:orientation="horizontal"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
Nancy Chen857cc002014-11-03 17:08:47 -080023 android:padding="8dp" >
Nancy Chen47228612014-10-08 12:45:34 -070024
25 <ImageView android:id="@+id/icon"
26 android:layout_width="48dp"
27 android:layout_height="48dp"
Nancy Chen47228612014-10-08 12:45:34 -070028 android:scaleType="center" />
29
Nancy Chen857cc002014-11-03 17:08:47 -080030 <LinearLayout
31 android:id="@+id/text"
Nancy Chen47228612014-10-08 12:45:34 -070032 android:gravity="start|center_vertical"
33 android:layout_marginLeft="8dp"
34 android:layout_width="0dp"
35 android:layout_weight="1"
Nancy Chen857cc002014-11-03 17:08:47 -080036 android:layout_height="match_parent"
37 android:orientation="vertical" >
38 <TextView android:id="@+id/label"
39 android:textAppearance="?android:attr/textAppearanceMedium"
40 android:textColor="@color/dialtacts_primary_text_color"
41 android:includeFontPadding="false"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content" />
44 <TextView android:id="@+id/number"
45 android:textAppearance="?android:attr/textAppearanceSmall"
46 android:includeFontPadding="false"
47 android:layout_width="match_parent"
48 android:layout_height="wrap_content"
49 android:visibility="gone" />
50 </LinearLayout>
51
Nancy Chen47228612014-10-08 12:45:34 -070052</view>