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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:orientation="vertical"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent">
     21     <TableLayout
     22         android:id="@+id/menu"
     23         android:layout_width="match_parent"
     24         android:layout_height="wrap_content"
     25         android:stretchColumns="1"
     26         android:collapseColumns="2">
     27 
     28         <TableRow>
     29             <TextView
     30                 android:layout_column="1"
     31                 android:text="@string/table_layout_7_open"
     32                 android:padding="3dip" />
     33             <TextView
     34                 android:text="@string/table_layout_7_open_shortcut"
     35                 android:gravity="right"
     36                 android:padding="3dip" />
     37         </TableRow>
     38 
     39         <TableRow>
     40             <TextView
     41                 android:layout_column="1"
     42                 android:text="@string/table_layout_7_save"
     43                 android:padding="3dip" />
     44             <TextView
     45                 android:text="@string/table_layout_7_save_shortcut"
     46                 android:gravity="right"
     47                 android:padding="3dip" />
     48         </TableRow>
     49 
     50         <TableRow>
     51             <TextView
     52                 android:layout_column="1"
     53                 android:text="@string/table_layout_7_save_as"
     54                 android:padding="3dip" />
     55             <TextView
     56                 android:text="@string/table_layout_7_save_as_shortcut"
     57                 android:gravity="right"
     58                 android:padding="3dip" />
     59         </TableRow>
     60 
     61         <View
     62             android:layout_height="2dip"
     63             android:background="#FF909090" />
     64 
     65         <TableRow>
     66             <TextView
     67                 android:text="@string/table_layout_7_x"
     68                 android:padding="3dip" />
     69             <TextView
     70                 android:text="@string/table_layout_7_import"
     71                 android:padding="3dip" />
     72         </TableRow>
     73 
     74         <TableRow>
     75             <TextView
     76                 android:text="@string/table_layout_7_x"
     77                 android:padding="3dip" />
     78             <TextView
     79                 android:text="@string/table_layout_7_export"
     80                 android:padding="3dip" />
     81             <TextView
     82                 android:text="@string/table_layout_7_export_shortcut"
     83                 android:gravity="right"
     84                 android:padding="3dip" />
     85         </TableRow>
     86 
     87         <View
     88             android:layout_height="2dip"
     89             android:background="#FF909090" />
     90     </TableLayout>
     91 
     92     <LinearLayout
     93         android:layout_width="wrap_content"
     94         android:layout_height="wrap_content">
     95         <Button
     96             android:id="@+id/toggle2"
     97             android:layout_width="wrap_content"
     98             android:layout_height="wrap_content"
     99             android:text="@string/table_layout_7_toggle_checkmarks" />
    100         <Button
    101             android:id="@+id/toggle1"
    102             android:layout_width="wrap_content"
    103             android:layout_height="wrap_content"
    104             android:text="@string/table_layout_7_toggle_shortcuts" />
    105     </LinearLayout>
    106 </LinearLayout>
    107