Project

General

Profile

« Previous | Next » 

Revision 50ac40a6

Added by Leszek Koltunski almost 8 years ago

some improvements for the way we test DistortedObjects.

View differences:

src/main/res/layout/effects2dlayout.xml
25 25
        android:orientation="vertical"
26 26
        android:weightSum="1">
27 27

  
28
        <View
29
            android:layout_height="2dip"
30
            android:background="#FF0000"
31
            android:layout_width="match_parent"
32
            />
33

  
34
        <TextView
35
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37
            android:text="@string/add"
38
            android:id="@+id/textView"
39
            android:layout_gravity="center_horizontal"/>
40

  
41
        <RadioGroup
42
            android:id="@+id/radioGroup1"
43
            android:layout_width="wrap_content"
44
            android:layout_height="wrap_content"
45
            android:paddingLeft="5dp"
46
            android:paddingRight="10dp"
47
            android:orientation="horizontal"
48
            android:layout_gravity="center_horizontal">
49

  
50
            <RadioButton
51
                android:id="@+id/effects2dDistort"
52
                android:layout_width="wrap_content"
53
                android:layout_height="wrap_content"
54
                android:checked="true"
55
                android:onClick="Distort"
56
                android:text="@string/distort"
57
                android:textSize="12dp"/>
58

  
59
            <RadioButton
60
                android:id="@+id/effects2dSink"
61
                android:layout_width="wrap_content"
62
                android:layout_height="wrap_content"
63
                android:onClick="Sink"
64
                android:text="@string/sink"
65
                android:textSize="12dp"/>
66

  
67
            <RadioButton
68
                android:id="@+id/effects2dTransparency"
69
                android:layout_width="wrap_content"
70
                android:layout_height="wrap_content"
71
                android:onClick="Transparency"
72
                android:text="@string/transparency"
73
                android:textSize="12dp"/>
74

  
75
            <RadioButton
76
                android:id="@+id/effects2dMacroblock"
77
                android:layout_width="wrap_content"
78
                android:layout_height="wrap_content"
79
                android:onClick="Macroblock"
80
                android:text="@string/macroblock"
81
                android:textSize="12dp"/>
82

  
83
            <RadioButton
84
                android:id="@+id/effects2dBrightness"
85
                android:layout_width="wrap_content"
86
                android:layout_height="wrap_content"
87
                android:onClick="Chroma"
88
                android:text="@string/chroma"
89
                android:textSize="12dp"/>
90

  
91
        </RadioGroup>
92

  
93
        <View
94
            android:layout_height="2dip"
95
            android:background="#FF0000"
96
            android:layout_width="match_parent"/>
97

  
98 28
        <TableLayout
99 29
            android:layout_width="fill_parent"
100 30
            android:layout_height="wrap_content"
......
104 34
            android:paddingLeft="10dp"
105 35
            android:paddingRight="10dp">
106 36

  
37
            <TableRow
38
                android:layout_width="match_parent"
39
                android:layout_height="match_parent">
40

  
41
                <TextView
42
                    android:layout_width="wrap_content"
43
                    android:layout_height="wrap_content"
44
                    android:text="@string/add"
45
                    android:id="@+id/textView"
46
                    android:layout_gravity="center_vertical"
47
                    android:layout_span="2"
48
                    android:layout_marginLeft="8dp"/>
49

  
50
                <Spinner
51
                    android:layout_width="fill_parent"
52
                    android:layout_height="40dp"
53
                    android:id="@+id/effects2d_spinnerAdd"
54
                    />
55
            </TableRow>
56

  
107 57
            <TableRow
108 58
                android:layout_width="wrap_content"
109 59
                android:layout_height="wrap_content"
......
183 133
        </TableLayout>
184 134
        <View
185 135
            android:layout_height="2dip"
186
            android:background="#FF0000"
136
            android:background="#333333"
187 137
            android:layout_width="match_parent"
188 138
            />
189 139

  

Also available in: Unified diff