Project

General

Profile

« Previous | Next » 

Revision 97a4ae23

Added by Leszek Koltunski over 2 years ago

Progress with ConfigScreen.

View differences:

src/main/res/layout/config.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<LinearLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:id="@+id/mainLayout"
3 4
    android:layout_width="match_parent"
4 5
    android:layout_height="match_parent"
5 6
    android:orientation="vertical">
6 7

  
7
    <LinearLayout
8
        android:id="@+id/hiddenBar"
8
    <org.distorted.config.ConfigSurfaceView
9
        android:id="@+id/configSurfaceView"
9 10
        android:layout_width="match_parent"
10
        android:layout_height="100dp"
11
        android:gravity="center"
12
        android:orientation="horizontal"
13
        android:background="@android:color/transparent">
14
    </LinearLayout>
11
        android:layout_height="0dp"
12
        android:layout_weight="1"/>
15 13

  
16
    <LinearLayout
17
        android:id="@+id/upperBar"
14
    <ScrollView
15
        android:id="@+id/configScroll"
18 16
        android:layout_width="match_parent"
19
        android:layout_height="100dp"
20
        android:gravity="center"
21
        android:orientation="horizontal"
22
        android:background="@android:color/transparent">
23
    </LinearLayout>
24

  
25
    <LinearLayout
26
        android:layout_width="match_parent"
27
        android:layout_height="match_parent"
28
        android:gravity="center"
29
        android:orientation="vertical"
30
        android:background="@android:color/transparent">
31

  
32
        <org.distorted.config.ConfigSurfaceView
33
           android:id="@+id/configSurfaceView"
34
           android:layout_width="match_parent"
35
           android:layout_height="0dp"
36
           android:layout_weight="1"/>
37

  
38
        <ScrollView
39
           android:id="@+id/configScroll"
40
           android:layout_width="match_parent"
41
           android:layout_height="0dp"
42
           android:layout_weight="1"/>
43

  
44
    </LinearLayout>
17
        android:layout_height="0dp"
18
        android:layout_weight="1"/>
45 19

  
46 20
    <LinearLayout
47 21
        android:id="@+id/lowerBar"
48 22
        android:layout_width="match_parent"
49 23
        android:layout_height="100dp"
24
        android:layout_gravity="end"
50 25
        android:orientation="horizontal"
51
        android:background="@android:color/transparent">
26
        android:background="@color/light_grey">
52 27
    </LinearLayout>
53 28

  
54 29
</LinearLayout>

Also available in: Unified diff