1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 The Android Open Source Project 3 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 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/widget" 19 android:layout_width="fill_parent" 20 android:layout_height="wrap_content" 21 > 22 23 <LinearLayout 24 android:id="@+id/block1x1" 25 android:layout_width="80dp" 26 android:layout_height="match_parent" 27 android:orientation="vertical" 28 android:gravity="center" 29 > 30 31 <TextView 32 android:id="@+id/build_info" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:gravity="center" 36 style="@style/Text.BuildInfo.Fancy" 37 android:textSize="18dip" 38 /> 39 40 <TextView 41 android:id="@+id/build_date" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:gravity="center" 45 style="@style/Text.BuildInfo.Fancy" 46 android:textSize="14dip" 47 /> 48 </LinearLayout> 49 50 <LinearLayout 51 android:layout_width="match_parent" 52 android:layout_height="match_parent" 53 android:layout_toRightOf="@id/block1x1" 54 > 55 <TextView 56 android:id="@+id/build_extra" 57 android:layout_width="match_parent" 58 android:layout_height="match_parent" 59 android:layout_marginLeft="32dp" 60 android:gravity="left|center_vertical" 61 android:minWidth="60dp" 62 style="@style/Text.BuildInfo.Fancy" 63 android:textSize="10dip" 64 android:layout_weight="1" 65 /> 66 67 <ImageView 68 android:id="@+id/platlogo" 69 android:layout_width="64dp" 70 android:layout_height="match_parent" 71 android:padding="3dp" 72 android:src="@*android:drawable/platlogo" 73 android:scaleType="centerInside" 74 android:layout_weight="0" 75 /> 76 </LinearLayout> 77</RelativeLayout> 78