Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / activity_list_item.xml
blobd639aa0041b8db6674e3683fa7cb74b2808ba041
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
11 **     http://www.apache.org/licenses/LICENSE-2.0
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.
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="match_parent"
22     android:layout_height="wrap_content"
23     android:paddingTop="1dip"
24     android:paddingBottom="1dip"
25     android:paddingStart="8dip"
26     android:paddingEnd="8dip">
28     <ImageView android:id="@+id/icon"
29         android:layout_width="24dip"
30         android:layout_height="24dip"/>
32     <TextView android:id="@android:id/text1"
33         android:layout_width="wrap_content"
34         android:layout_height="wrap_content"
35         android:layout_gravity="center_horizontal"
36         android:paddingStart="?android:attr/listPreferredItemPaddingStart" />
37 </LinearLayout>