Project

General

Profile

Download (1.71 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / predeformlayout.xml @ c1f047b9

1 59835a0a Leszek Koltunski
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5
    android:gravity="center_horizontal"
6
    android:orientation="vertical" >
7
8 4b7c432e Leszek Koltunski
    <org.distorted.examples.predeform.PredeformSurfaceView
9
        android:id="@+id/predeformSurfaceView"
10 59835a0a Leszek Koltunski
        android:layout_width="match_parent"
11
        android:layout_height="0dp"
12
        android:layout_weight="1.00" />
13
14
    <LinearLayout
15
        android:id="@+id/linearLayout"
16
        android:layout_width="fill_parent"
17
        android:layout_height="wrap_content"
18
        android:gravity="center|fill_horizontal"
19
        android:orientation="horizontal"
20
        android:background="@color/blue">
21
22
        <TextView
23 4b7c432e Leszek Koltunski
            android:id="@+id/predeformInflateText"
24 c1f047b9 Leszek Koltunski
            android:layout_width="wrap_content"
25 59835a0a Leszek Koltunski
            android:layout_height="wrap_content"
26 c1f047b9 Leszek Koltunski
            android:layout_weight="1"
27 59835a0a Leszek Koltunski
            android:paddingLeft="10dp"
28
            android:text="@string/inflate" />
29
30
        <SeekBar
31 4b7c432e Leszek Koltunski
            android:id="@+id/predeformInflateLevel"
32 c1f047b9 Leszek Koltunski
            android:layout_width="wrap_content"
33
            android:layout_height="wrap_content"
34
            android:layout_weight="3"
35
            android:paddingLeft="5dp"
36 59835a0a Leszek Koltunski
            android:paddingRight="5dp" />
37
38 c1f047b9 Leszek Koltunski
        <CheckBox
39
            android:id="@+id/predeformNormal"
40
            android:layout_width="wrap_content"
41
            android:layout_height="wrap_content"
42
            android:layout_weight="1"
43
            android:checked="false"
44
            android:onClick="showNormal"
45
            android:text="@string/show_normal"
46
            android:textSize="12sp"/>
47 59835a0a Leszek Koltunski
48
    </LinearLayout>
49
</LinearLayout>