Project

General

Profile

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

examples / src / main / res / layout / inflatelayout.xml @ bf3b5480

1 77a500b3 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
    <org.distorted.examples.inflate.InflateSurfaceView
9
        android:id="@+id/inflateSurfaceView"
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 64558e4e Leszek Koltunski
            android:id="@+id/inflateInflateText"
24 77a500b3 Leszek Koltunski
            android:layout_width="0dp"
25
            android:layout_height="wrap_content"
26
            android:layout_weight="0.3"
27
            android:paddingLeft="10dp"
28
            android:text="@string/inflate" />
29
30
        <SeekBar
31 64558e4e Leszek Koltunski
            android:id="@+id/inflateInflateLevel"
32 77a500b3 Leszek Koltunski
            android:layout_weight="0.7"
33
            android:layout_width="0dp"
34
            android:layout_height="50dp"
35
            android:paddingLeft="10dp"
36 64558e4e Leszek Koltunski
            android:paddingRight="5dp" />
37
38
    </LinearLayout>
39
40
    <LinearLayout
41
        android:id="@+id/linearLayout3"
42
        android:layout_width="fill_parent"
43
        android:layout_height="wrap_content"
44
        android:gravity="center|fill_horizontal"
45
        android:orientation="horizontal"
46
        android:background="@color/blue">
47
48
        <SeekBar
49
            android:id="@+id/inflateTransparency"
50
            android:layout_weight="0.50"
51
            android:layout_width="0dp"
52
            android:layout_height="50dp"
53
            android:paddingLeft="10dp"
54 77a500b3 Leszek Koltunski
            android:paddingRight="10dp" />
55
56 64558e4e Leszek Koltunski
        <Spinner
57
            android:layout_width="0dp"
58
            android:layout_height="50dp"
59
            android:layout_weight="0.5"
60
            android:id="@+id/inflateSpinnerMode"
61
            />
62 77a500b3 Leszek Koltunski
    </LinearLayout>
63
64
</LinearLayout>