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:text="@string/table_layout_5_open"
     26             android:padding="3dip" />
     27         <TextView
     28             android:text="@string/table_layout_5_open_shortcut"
     29             android:gravity="right"
     30             android:padding="3dip" />
     31     </TableRow>
     32 
     33     <TableRow>
     34         <TextView
     35             android:text="@string/table_layout_5_save"
     36             android:padding="3dip" />
     37         <TextView
     38             android:text="@string/table_layout_5_save_shortcut"
     39             android:gravity="right"
     40             android:padding="3dip" />
     41     </TableRow>
     42 
     43     <TableRow>
     44         <TextView
     45             android:text="@string/table_layout_5_save_as"
     46             android:padding="3dip" />
     47         <TextView
     48             android:text="@string/table_layout_5_save_as_shortcut"
     49             android:gravity="right"
     50             android:padding="3dip" />
     51     </TableRow>
     52 
     53     <View
     54         android:layout_height="2dip"
     55         android:background="#FF909090" />
     56 
     57     <TableRow>
     58         <TextView
     59             android:text="@string/table_layout_5_import"
     60             android:padding="3dip" />
     61     </TableRow>
     62 
     63     <TableRow>
     64         <TextView
     65             android:text="@string/table_layout_5_export"
     66             android:padding="3dip" />
     67         <TextView
     68             android:text="@string/table_layout_5_export_shortcut"
     69             android:gravity="right"
     70             android:padding="3dip" />
     71     </TableRow>
     72 
     73     <View
     74         android:layout_height="2dip"
     75         android:background="#FF909090" />
     76 
     77     <TableRow>
     78         <TextView
     79             android:text="@string/table_layout_5_quit"
     80             android:padding="3dip" />
     81     </TableRow>
     82 </TableLayout>
     83