Revision 7e9be46d
Added by Leszek Koltunski almost 8 years ago
src/main/res/layout/fragment3dlayout.xml | ||
---|---|---|
13 | 13 |
<LinearLayout |
14 | 14 |
android:orientation="horizontal" |
15 | 15 |
android:layout_width="match_parent" |
16 |
android:layout_height="wrap_content" |
|
17 |
android:layout_marginBottom="5dp" |
|
18 |
android:background="@android:color/holo_green_dark"> |
|
16 |
android:layout_height="50dp" |
|
17 |
android:layout_gravity="center"> |
|
18 |
|
|
19 |
<Button |
|
20 |
android:layout_width="wrap_content" |
|
21 |
android:layout_height="wrap_content" |
|
22 |
android:text="@string/reset" |
|
23 |
android:id="@+id/buttonRemove" |
|
24 |
android:onClick="removeAll" |
|
25 |
/> |
|
26 |
|
|
27 |
<Button |
|
28 |
android:layout_width="wrap_content" |
|
29 |
android:layout_height="wrap_content" |
|
30 |
android:text="@string/chroma" |
|
31 |
android:id="@+id/buttonChroma" |
|
32 |
android:onClick="newChroma"/> |
|
33 |
|
|
34 |
<Button |
|
35 |
android:layout_width="wrap_content" |
|
36 |
android:layout_height="wrap_content" |
|
37 |
android:text="@string/alpha" |
|
38 |
android:id="@+id/buttonAlpha" |
|
39 |
android:onClick="newAlpha"/> |
|
40 |
|
|
41 |
<Button |
|
42 |
android:layout_width="wrap_content" |
|
43 |
android:layout_height="wrap_content" |
|
44 |
android:text="@string/brightness" |
|
45 |
android:id="@+id/buttonBrightness" |
|
46 |
android:onClick="newBrightness"/> |
|
47 |
|
|
48 |
<Button |
|
49 |
android:layout_width="wrap_content" |
|
50 |
android:layout_height="wrap_content" |
|
51 |
android:text="@string/saturation" |
|
52 |
android:id="@+id/buttonSaturation" |
|
53 |
android:onClick="newSaturation"/> |
|
54 |
</LinearLayout> |
|
55 |
|
|
56 |
<LinearLayout |
|
57 |
android:orientation="vertical" |
|
58 |
android:layout_width="fill_parent" |
|
59 |
android:layout_height="50dp" |
|
60 |
> |
|
61 |
|
|
62 |
<TextView |
|
63 |
android:id="@+id/fragment3dcenterText" |
|
64 |
android:layout_width="wrap_content" |
|
65 |
android:layout_height="wrap_content" |
|
66 |
android:layout_marginEnd="5dp" |
|
67 |
android:layout_marginStart="5dp" |
|
68 |
android:layout_marginTop="3dp" |
|
69 |
/> |
|
19 | 70 |
|
20 | 71 |
<LinearLayout |
21 |
android:orientation="vertical"
|
|
22 |
android:layout_width="0dp"
|
|
72 |
android:orientation="horizontal"
|
|
73 |
android:layout_width="match_parent"
|
|
23 | 74 |
android:layout_height="match_parent" |
24 |
android:layout_weight="0.8">
|
|
75 |
> |
|
25 | 76 |
|
26 |
<TextView |
|
27 |
android:id="@+id/fragment3dcenterText" |
|
28 |
android:layout_width="wrap_content" |
|
77 |
<SeekBar |
|
78 |
android:layout_width="fill_parent" |
|
29 | 79 |
android:layout_height="wrap_content" |
30 |
android:layout_marginEnd="5dp" |
|
31 |
android:layout_marginStart="5dp" |
|
32 |
android:layout_marginTop="3dp" |
|
33 |
/> |
|
34 |
|
|
35 |
<LinearLayout |
|
36 |
android:orientation="horizontal" |
|
37 |
android:layout_width="match_parent" |
|
38 |
android:layout_height="match_parent" |
|
39 |
> |
|
40 |
|
|
41 |
<SeekBar |
|
42 |
android:layout_width="fill_parent" |
|
43 |
android:layout_height="wrap_content" |
|
44 |
android:id="@+id/fragment3dcenterX" |
|
45 |
android:layout_weight="0.5" |
|
46 |
android:paddingLeft="5dp" |
|
47 |
android:paddingRight="3dp"/> |
|
48 |
|
|
49 |
<SeekBar |
|
50 |
android:layout_width="fill_parent" |
|
51 |
android:layout_height="wrap_content" |
|
52 |
android:id="@+id/fragment3dcenterY" |
|
53 |
android:layout_weight="0.5" |
|
54 |
android:paddingLeft="3dp" |
|
55 |
android:paddingRight="5dp"/> |
|
56 |
</LinearLayout> |
|
80 |
android:id="@+id/fragment3dcenterX" |
|
81 |
android:layout_weight="0.5" |
|
82 |
android:paddingLeft="5dp" |
|
83 |
android:paddingRight="3dp"/> |
|
57 | 84 |
|
85 |
<SeekBar |
|
86 |
android:layout_width="fill_parent" |
|
87 |
android:layout_height="wrap_content" |
|
88 |
android:id="@+id/fragment3dcenterY" |
|
89 |
android:layout_weight="0.5" |
|
90 |
android:paddingLeft="3dp" |
|
91 |
android:paddingRight="5dp"/> |
|
58 | 92 |
</LinearLayout> |
59 | 93 |
|
60 |
<Button |
|
61 |
android:id="@+id/buttonDefault" |
|
62 |
android:layout_width="60dp" |
|
63 |
android:layout_height="wrap_content" |
|
64 |
android:onClick="Default" |
|
65 |
android:text="@string/reset" |
|
66 |
android:layout_gravity="right" |
|
67 |
android:layout_marginTop="3dp"/> |
|
68 | 94 |
</LinearLayout> |
69 | 95 |
|
96 |
<View |
|
97 |
android:layout_height="4dip" |
|
98 |
android:background="#777777" |
|
99 |
android:layout_width="match_parent" |
|
100 |
/> |
|
101 |
|
|
70 | 102 |
<ScrollView |
71 | 103 |
android:id="@+id/fragment3dscrollView" |
72 | 104 |
android:layout_width="match_parent" |
73 | 105 |
android:layout_height="0dp" |
74 |
android:layout_weight="0.82" > |
|
106 |
android:layout_weight="0.82" |
|
107 |
> |
|
75 | 108 |
|
76 | 109 |
<LinearLayout |
77 | 110 |
android:id="@+id/fragment3dlayout" |
Also available in: Unified diff
Improve Fragment3D app some more!