Project

General

Profile

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

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

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
    <LinearLayout
9
        android:layout_width="match_parent"
10
        android:layout_height="32dp"
11
        android:orientation="horizontal">
12

    
13
        <CheckBox
14
            android:id="@+id/genericCheckBoxCenter"
15
            android:layout_width="wrap_content"
16
            android:layout_height="wrap_content"
17
            android:layout_weight="1"
18
            android:checked="false"
19
            android:onClick="showRegionAndCenter"
20
            android:text="@string/show_center"
21
            android:textSize="12sp"/>
22

    
23
        <CheckBox
24
            android:id="@+id/genericCheckBoxRegion"
25
            android:layout_width="wrap_content"
26
            android:layout_height="wrap_content"
27
            android:layout_weight="1"
28
            android:checked="false"
29
            android:onClick="showRegionAndCenter"
30
            android:text="@string/show_region"
31
            android:textSize="12sp"/>
32

    
33
        <CheckBox
34
            android:id="@+id/genericCheckBoxNormal"
35
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37
            android:layout_weight="1"
38
            android:checked="false"
39
            android:onClick="showNormal"
40
            android:text="@string/show_normal"
41
            android:textSize="12sp"/>
42

    
43
        <CheckBox
44
            android:id="@+id/genericCheckBoxOIT"
45
            android:layout_width="wrap_content"
46
            android:layout_height="wrap_content"
47
            android:layout_weight="1"
48
            android:checked="false"
49
            android:onClick="triggerOIT"
50
            android:text="@string/oit"
51
            android:textSize="12sp"/>
52

    
53
    </LinearLayout>
54

    
55
    <org.distorted.examples.generic.GenericSurfaceView
56
        android:id="@+id/genericSurfaceView"
57
        android:layout_width="fill_parent"
58
        android:layout_height="0dp"
59
        android:layout_weight="1" />
60

    
61
    <com.google.android.material.tabs.TabLayout
62
        android:id="@+id/generic_sliding_tabs"
63
        android:layout_width="match_parent"
64
        android:layout_height="32dp"
65
        android:theme="@style/Theme.AppCompat.NoActionBar">
66
    </com.google.android.material.tabs.TabLayout>
67

    
68
    <androidx.viewpager.widget.ViewPager
69
        android:id="@+id/generic_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>
(25-25/47)