1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3Copyright 2015 The Android Open Source Project 4 5Licensed under the Apache License, Version 2.0 (the "License"); 6you may not use this file except in compliance with the License. 7You may obtain a copy of the License at 8 9http://www.apache.org/licenses/LICENSE-2.0 10 11Unless required by applicable law or agreed to in writing, software 12distributed under the License is distributed on an "AS IS" BASIS, 13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14See the License for the specific language governing permissions and 15limitations under the License. 16--> 17 18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="horizontal" 22 android:padding="10dip"> 23 24 <ImageView 25 android:id="@+id/pkg_icon" 26 android:layout_width="wrap_content" 27 android:layout_height="match_parent"/> 28 29 <TextView 30 android:id="@+id/pkg_name" 31 android:layout_width="wrap_content" 32 android:layout_height="match_parent" 33 android:layout_centerVertical="true" 34 android:paddingLeft="10dip" 35 android:layout_toRightOf="@id/pkg_icon"/> 36 37</RelativeLayout>