1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /** 4 * Copyright (C) 2009 Google Inc. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 20 <!-- The title area at the top of the settings pane --> 21 22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 23 android:id="@+id/title_area" 24 android:orientation="horizontal"> 25 26 <ImageView android:id="@+id/provider_icon" 27 android:layout_width="48dip" 28 android:layout_height="48dip" 29 android:layout_margin="5dip" 30 android:layout_gravity="center_vertical" 31 android:contentDescription="@null" /> 32 33 <LinearLayout 34 android:layout_width="0dip" 35 android:layout_weight="1" 36 android:layout_height="wrap_content" 37 android:orientation="vertical"> 38 39 <TextView 40 android:id="@+id/user_id" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:textAppearance="?android:attr/textAppearanceMedium" 44 android:textColor="?android:attr/textColorTertiary" 45 android:textStyle="bold" 46 android:singleLine="true" 47 android:ellipsize="end" 48 android:gravity="center_vertical" 49 android:layout_marginTop="5dip"/> 50 51 <TextView 52 android:id="@+id/provider_id" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:textAppearance="?android:attr/textAppearanceSmall" 56 android:textColor="?android:attr/textColorTertiary" 57 android:singleLine="true" 58 android:ellipsize="end" 59 android:layout_gravity="bottom" 60 android:layout_marginBottom="5dip"/> 61 62 </LinearLayout> 63 64 </LinearLayout> 65