[LayoutAnimation7.java]
public class LayoutAnimation7 extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_animation_7);
}
}
[layout_animation_7.xml]
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layoutAnimation="@anim/layout_animation_table"
android:animationCache="false"
android:clipToPadding="false"
android:padding="12dp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow
android:layoutAnimation="@anim/layout_animation_row_right_slide">
<TextView
android:gravity="right"
android:text="@string/layout_animation_name" />
<EditText />
</TableRow>
<TableRow
android:layoutAnimation="@anim/layout_animation_row_left_slide">
<TextView
android:gravity="right"
android:text="@string/layout_animation_lastname" />
<EditText />
</TableRow>
<TableRow
android:layoutAnimation="@anim/layout_animation_row_right_slide">
<TextView
android:gravity="right"
android:text="@string/layout_animation_phone" />
<EditText />
</TableRow>
<TableRow
android:layoutAnimation="@anim/layout_animation_row_left_slide">
<TextView
android:gravity="right"
android:text="@string/layout_animation_address" />
<EditText android:lines="3" />
</TableRow>
</TableLayout>
'old > API_Demo' 카테고리의 다른 글
Views_Layout_Linear Layout_Vertical (0) | 2010.04.26 |
---|---|
Views_Layout_BaseLine (0) | 2010.04.26 |
Views_Layout Animation_Wave Scale (0) | 2010.04.26 |
Views_Layout Animation_Grid Direction (0) | 2010.04.26 |
Views_Layout Animation_Randomize (0) | 2010.04.26 |