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 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:stretchColumns="1"> 20 21 <TextView 22 android:text="@string/total_storage" 23 android:gravity="left" 24 android:padding="3dip" /> 25 26 <TextView 27 android:id="@+id/totalsize" 28 android:gravity="left" 29 android:padding="3dip" /> 30 31 <View 32 android:layout_height="2dip" 33 android:background="#FF909090" /> 34 35 <TextView 36 android:layout_column="1" 37 android:gravity="left" 38 android:text="@string/available_storage" 39 android:padding="3dip" /> 40 41 <TextView 42 android:id="@+id/freesize" 43 android:gravity="left" 44 android:padding="3dip" /> 45 46 <TextView 47 android:layout_column="1" 48 android:gravity="left" 49 android:textSize="18sp" 50 android:text="@string/status" 51 android:padding="3dip" /> 52 53 <TextView 54 android:layout_column="1" 55 android:gravity="left" 56 android:textSize="18sp" 57 android:id="@+id/status" 58 android:text="@string/eat_up_storage" 59 android:padding="3dip" /> 60 61 <View 62 android:layout_height="2dip" 63 android:background="#FF909090" /> 64 65 <Button 66 android:id="@+id/button_run" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:text="@string/run_text" 70 android:layout_alignParentRight="true" /> 71 72 </TableLayout>