Revision 81fd7e13
.classpath | ||
---|---|---|
5 | 5 |
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> |
6 | 6 |
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> |
7 | 7 |
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> |
8 |
<classpathentry combineaccessrules="false" kind="src" path="/android-support-v7-appcompat"/> |
|
8 | 9 |
<classpathentry kind="output" path="bin/classes"/> |
9 | 10 |
</classpath> |
res/layout-v11/select_local_apps_list_item.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<!-- |
|
3 |
Copyright (C) 2010 The Android Open Source Project |
|
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 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
8 |
Unless required by applicable law or agreed to in writing, software |
|
9 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
10 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
11 |
See the License for the specific language governing permissions and |
|
12 |
limitations under the License. |
|
13 |
--> |
|
14 |
|
|
15 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
16 |
xmlns:tools="http://schemas.android.com/tools" |
|
17 |
android:layout_width="match_parent" |
|
18 |
android:layout_height="wrap_content" |
|
19 |
android:background="?android:attr/activatedBackgroundIndicator" |
|
20 |
android:minHeight="?android:attr/listPreferredItemHeight" |
|
21 |
android:paddingBottom="2dip" |
|
22 |
android:paddingTop="2dip" > |
|
23 |
|
|
24 |
<ImageView |
|
25 |
android:id="@+id/icon" |
|
26 |
android:layout_width="48dip" |
|
27 |
android:layout_height="48dip" |
|
28 |
android:layout_marginLeft="?attr/listPreferredItemPaddingLeft" |
|
29 |
android:layout_marginStart="?attr/listPreferredItemPaddingLeft" |
|
30 |
android:layout_marginTop="6dip" |
|
31 |
tools:ignore="ContentDescription" /> |
|
32 |
|
|
33 |
<TwoLineListItem |
|
34 |
android:layout_width="match_parent" |
|
35 |
android:layout_height="wrap_content" |
|
36 |
android:mode="twoLine" > |
|
37 |
|
|
38 |
<TextView |
|
39 |
android:id="@+id/application_label" |
|
40 |
android:layout_width="match_parent" |
|
41 |
android:layout_height="wrap_content" |
|
42 |
android:layout_marginLeft="?attr/listPreferredItemPaddingLeft" |
|
43 |
android:layout_marginStart="?attr/listPreferredItemPaddingLeft" |
|
44 |
android:layout_marginTop="6dip" |
|
45 |
android:textAppearance="?attr/textAppearanceListItem" /> |
|
46 |
|
|
47 |
<TextView |
|
48 |
android:id="@+id/package_name" |
|
49 |
android:layout_width="match_parent" |
|
50 |
android:layout_height="wrap_content" |
|
51 |
android:layout_alignStart="@+id/application_label" |
|
52 |
android:layout_below="@+id/application_label" |
|
53 |
android:textAppearance="?android:attr/textAppearanceSmall" /> |
|
54 |
</TwoLineListItem> |
|
55 |
|
|
56 |
</LinearLayout> |
res/layout/select_local_apps_list_item.xml | ||
---|---|---|
16 | 16 |
xmlns:tools="http://schemas.android.com/tools" |
17 | 17 |
android:layout_width="match_parent" |
18 | 18 |
android:layout_height="wrap_content" |
19 |
android:background="?android:attr/activatedBackgroundIndicator" |
|
20 | 19 |
android:minHeight="?android:attr/listPreferredItemHeight" |
21 | 20 |
android:paddingBottom="2dip" |
22 |
android:paddingTop="2dip" |
|
23 |
tools:ignore="NewApi" > |
|
24 |
|
|
25 |
<!-- TODO remove NewApi ignore when appcompat-v7 is in place --> |
|
21 |
android:paddingTop="2dip" > |
|
26 | 22 |
|
27 | 23 |
<ImageView |
28 | 24 |
android:id="@+id/icon" |
29 | 25 |
android:layout_width="48dip" |
30 | 26 |
android:layout_height="48dip" |
31 |
android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"
|
|
32 |
android:layout_marginStart="?android:attr/listPreferredItemPaddingLeft"
|
|
27 |
android:layout_marginLeft="?attr/listPreferredItemPaddingLeft" |
|
28 |
android:layout_marginStart="?attr/listPreferredItemPaddingLeft" |
|
33 | 29 |
android:layout_marginTop="6dip" |
34 | 30 |
tools:ignore="ContentDescription" /> |
35 | 31 |
|
... | ... | |
42 | 38 |
android:id="@+id/application_label" |
43 | 39 |
android:layout_width="match_parent" |
44 | 40 |
android:layout_height="wrap_content" |
45 |
android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"
|
|
46 |
android:layout_marginStart="?android:attr/listPreferredItemPaddingLeft"
|
|
41 |
android:layout_marginLeft="?attr/listPreferredItemPaddingLeft" |
|
42 |
android:layout_marginStart="?attr/listPreferredItemPaddingLeft" |
|
47 | 43 |
android:layout_marginTop="6dip" |
48 |
android:textAppearance="?android:attr/textAppearanceListItem" />
|
|
44 |
android:textAppearance="?attr/textAppearanceListItem" /> |
|
49 | 45 |
|
50 | 46 |
<TextView |
51 | 47 |
android:id="@+id/package_name" |
Also available in: Unified diff