1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* apps/common/assets/default/default/skins/StatusBar.xml 4 ** 5 ** Copyright 2010, 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 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 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. 18 */ 19 --> 20 21 <RelativeLayout 22 xmlns:android="http://schemas.android.com/apk/res/android" 23 android:layout_height="match_parent" 24 android:layout_width="match_parent" 25 android:background="@*android:drawable/dialog_full_holo_dark" 26 > 27 <TextView 28 android:id="@+id/description" 29 android:textAppearance="@android:style/TextAppearance.Small" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:gravity="center" 33 android:textStyle="bold" 34 android:maxLines="1" 35 android:layout_alignParentBottom="true" 36 /> 37 38 <FrameLayout 39 android:id="@+id/preview" 40 android:layout_height="match_parent" 41 android:layout_width="match_parent" 42 android:layout_above="@+id/description" 43 android:descendantFocusability="blocksDescendants" 44 > 45 <ImageView 46 android:id="@+id/icon" 47 android:layout_width="match_parent" 48 android:layout_height="match_parent" 49 android:scaleType="centerInside" 50 android:visibility="gone" 51 /> 52 <TextView 53 android:id="@+id/alt" 54 android:layout_width="match_parent" 55 android:layout_height="match_parent" 56 android:textAppearance="@android:style/TextAppearance.Large" 57 android:gravity="center" 58 android:visibility="gone" 59 /> 60 </FrameLayout> 61 </RelativeLayout> 62