Project

General

Profile

« Previous | Next » 

Revision 8db5b725

Added by Leszek Koltunski about 5 years ago

Minor improvements in the Dynamics.

View differences:

src/main/res/layout/dynamicslayout.xml
6 6
    android:gravity="fill_horizontal"
7 7
    android:orientation="vertical" >
8 8

  
9
    <LinearLayout
10
        android:orientation="horizontal"
11
        android:layout_width="match_parent"
12
        android:layout_height="48dp">
13

  
14
        <Button
15
            android:id="@+id/dynamicButtonStart"
16
            android:layout_width="wrap_content"
17
            android:layout_height="match_parent"
18
            android:layout_weight="0.5"
19
            android:paddingLeft="10dp"
20
            android:paddingRight="10dp"
21
            android:onClick="Start"
22
            android:text="@string/start" />
23

  
24
        <Button
25
            android:id="@+id/dynamicButtonReset"
26
            android:layout_width="wrap_content"
27
            android:layout_height="match_parent"
28
            android:layout_weight="0.5"
29
            android:paddingLeft="10dp"
30
            android:paddingRight="10dp"
31
            android:onClick="Reset"
32
            android:text="@string/reset" />
33
    </LinearLayout>
34

  
35
    <org.distorted.examples.dynamic.DynamicSurfaceView
36
        android:id="@+id/dynamicSurfaceView"
37
        android:layout_width="fill_parent"
38
        android:layout_height="0dp"
39
        android:layout_weight="1" />
40

  
41 9
    <LinearLayout
42 10
        android:orientation="horizontal"
43 11
        android:layout_width="match_parent"
......
167 135

  
168 136
    </LinearLayout>
169 137

  
138
    <org.distorted.examples.dynamic.DynamicSurfaceView
139
        android:id="@+id/dynamicSurfaceView"
140
        android:layout_width="fill_parent"
141
        android:layout_height="0dp"
142
        android:layout_weight="1" />
143

  
144
    <LinearLayout
145
        android:orientation="horizontal"
146
        android:layout_width="match_parent"
147
        android:layout_height="48dp">
148

  
149
        <Button
150
            android:id="@+id/dynamicButtonStart"
151
            android:layout_width="wrap_content"
152
            android:layout_height="match_parent"
153
            android:layout_weight="0.5"
154
            android:paddingLeft="10dp"
155
            android:paddingRight="10dp"
156
            android:onClick="Start"
157
            android:text="@string/start" />
158

  
159
        <Button
160
            android:id="@+id/dynamicButtonReset"
161
            android:layout_width="wrap_content"
162
            android:layout_height="match_parent"
163
            android:layout_weight="0.5"
164
            android:paddingLeft="10dp"
165
            android:paddingRight="10dp"
166
            android:onClick="Reset"
167
            android:text="@string/reset" />
168
    </LinearLayout>
169

  
170 170
</LinearLayout>

Also available in: Unified diff