Project

General

Profile

« Previous | Next » 

Revision 5055b5d4

Added by Leszek Koltunski over 7 years ago

1. (hopefully) finish the 'Save' app (now we can adjust the size of the resulting file)
2. Fix one long-standing bug in almost every single app.

View differences:

src/main/res/layout/savelayout.xml
8 8
        android:id="@+id/saveSurfaceView"
9 9
        android:layout_width="fill_parent"
10 10
        android:layout_height="0dp"
11
        android:layout_weight="0.85" />
11
        android:layout_weight="0.9"/>
12 12

  
13 13
    <LinearLayout
14 14
        android:orientation="horizontal"
15 15
        android:layout_width="match_parent"
16 16
        android:layout_height="wrap_content"
17
        android:gravity="bottom"
18
        android:layout_weight="0.03">
17
        android:gravity="bottom">
19 18

  
20 19
        <Button
21 20
            android:id="@+id/saveButton"
22
            android:layout_width="132dp"
23
            android:layout_height="wrap_content"
21
            android:layout_width="100dp"
22
            android:layout_height="fill_parent"
24 23
            android:gravity="center_vertical|center"
25 24
            android:text="@string/save"
26 25
            android:onClick="Save"
27 26
            android:textAppearance="?android:attr/textAppearanceMedium"
28 27
            android:layout_gravity="center_vertical"/>
29 28

  
30
        <SeekBar
31
            android:layout_width="fill_parent"
32
            android:layout_height="wrap_content"
33
            android:id="@+id/saveSeekBar"
34
            android:layout_gravity="center_vertical"
35
            android:layout_margin="5dp"/>
29
        <LinearLayout
30
            android:orientation="vertical"
31
            android:layout_width="match_parent"
32
            android:layout_height="match_parent">
33

  
34
            <SeekBar
35
                android:layout_width="match_parent"
36
                android:layout_height="wrap_content"
37
                android:id="@+id/saveSeekBarSize"
38
                android:layout_gravity="center_vertical"
39
                android:layout_margin="5dp"/>
40
            <SeekBar
41
                android:layout_width="match_parent"
42
                android:layout_height="wrap_content"
43
                android:id="@+id/saveSeekBarScale"
44
                android:layout_gravity="center_vertical"
45
                android:layout_margin="5dp"/>
46
        </LinearLayout>
36 47

  
37 48
    </LinearLayout>
38 49

  

Also available in: Unified diff