Nancy Chen | 4722861 | 2014-10-08 12:45:34 -0700 | [diff] [blame] | 1 | <?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 Chen | 857cc00 | 2014-11-03 17:08:47 -0800 | [diff] [blame] | 23 | android:padding="8dp" > |
Nancy Chen | 4722861 | 2014-10-08 12:45:34 -0700 | [diff] [blame] | 24 | |
| 25 | <ImageView android:id="@+id/icon" |
| 26 | android:layout_width="48dp" |
| 27 | android:layout_height="48dp" |
Nancy Chen | 4722861 | 2014-10-08 12:45:34 -0700 | [diff] [blame] | 28 | android:scaleType="center" /> |
| 29 | |
Nancy Chen | 857cc00 | 2014-11-03 17:08:47 -0800 | [diff] [blame] | 30 | <LinearLayout |
| 31 | android:id="@+id/text" |
Nancy Chen | 4722861 | 2014-10-08 12:45:34 -0700 | [diff] [blame] | 32 | android:gravity="start|center_vertical" |
| 33 | android:layout_marginLeft="8dp" |
| 34 | android:layout_width="0dp" |
| 35 | android:layout_weight="1" |
Nancy Chen | 857cc00 | 2014-11-03 17:08:47 -0800 | [diff] [blame] | 36 | 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 Chen | 4722861 | 2014-10-08 12:45:34 -0700 | [diff] [blame] | 52 | </view> |