blob: ae9172603327a82d53e80620c9330ca3e5a8e7ba [file] [log] [blame]
Wenyi Wangc082a632015-11-03 17:26:54 -08001<?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"
guanxiongliu18902fa2016-08-19 14:43:43 -070018 android:layout_width="match_parent"
guanxiongliucac36e72016-07-22 10:38:49 -070019 android:layout_height="72dp"
Wenyi Wangc082a632015-11-03 17:26:54 -080020 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"
guanxiongliuc190c062016-07-27 22:42:22 -070024 android:layout_marginStart="24dp"
guanxiongliucac36e72016-07-22 10:38:49 -070025 android:layout_marginEnd="16dp"
Wenyi Wangc082a632015-11-03 17:26:54 -080026 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"
guanxiongliucac36e72016-07-22 10:38:49 -070040 android:textSize="16sp"
guanxiongliuc190c062016-07-27 22:42:22 -070041 android:textColor="@color/contacts_text_color"
Wenyi Wangc082a632015-11-03 17:26:54 -080042 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"
guanxiongliu18902fa2016-08-19 14:43:43 -070049 android:layout_marginEnd="24dp"
guanxiongliucac36e72016-07-22 10:38:49 -070050 android:textSize="14sp"
Wenyi Wangc082a632015-11-03 17:26:54 -080051 android:textAppearance="?android:attr/textAppearanceSmall"
52 android:textColor="?android:attr/textColorSecondary"
53 android:singleLine="true"
54 android:ellipsize="end"/>
55 </LinearLayout>
56</LinearLayout>