Project

General

Profile

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

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

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:layout_weight="1"
6
    android:orientation="vertical" >
7

    
8
    <org.distorted.examples.effects3d.Effects3DSurfaceView
9
        android:id="@+id/effects3dSurfaceView"
10
        android:layout_width="fill_parent"
11
        android:layout_height="0dp"
12
        android:layout_weight="1" />
13

    
14
    <LinearLayout
15
        android:layout_width="match_parent"
16
        android:layout_height="32dp"
17
        android:orientation="horizontal">
18

    
19
        <CheckBox
20
            android:id="@+id/effects3dCheckBoxCenter"
21
            android:layout_width="wrap_content"
22
            android:layout_height="wrap_content"
23
            android:layout_weight="1"
24
            android:checked="false"
25
            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
            android:checked="false"
35
            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
            android:checked="false"
45
            android:onClick="showNormal"
46
            android:text="@string/show_normal"
47
            android:textSize="12sp"/>
48

    
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

    
59
    </LinearLayout>
60

    
61
    <android.support.design.widget.TabLayout
62
        android:id="@+id/effects3d_sliding_tabs"
63
        android:layout_width="match_parent"
64
        android:layout_height="32dp"
65
        android:theme="@style/Theme.AppCompat.NoActionBar">
66
    </android.support.design.widget.TabLayout>
67

    
68
    <android.support.v4.view.ViewPager
69
        android:id="@+id/effects3d_viewpager"
70
        android:layout_width="match_parent"
71
        android:layout_height="0dp"
72
        android:layout_weight="1"
73
        android:background="@android:color/black" />
74

    
75
</LinearLayout>
(18-18/40)