Project

General

Profile

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

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

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 794e6c4f Leszek Koltunski
    <LinearLayout
9
        android:layout_width="match_parent"
10 0ab55f0c Leszek Koltunski
        android:layout_height="32dp"
11
        android:orientation="horizontal">
12 794e6c4f Leszek Koltunski
13 0ab55f0c Leszek Koltunski
        <CheckBox
14 46b26cdc Leszek Koltunski
            android:id="@+id/genericCheckBoxCenter"
15 56cbe1cf Leszek Koltunski
            android:layout_width="wrap_content"
16
            android:layout_height="wrap_content"
17 0ab55f0c Leszek Koltunski
            android:layout_weight="1"
18 f86c9fb5 Leszek Koltunski
            android:checked="false"
19 1e7603bb Leszek Koltunski
            android:onClick="showRegionAndCenter"
20 0ab55f0c Leszek Koltunski
            android:text="@string/show_center"
21
            android:textSize="12sp"/>
22
23
        <CheckBox
24 46b26cdc Leszek Koltunski
            android:id="@+id/genericCheckBoxRegion"
25 0ab55f0c Leszek Koltunski
            android:layout_width="wrap_content"
26
            android:layout_height="wrap_content"
27
            android:layout_weight="1"
28 f86c9fb5 Leszek Koltunski
            android:checked="false"
29 1e7603bb Leszek Koltunski
            android:onClick="showRegionAndCenter"
30 0ab55f0c Leszek Koltunski
            android:text="@string/show_region"
31
            android:textSize="12sp"/>
32
33
        <CheckBox
34 46b26cdc Leszek Koltunski
            android:id="@+id/genericCheckBoxNormal"
35 0ab55f0c Leszek Koltunski
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37
            android:layout_weight="1"
38 f86c9fb5 Leszek Koltunski
            android:checked="false"
39 0ab55f0c Leszek Koltunski
            android:onClick="showNormal"
40
            android:text="@string/show_normal"
41
            android:textSize="12sp"/>
42 bddd4b2d Leszek Koltunski
43
        <CheckBox
44 46b26cdc Leszek Koltunski
            android:id="@+id/genericCheckBoxOIT"
45 bddd4b2d Leszek Koltunski
            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 56cbe1cf Leszek Koltunski
53 794e6c4f Leszek Koltunski
    </LinearLayout>
54 08f92d82 Leszek Koltunski
55 d28ddc9b Leszek Koltunski
    <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 2fad84a7 Leszek Koltunski
    <com.google.android.material.tabs.TabLayout
62 46b26cdc Leszek Koltunski
        android:id="@+id/generic_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 2fad84a7 Leszek Koltunski
    </com.google.android.material.tabs.TabLayout>
67 56cbe1cf Leszek Koltunski
68 2fad84a7 Leszek Koltunski
    <androidx.viewpager.widget.ViewPager
69 46b26cdc Leszek Koltunski
        android:id="@+id/generic_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>