Project

General

Profile

« Previous | Next » 

Revision 4debbf44

Added by Leszek Koltunski almost 4 years ago

Reinvent the Pattern Dialog (Part 1)

View differences:

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

  
8
    <Spinner
9
        android:id="@+id/pattern_category_spinner"
10
        android:background="@drawable/ui_small_spinner"
11
        android:layout_marginLeft="20dp"
12
        android:layout_marginRight="20dp"
13
        android:layout_marginTop="10dp"
14
        android:layout_marginBottom="10dp"
15
        android:layout_width="match_parent"
16
        android:layout_height="50dp"/>
17

  
18
    <ScrollView
19
        android:id="@+id/tabScrollView"
20
        android:paddingBottom="10dp"
21
        android:background="@color/grey"
22
        android:layout_width="match_parent"
23
        android:layout_height="match_parent">
24

  
25
        <LinearLayout
26
            android:id="@+id/tabLayout"
27
            android:layout_width="match_parent"
28
            android:layout_height="wrap_content"
29
            android:orientation="vertical">
30
        </LinearLayout>
31
    </ScrollView>
32

  
33
</LinearLayout>
2
<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:id="@+id/patternListView"
4
    android:background="@color/grey"
5
    android:paddingLeft="10dp"
6
    android:paddingRight="10dp"
7
    android:paddingTop="10dp"
8
    android:paddingBottom="10dp"
9
    android:layout_width="fill_parent"
10
    android:layout_height="fill_parent"
11
    />

Also available in: Unified diff