Revision 794e6c4f
Added by Leszek Koltunski almost 8 years ago
src/main/res/layout/vertex3dlayout.xml | ||
---|---|---|
10 | 10 |
android:layout_height="0dp" |
11 | 11 |
android:layout_weight="1" /> |
12 | 12 |
|
13 |
<Button
|
|
14 |
android:id="@+id/button1"
|
|
15 |
android:layout_width="fill_parent"
|
|
13 |
<LinearLayout
|
|
14 |
android:orientation="horizontal"
|
|
15 |
android:layout_width="match_parent"
|
|
16 | 16 |
android:layout_height="wrap_content" |
17 |
android:onClick="Default" |
|
18 |
android:text="@string/Default" /> |
|
17 |
> |
|
18 |
|
|
19 |
<LinearLayout |
|
20 |
android:orientation="vertical" |
|
21 |
android:layout_width="0dp" |
|
22 |
android:layout_height="match_parent" |
|
23 |
android:layout_weight="0.8"> |
|
24 |
|
|
25 |
<TextView |
|
26 |
android:layout_width="wrap_content" |
|
27 |
android:layout_height="wrap_content" |
|
28 |
android:id="@+id/vertex3dcenterText"/> |
|
29 |
|
|
30 |
<LinearLayout |
|
31 |
android:orientation="horizontal" |
|
32 |
android:layout_width="match_parent" |
|
33 |
android:layout_height="match_parent"> |
|
34 |
|
|
35 |
<SeekBar |
|
36 |
android:layout_width="fill_parent" |
|
37 |
android:layout_height="wrap_content" |
|
38 |
android:id="@+id/vertex3dcenterX" |
|
39 |
android:layout_weight="0.5" |
|
40 |
android:paddingLeft="5dp" |
|
41 |
android:paddingRight="3dp"/> |
|
42 |
|
|
43 |
<SeekBar |
|
44 |
android:layout_width="fill_parent" |
|
45 |
android:layout_height="wrap_content" |
|
46 |
android:id="@+id/vertex3dcenterY" |
|
47 |
android:layout_weight="0.5" |
|
48 |
android:paddingLeft="3dp" |
|
49 |
android:paddingRight="5dp"/> |
|
50 |
</LinearLayout> |
|
51 |
|
|
52 |
</LinearLayout> |
|
53 |
|
|
54 |
<Button |
|
55 |
android:id="@+id/buttonDefault" |
|
56 |
android:layout_width="60dp" |
|
57 |
android:layout_height="wrap_content" |
|
58 |
android:onClick="Default" |
|
59 |
android:text="@string/reset" |
|
60 |
android:layout_gravity="right"/> |
|
61 |
</LinearLayout> |
|
19 | 62 |
|
20 | 63 |
<ScrollView |
21 | 64 |
android:id="@+id/vertex3dscrollView" |
Also available in: Unified diff
Vertex3D: add configurable center