Project

General

Profile

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

examples / src / main / res / layout / effects3dlayout.xml @ f86c9fb5

1 08f92d82 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 fe7fe83e Leszek Koltunski
    android:layout_weight="1"
6 08f92d82 Leszek Koltunski
    android:orientation="vertical" >
7
8 76a81b6a Leszek Koltunski
    <org.distorted.examples.effects3d.Effects3DSurfaceView
9
        android:id="@+id/effects3dSurfaceView"
10 08f92d82 Leszek Koltunski
        android:layout_width="fill_parent"
11
        android:layout_height="0dp"
12
        android:layout_weight="1" />
13
14 794e6c4f Leszek Koltunski
    <LinearLayout
15
        android:layout_width="match_parent"
16 0ab55f0c Leszek Koltunski
        android:layout_height="32dp"
17
        android:orientation="horizontal">
18 794e6c4f Leszek Koltunski
19 0ab55f0c Leszek Koltunski
        <CheckBox
20
            android:id="@+id/effects3dCheckBoxCenter"
21 56cbe1cf Leszek Koltunski
            android:layout_width="wrap_content"
22
            android:layout_height="wrap_content"
23 0ab55f0c Leszek Koltunski
            android:layout_weight="1"
24 f86c9fb5 Leszek Koltunski
            android:checked="false"
25 0ab55f0c Leszek Koltunski
            android:onClick="showCenter"
26
            android:text="@string/show_center"
27
            android:textSize="12sp"/>
28
29
        <CheckBox
30
            android:id="@+id/effects3dCheckBoxRegion"
31
            android:layout_width="wrap_content"
32
            android:layout_height="wrap_content"
33
            android:layout_weight="1"
34 f86c9fb5 Leszek Koltunski
            android:checked="false"
35 0ab55f0c Leszek Koltunski
            android:onClick="showRegion"
36
            android:text="@string/show_region"
37
            android:textSize="12sp"/>
38
39
        <CheckBox
40
            android:id="@+id/effects3dCheckBoxNormal"
41
            android:layout_width="wrap_content"
42
            android:layout_height="wrap_content"
43
            android:layout_weight="1"
44 f86c9fb5 Leszek Koltunski
            android:checked="false"
45 0ab55f0c Leszek Koltunski
            android:onClick="showNormal"
46
            android:text="@string/show_normal"
47
            android:textSize="12sp"/>
48 bddd4b2d Leszek Koltunski
49
        <CheckBox
50
            android:id="@+id/effects3dCheckBoxOIT"
51
            android:layout_width="wrap_content"
52
            android:layout_height="wrap_content"
53
            android:layout_weight="1"
54
            android:checked="false"
55
            android:onClick="triggerOIT"
56
            android:text="@string/oit"
57
            android:textSize="12sp"/>
58 56cbe1cf Leszek Koltunski
59 794e6c4f Leszek Koltunski
    </LinearLayout>
60 08f92d82 Leszek Koltunski
61 fe7fe83e Leszek Koltunski
    <android.support.design.widget.TabLayout
62
        android:id="@+id/effects3d_sliding_tabs"
63 56cbe1cf Leszek Koltunski
        android:layout_width="match_parent"
64 fe7fe83e Leszek Koltunski
        android:layout_height="32dp"
65
        android:theme="@style/Theme.AppCompat.NoActionBar">
66
    </android.support.design.widget.TabLayout>
67 56cbe1cf Leszek Koltunski
68 fe7fe83e Leszek Koltunski
    <android.support.v4.view.ViewPager
69
        android:id="@+id/effects3d_viewpager"
70 08f92d82 Leszek Koltunski
        android:layout_width="match_parent"
71
        android:layout_height="0dp"
72 fe7fe83e Leszek Koltunski
        android:layout_weight="1"
73
        android:background="@android:color/black" />
74 08f92d82 Leszek Koltunski
75
</LinearLayout>