Project

General

Profile

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

examples / src / main / res / layout / transparencylayout.xml @ a935e9db

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

    
7
    <org.distorted.examples.transparency.TransparencySurfaceView
8
        android:id="@+id/transparencySurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12

    
13
    <LinearLayout
14
        android:orientation="horizontal"
15
        android:layout_width="match_parent"
16
        android:layout_height="wrap_content">
17

    
18
        <Spinner
19
            android:layout_width="0dp"
20
            android:layout_height="50dp"
21
            android:layout_weight="0.5"
22
            android:id="@+id/transparency_spinnerFirst"
23
            />
24

    
25
        <Spinner
26
            android:layout_width="0dp"
27
            android:layout_height="50dp"
28
            android:layout_weight="0.5"
29
            android:id="@+id/transparency_spinnerMode"
30
            />
31
    </LinearLayout>
32

    
33
    <SeekBar
34
        android:id="@+id/transparencySeekRed"
35
        android:background="@color/red"
36
        android:layout_height="50dp"
37
        android:layout_width="fill_parent"
38
        android:paddingLeft="10dp"
39
        android:paddingRight="10dp" />
40
    <SeekBar
41
        android:id="@+id/transparencySeekYellow"
42
        android:background="@color/yellow"
43
        android:layout_height="50dp"
44
        android:layout_width="fill_parent"
45
        android:paddingLeft="10dp"
46
        android:paddingRight="10dp" />
47

    
48
</LinearLayout>
(34-34/36)