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 32 <LinearLayout 33 android:layout_width="0dip" 34 android:layout_weight="1" 35 android:layout_height="wrap_content" 36 android:orientation="vertical"> 37 38 <TextView 39 android:id="@+id/user_id" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:textAppearance="?android:attr/textAppearanceMedium" 43 android:textColor="?android:attr/textColorTertiary" 44 android:textStyle="bold" 45 android:singleLine="true" 46 android:ellipsize="end" 47 android:gravity="center_vertical" 48 android:layout_marginTop="5dip"/> 49 50 <TextView 51 android:id="@+id/provider_id" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:textAppearance="?android:attr/textAppearanceSmall" 55 android:textColor="?android:attr/textColorTertiary" 56 android:singleLine="true" 57 android:ellipsize="end" 58 android:layout_gravity="bottom" 59 android:layout_marginBottom="5dip"/> 60 61 </LinearLayout> 62 63 </LinearLayout> 64