resolve_list_item.xml revision 9066cfe9886ac131c34d59ed0e2d287b0e3c0087
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/res/any/layout/resolve_list_item.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21    android:gravity="center_vertical"
22    android:orientation="horizontal"
23    android:minHeight="?android:attr/listPreferredItemHeight"
24    android:layout_height="wrap_content"
25    android:layout_width="fill_parent"
26    android:paddingLeft="14dip"
27    android:paddingRight="15dip">
28
29    <!-- Activity icon when presenting dialog -->
30    <ImageView android:id="@+id/icon"
31        android:layout_width="@android:dimen/app_icon_size"
32        android:layout_height="@android:dimen/app_icon_size"
33        android:scaleType="fitCenter" />
34
35    <LinearLayout
36        android:orientation="vertical"
37        android:gravity="center_vertical"
38        android:layout_width="wrap_content"
39        android:layout_height="wrap_content" >
40        <!-- Activity name -->
41        <TextView android:id="@android:id/text1"
42            android:textAppearance="?android:attr/textAppearanceLargeInverse"
43            android:layout_width="wrap_content"
44            android:layout_height="wrap_content"
45            android:paddingLeft="6dip" />
46        <!-- Extended activity info to distinguish between duplicate activity names -->
47        <TextView android:id="@android:id/text2"
48            android:textAppearance="?android:attr/textAppearanceMediumInverse"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:paddingLeft="6dip" />
52    </LinearLayout>
53</LinearLayout>
54
55