Home | History | Annotate | Download | only in layout
      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 <!-- Stretch some columns -->
     18 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     android:stretchColumns="1">
     22 
     23     <TableRow>
     24         <TextView
     25             android:layout_column="1"
     26             android:text="@string/table_layout_6_open"
     27             android:padding="3dip" />
     28         <TextView
     29             android:text="@string/table_layout_6_open_shortcut"
     30             android:gravity="right"
     31             android:padding="3dip" />
     32     </TableRow>
     33 
     34     <TableRow>
     35         <TextView
     36             android:layout_column="1"
     37             android:text="@string/table_layout_6_save"
     38             android:padding="3dip" />
     39         <TextView
     40             android:text="@string/table_layout_6_save_shortcut"
     41             android:gravity="right"
     42             android:padding="3dip" />
     43     </TableRow>
     44 
     45     <TableRow>
     46         <TextView
     47             android:layout_column="1"
     48             android:text="@string/table_layout_6_save_as"
     49             android:padding="3dip" />
     50         <TextView
     51             android:text="@string/table_layout_6_save_as_shortcut"
     52             android:gravity="right"
     53             android:padding="3dip" />
     54     </TableRow>
     55 
     56     <View
     57         android:layout_height="2dip"
     58         android:background="#FF909090" />
     59 
     60     <TableRow>
     61         <TextView
     62             android:text="@string/table_layout_6_x"
     63             android:padding="3dip" />
     64         <TextView
     65             android:text="@string/table_layout_6_import"
     66             android:padding="3dip" />
     67     </TableRow>
     68 
     69     <TableRow>
     70         <TextView
     71             android:text="@string/table_layout_6_x"
     72             android:padding="3dip" />
     73         <TextView
     74             android:text="@string/table_layout_6_export"
     75             android:padding="3dip" />
     76         <TextView
     77             android:text="@string/table_layout_6_export_shortcut"
     78             android:gravity="right"
     79             android:padding="3dip" />
     80     </TableRow>
     81 
     82     <View
     83         android:layout_height="2dip"
     84         android:background="#FF909090" />
     85 
     86     <TableRow>
     87         <TextView
     88             android:layout_column="1"
     89             android:text="@string/table_layout_6_quit"
     90             android:padding="3dip" />
     91     </TableRow>
     92 </TableLayout>
     93