Wenyi Wang | c082a63 | 2015-11-03 17:26:54 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 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 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
guanxiongliu | 18902fa | 2016-08-19 14:43:43 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
guanxiongliu | cac36e7 | 2016-07-22 10:38:49 -0700 | [diff] [blame] | 19 | android:layout_height="72dp" |
Wenyi Wang | c082a63 | 2015-11-03 17:26:54 -0800 | [diff] [blame] | 20 | android:orientation="horizontal"> |
| 21 | <ImageView android:id="@android:id/icon" |
| 22 | android:layout_width="@dimen/detail_network_icon_size" |
| 23 | android:layout_height="@dimen/detail_network_icon_size" |
guanxiongliu | c190c06 | 2016-07-27 22:42:22 -0700 | [diff] [blame] | 24 | android:layout_marginStart="24dp" |
guanxiongliu | cac36e7 | 2016-07-22 10:38:49 -0700 | [diff] [blame] | 25 | android:layout_marginEnd="16dp" |
Wenyi Wang | c082a63 | 2015-11-03 17:26:54 -0800 | [diff] [blame] | 26 | android:layout_gravity="center_vertical" /> |
| 27 | |
| 28 | <LinearLayout |
| 29 | android:layout_width="wrap_content" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:layout_weight="1" |
| 32 | android:orientation="vertical" |
| 33 | android:layout_gravity="center_vertical"> |
| 34 | |
| 35 | <TextView android:id="@android:id/text1" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:layout_marginRight="8dip" |
| 39 | android:layout_marginEnd="8dip" |
guanxiongliu | cac36e7 | 2016-07-22 10:38:49 -0700 | [diff] [blame] | 40 | android:textSize="16sp" |
guanxiongliu | c190c06 | 2016-07-27 22:42:22 -0700 | [diff] [blame] | 41 | android:textColor="@color/contacts_text_color" |
Wenyi Wang | c082a63 | 2015-11-03 17:26:54 -0800 | [diff] [blame] | 42 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 43 | android:singleLine="true" |
| 44 | android:ellipsize="end"/> |
| 45 | |
| 46 | <TextView android:id="@android:id/text2" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
guanxiongliu | 18902fa | 2016-08-19 14:43:43 -0700 | [diff] [blame] | 49 | android:layout_marginEnd="24dp" |
guanxiongliu | cac36e7 | 2016-07-22 10:38:49 -0700 | [diff] [blame] | 50 | android:textSize="14sp" |
Wenyi Wang | c082a63 | 2015-11-03 17:26:54 -0800 | [diff] [blame] | 51 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 52 | android:textColor="?android:attr/textColorSecondary" |
| 53 | android:singleLine="true" |
| 54 | android:ellipsize="end"/> |
| 55 | </LinearLayout> |
| 56 | </LinearLayout> |