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 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layoutAnimation="@anim/layout_animation_table"
     19     android:animationCache="false"
     20     android:clipToPadding="false"
     21     android:padding="12dp"
     22     android:layout_width="match_parent"
     23     android:layout_height="match_parent"
     24     android:stretchColumns="1">
     25 
     26     <TableRow
     27         android:layoutAnimation="@anim/layout_animation_row_right_slide">
     28         <TextView
     29             android:gravity="right"
     30             android:text="@string/layout_animation_name" />
     31         <EditText />
     32     </TableRow>
     33 
     34     <TableRow
     35         android:layoutAnimation="@anim/layout_animation_row_left_slide">
     36         <TextView
     37             android:gravity="right"
     38             android:text="@string/layout_animation_lastname" />
     39         <EditText />
     40     </TableRow>
     41 
     42     <TableRow
     43         android:layoutAnimation="@anim/layout_animation_row_right_slide">
     44         <TextView
     45             android:gravity="right"
     46             android:text="@string/layout_animation_phone" />
     47         <EditText />
     48     </TableRow>
     49 
     50     <TableRow
     51         android:layoutAnimation="@anim/layout_animation_row_left_slide">
     52         <TextView
     53             android:gravity="right"
     54             android:text="@string/layout_animation_address" />
     55         <EditText android:lines="3" />
     56     </TableRow>
     57 </TableLayout>
     58