1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<!-- Copyright (C) 2013 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" |
18 |
android:id="@+id/list_item" |
19 |
android:layout_width="match_parent" |
20 |
android:layout_height="?attr/dropdownListPreferredItemHeight" |
21 |
android:paddingLeft="16dip" |
22 |
android:paddingRight="16dip" |
23 |
android:minWidth="196dip" |
24 |
android:orientation="vertical"> |
25 |
|
26 |
<LinearLayout |
27 |
android:layout_width="wrap_content" |
28 |
android:layout_height="match_parent" |
29 |
android:duplicateParentState="true" > |
30 |
|
31 |
<ImageView |
32 |
android:id="@+id/icon" |
33 |
android:layout_width="32dip" |
34 |
android:layout_height="32dip" |
35 |
android:layout_gravity="center_vertical" |
36 |
android:layout_marginRight="8dip" |
37 |
android:duplicateParentState="true"/> |
38 |
|
39 |
<TextView |
40 |
android:id="@+id/title" |
41 |
android:layout_width="wrap_content" |
42 |
android:layout_height="wrap_content" |
43 |
android:layout_gravity="center_vertical" |
44 |
android:textAppearance="?attr/textAppearanceLargePopupMenu" |
45 |
android:duplicateParentState="true" |
46 |
android:singleLine="true" |
47 |
android:ellipsize="marquee" |
48 |
android:fadingEdge="horizontal"/> |
49 |
|
50 |
</LinearLayout> |
51 |
|
52 |
</LinearLayout><!-- From: file:/usr/local/google/buildbot/repo_clients/https___googleplex-android.googlesource.com_a_platform_manifest.git/lmp-mr1-supportlib-release/frameworks/support/v7/appcompat/res/layout/abc_activity_chooser_view_list_item.xml --> |