1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 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<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:shrinkColumns="2, 3"> 21 22 <!-- Rows have different number of columns and content doesn't fit on 23 screen: column 4 of row 2 shrinks all of the other columns --> 24 <TableRow> 25 <TextView 26 android:text="@string/table_layout_3_star" 27 android:padding="3dip" /> 28 <TextView 29 android:text="@string/table_layout_3_open" 30 android:padding="3dip" /> 31 <TextView 32 android:text="@string/table_layout_3_open_shortcut" 33 android:padding="3dip" /> 34 </TableRow> 35 36 <TableRow> 37 <TextView 38 android:text="@string/table_layout_3_triple_star" 39 android:padding="3dip" /> 40 <TextView 41 android:text="@string/table_layout_3_save" 42 android:padding="3dip" /> 43 <TextView 44 android:text="@string/table_layout_3_save_shortcut" 45 android:padding="3dip" /> 46 <TextView 47 android:text="@string/table_layout_3_too_long" 48 android:padding="3dip" /> 49 </TableRow> 50 51 <TableRow> 52 <TextView 53 android:text="@string/table_layout_3_star" 54 android:padding="3dip" /> 55 <TextView 56 android:text="@string/table_layout_3_quit" 57 android:padding="3dip" /> 58 <TextView 59 android:text="@string/table_layout_3_quit_shortcut" 60 android:padding="3dip" /> 61 </TableRow> 62</TableLayout> 63