1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ style =" @style/missionItemDetailLayout" >
5
+
6
+ <org .droidplanner.android.widgets.spinners.SpinnerSelfSelect
7
+ android : id =" @+id/spinnerWaypointType"
8
+ android : layout_width =" match_parent"
9
+ android : layout_height =" wrap_content"
10
+ android : layout_alignParentTop =" true"
11
+ android : layout_margin =" 5dp"
12
+ android : entries =" @array/ExampleWaypointType" />
13
+
14
+ <RelativeLayout
15
+ android : id =" @+id/title_rect"
16
+ android : layout_width =" match_parent"
17
+ android : layout_height =" 64dp"
18
+ android : layout_alignParentTop =" true"
19
+ android : background =" @drawable/wp_title_rectangle" >
20
+
21
+ <TextView
22
+ android : id =" @+id/WaypointIndex"
23
+ style =" @style/largeMissionDetailText"
24
+ android : layout_width =" 64dp"
25
+ android : layout_height =" wrap_content"
26
+ android : layout_centerVertical =" true"
27
+ tools : text =" 22" />
28
+
29
+ <View
30
+ android : id =" @+id/title_div"
31
+ android : layout_width =" 1dp"
32
+ android : layout_height =" 54dp"
33
+ android : layout_alignParentTop =" true"
34
+ android : layout_marginTop =" 5dp"
35
+ android : layout_toRightOf =" @id/WaypointIndex"
36
+ android : background =" @drawable/wp_title_div" />
37
+
38
+ <RelativeLayout
39
+ android : id =" @+id/title_content"
40
+ android : layout_width =" match_parent"
41
+ android : layout_height =" wrap_content"
42
+ android : layout_centerVertical =" true"
43
+ android : layout_toRightOf =" @id/title_div"
44
+ android : orientation =" vertical" >
45
+
46
+ <TextView
47
+ android : id =" @+id/WaypointType"
48
+ style =" @style/missionHeaderTitle"
49
+ android : layout_width =" wrap_content"
50
+ android : layout_height =" wrap_content"
51
+ android : layout_marginLeft =" 12dp"
52
+ android : text =" @string/waypointType_Set_Servo" />
53
+
54
+ <TextView
55
+ android : id =" @+id/DistanceLabel"
56
+ style =" @style/missionHeaderlabel"
57
+ android : layout_width =" wrap_content"
58
+ android : layout_height =" wrap_content"
59
+ android : layout_alignLeft =" @id/WaypointType"
60
+ android : layout_below =" @id/WaypointType" />
61
+ </RelativeLayout >
62
+ </RelativeLayout >
63
+
64
+ <ImageView
65
+ android : id =" @+id/menuHint"
66
+ android : layout_width =" wrap_content"
67
+ android : layout_height =" wrap_content"
68
+ android : layout_alignBottom =" @id/title_rect"
69
+ android : layout_alignParentRight =" true"
70
+ android : layout_margin =" 10dp"
71
+ android : src =" @drawable/ic_menu_hint"
72
+ tools : ignore =" ContentDescription" />
73
+
74
+ <LinearLayout
75
+ android : layout_width =" match_parent"
76
+ android : layout_height =" wrap_content"
77
+ android : layout_below =" @id/title_rect"
78
+ android : orientation =" vertical"
79
+ android : paddingBottom =" 5dp" >
80
+
81
+ <TextView
82
+ style =" @style/ModeDetailText"
83
+ android : layout_width =" match_parent"
84
+ android : layout_height =" wrap_content"
85
+ android : background =" @drawable/mode_desc_rectangle"
86
+ android : padding =" 12dp"
87
+ android : text =" @string/waypointInfo_SetServo" />
88
+
89
+ <org .droidplanner.android.widgets.spinnerWheel.CardWheelHorizontalView
90
+ android : id =" @+id/picker1"
91
+ style =" @style/missionItemDetailCard"
92
+ android : layout_width =" match_parent"
93
+ android : layout_height =" wrap_content"
94
+ android : orientation =" vertical"
95
+ android : text =" @string/channel_label" />
96
+
97
+ <TextView
98
+ style =" @style/ModeDetailText"
99
+ android : layout_width =" wrap_content"
100
+ android : layout_height =" wrap_content"
101
+ android : layout_gravity =" left"
102
+ android : text =" @string/pwm"
103
+ android : textAppearance =" ?android:attr/textAppearanceMedium" />
104
+
105
+ <EditText
106
+ android : id =" @+id/PwmEditText"
107
+ android : layout_width =" match_parent"
108
+ android : layout_height =" wrap_content"
109
+ android : inputType =" number"
110
+ android : imeOptions =" actionDone"
111
+ android : paddingLeft =" 16dp"
112
+ android : paddingRight =" 16dp"
113
+ />
114
+
115
+ </LinearLayout >
116
+
117
+ </RelativeLayout >
0 commit comments