Project

General

Profile

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

examples / src / main / res / layout / predeformlayout.xml @ 42aa970f

1
<?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
    <org.distorted.examples.predeform.PredeformSurfaceView
9
        android:id="@+id/predeformSurfaceView"
10
        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
            android:id="@+id/predeformInflateText"
24
            android:layout_width="wrap_content"
25
            android:layout_height="wrap_content"
26
            android:layout_weight="1"
27
            android:paddingLeft="10dp"
28
            android:text="@string/inflate" />
29

    
30
        <SeekBar
31
            android:id="@+id/predeformInflateLevel"
32
            android:layout_width="wrap_content"
33
            android:layout_height="wrap_content"
34
            android:layout_weight="3"
35
            android:paddingLeft="5dp"
36
            android:paddingRight="5dp" />
37

    
38
        <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

    
48
    </LinearLayout>
49
</LinearLayout>
(38-38/49)