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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent">
     20     <LinearLayout
     21         android:orientation="vertical"
     22         android:layout_width="match_parent"
     23         android:layout_height="match_parent">
     24         <TableLayout
     25             android:id="@+id/menu"
     26             android:layout_width="match_parent"
     27             android:layout_height="wrap_content">
     28 
     29             <TableRow>
     30                 <TextView
     31                     android:text="@string/table_layout_9_open"
     32                     android:padding="3dip" />
     33                 <TextView
     34                     android:text="@string/table_layout_9_open_shortcut"
     35                     android:gravity="right"
     36                     android:padding="3dip" />
     37             </TableRow>
     38 
     39             <TableRow>
     40                 <TextView
     41                     android:text="@string/table_layout_9_save"
     42                     android:padding="3dip" />
     43                 <TextView
     44                     android:text="@string/table_layout_9_save_shortcut"
     45                     android:gravity="right"
     46                     android:padding="3dip" />
     47             </TableRow>
     48 
     49             <TableRow>
     50                 <TextView
     51                     android:text="@string/table_layout_9_save_as"
     52                     android:padding="3dip" />
     53                 <TextView
     54                     android:text="@string/table_layout_9_save_as_shortcut"
     55                     android:gravity="right"
     56                     android:padding="3dip" />
     57             </TableRow>
     58 
     59             <TableRow>
     60                 <TextView
     61                     android:text="@string/table_layout_9_save_all"
     62                     android:padding="3dip" />
     63                 <TextView
     64                     android:text="@string/table_layout_9_save_all_shortcut"
     65                     android:gravity="right"
     66                     android:padding="3dip" />
     67             </TableRow>
     68 
     69             <TableRow>
     70                 <TextView
     71                     android:text="@string/table_layout_9_import"
     72                     android:padding="3dip" />
     73             </TableRow>
     74 
     75             <TableRow>
     76                 <TextView
     77                     android:text="@string/table_layout_9_export"
     78                     android:padding="3dip" />
     79                 <TextView
     80                     android:text="@string/table_layout_9_export_shortcut"
     81                     android:gravity="right"
     82                     android:padding="3dip" />
     83             </TableRow>
     84         </TableLayout>
     85 
     86         <Button
     87             android:id="@+id/toggle"
     88             android:layout_width="wrap_content"
     89             android:layout_height="wrap_content"
     90             android:text="@string/table_layout_9_toggle_shrink" />
     91     </LinearLayout>
     92 </ScrollView>
     93