blob: 05f2ae5a2a7fb29e30bfb2ed84d323aead682597 [file] [log] [blame]
Chiao Chengfd6d5f82012-12-04 15:44:17 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<!--
18 List item in the pop-up window that appears when tapping a contact's photo
Brian Attwell119c1ab2014-10-09 10:51:09 -070019 in the contact editor. This is similar to the framework's select_dialog_item_material.xml layout
20 except the text appearance is medium and the padding is set to match the material spec.
Chiao Chengfd6d5f82012-12-04 15:44:17 -080021-->
Marcus Hagerott8636d1e2016-10-27 19:14:12 -070022<LinearLayout
23 xmlns:android="http://schemas.android.com/apk/res/android"
Chiao Chengfd6d5f82012-12-04 15:44:17 -080024 android:layout_width="match_parent"
yuichiro fujiwaraf9bb75f2017-06-27 18:59:16 +090025 android:layout_height="wrap_content"
26 android:minHeight="56dp"
Marcus Hagerott8636d1e2016-10-27 19:14:12 -070027 android:orientation="vertical"
28 android:paddingBottom="8dp"
29 android:paddingEnd="24dp"
30 android:paddingStart="24dp"
31 android:paddingTop="8dp">
32
33 <TextView
34 android:id="@+id/primary_text"
35 android:layout_width="match_parent"
36 android:layout_height="0dp"
37 android:layout_weight="1"
38 android:ellipsize="marquee"
39 android:gravity="start|center_vertical"
40 android:textAlignment="viewStart"
41 android:textAppearance="?android:textAppearanceListItem"
42 android:textSize="16sp"/>
43
44 <TextView
45 android:id="@+id/secondary_text"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:ellipsize="marquee"
49 android:gravity="center_vertical|start"
50 android:textAlignment="viewStart"
51 android:textAppearance="?android:textAppearanceListItemSecondary"
52 android:textColor="?android:textColorSecondary"
53 />
54</LinearLayout>