Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2008, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License");
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:id="@+id/object_info"
     21     android:layout_width="wrap_content"
     22     android:layout_height="wrap_content">
     23     <TableRow>
     24         <TextView android:id="@+id/name_label"
     25             android:text="@string/name_label"
     26             android:layout_gravity="right"
     27             android:layout_marginRight="8dip"
     28             style="@style/info_label" />
     29 
     30         <TextView android:id="@+id/name"
     31             style="@style/info_value" />
     32     </TableRow>
     33     <TableRow>
     34         <TextView android:id="@+id/size_label"
     35             android:text="@string/size_label"
     36             android:layout_gravity="right"
     37             android:layout_marginRight="8dip"
     38             style="@style/info_label" />
     39 
     40         <TextView android:id="@+id/size"
     41             style="@style/info_value" />
     42     </TableRow>
     43     <TableRow>
     44         <TextView android:id="@+id/format_label"
     45             android:text="@string/format_label"
     46             android:layout_gravity="right"
     47             android:layout_marginRight="8dip"
     48             style="@style/info_label" />
     49 
     50         <TextView android:id="@+id/format"
     51             style="@style/info_value" />
     52     </TableRow>
     53     <TableRow>
     54         <TextView android:id="@+id/thumb_width_label"
     55             android:text="@string/thumb_width_label"
     56             android:layout_gravity="right"
     57             android:layout_marginRight="8dip"
     58             style="@style/info_label" />
     59 
     60         <TextView android:id="@+id/thumb_width"
     61             style="@style/info_value" />
     62     </TableRow>
     63     <TableRow>
     64         <TextView android:id="@+id/thumb_height_label"
     65             android:text="@string/thumb_height_label"
     66             android:layout_gravity="right"
     67             android:layout_marginRight="8dip"
     68             style="@style/info_label" />
     69 
     70         <TextView android:id="@+id/thumb_height"
     71             style="@style/info_value" />
     72     </TableRow>
     73     <TableRow>
     74         <TextView android:id="@+id/thumb_size_label"
     75             android:text="@string/thumb_size_label"
     76             android:layout_gravity="right"
     77             android:layout_marginRight="8dip"
     78             style="@style/info_label" />
     79 
     80         <TextView android:id="@+id/thumb_size"
     81             style="@style/info_value" />
     82     </TableRow>
     83     <TableRow>
     84         <TextView android:id="@+id/width_label"
     85             android:text="@string/width_label"
     86             android:layout_gravity="right"
     87             android:layout_marginRight="8dip"
     88             style="@style/info_label" />
     89 
     90         <TextView android:id="@+id/width"
     91             style="@style/info_value" />
     92     </TableRow>
     93     <TableRow>
     94         <TextView android:id="@+id/height_label"
     95             android:text="@string/height_label"
     96             android:layout_gravity="right"
     97             android:layout_marginRight="8dip"
     98             style="@style/info_label" />
     99 
    100         <TextView android:id="@+id/height"
    101             style="@style/info_value" />
    102     </TableRow>
    103     <TableRow>
    104         <TextView android:id="@+id/depth_label"
    105             android:text="@string/depth_label"
    106             android:layout_gravity="right"
    107             android:layout_marginRight="8dip"
    108             style="@style/info_label" />
    109 
    110         <TextView android:id="@+id/depth"
    111             style="@style/info_value" />
    112     </TableRow>
    113     <TableRow>
    114         <TextView android:id="@+id/sequence_label"
    115             android:text="@string/sequence_label"
    116             android:layout_gravity="right"
    117             android:layout_marginRight="8dip"
    118             style="@style/info_label" />
    119 
    120         <TextView android:id="@+id/sequence"
    121             style="@style/info_value" />
    122     </TableRow>
    123     <TableRow>
    124         <TextView android:id="@+id/created_label"
    125             android:text="@string/created_label"
    126             android:layout_gravity="right"
    127             android:layout_marginRight="8dip"
    128             style="@style/info_label" />
    129 
    130         <TextView android:id="@+id/created"
    131             style="@style/info_value" />
    132     </TableRow>
    133     <TableRow>
    134         <TextView android:id="@+id/modified_label"
    135             android:text="@string/modified_label"
    136             android:layout_gravity="right"
    137             android:layout_marginRight="8dip"
    138             style="@style/info_label" />
    139 
    140         <TextView android:id="@+id/modified"
    141             style="@style/info_value" />
    142     </TableRow>
    143     <TableRow>
    144         <TextView android:id="@+id/keywords_label"
    145             android:text="@string/keywords_label"
    146             android:layout_gravity="right"
    147             android:layout_marginRight="8dip"
    148             style="@style/info_label" />
    149 
    150         <TextView android:id="@+id/keywords"
    151             style="@style/info_value" />
    152     </TableRow>
    153     <TableRow>
    154         <ImageView android:id="@+id/thumbnail" />
    155     </TableRow>
    156     <TableRow>
    157         <Button android:id="@+id/import_button"
    158             android:layout_width="wrap_content"
    159             android:layout_height="wrap_content"
    160             android:text="@string/import_label">
    161         </Button>
    162         <Button android:id="@+id/delete_button"
    163             android:layout_width="wrap_content"
    164             android:layout_height="wrap_content"
    165             android:text="@string/delete_label">
    166         </Button>
    167     </TableRow>
    168 </TableLayout>
    169 
    170