mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-19 09:54:15 +01:00
AndroidGCS: Add a launcher icon for the SystemAlarms gadget
This commit is contained in:
parent
a5933b7af5
commit
0601fd8b33
BIN
androidgcs/res/drawable-hdpi/ic_alarms.png
Normal file
BIN
androidgcs/res/drawable-hdpi/ic_alarms.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 826 B After Width: | Height: | Size: 800 B |
@ -64,6 +64,18 @@
|
||||
android:background="@android:color/transparent"
|
||||
android:drawableTop="@drawable/ic_logging"
|
||||
android:text="@string/logger_name" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/launch_alarms"
|
||||
android:layout_width="132dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_column="2"
|
||||
android:layout_gravity="right"
|
||||
android:layout_row="2"
|
||||
android:layout_rowSpan="2"
|
||||
android:background="@android:color/transparent"
|
||||
android:drawableTop="@drawable/ic_alarms"
|
||||
android:text="@string/alarms" />
|
||||
|
||||
<Space
|
||||
android:layout_width="1dp"
|
||||
|
@ -3,28 +3,14 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<org.openpilot.androidgcs.CompassView
|
||||
android:id="@+id/compass_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<org.openpilot.androidgcs.CompassView
|
||||
android:id="@+id/compass_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<org.openpilot.androidgcs.AttitudeView
|
||||
android:id="@+id/attitude_view"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<com.MobileAnarchy.Android.Widgets.Joystick.DualJoystickView
|
||||
android:id="@+id/dualjoystickView"
|
||||
<org.openpilot.androidgcs.AttitudeView
|
||||
android:id="@+id/attitude_view"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="175dip"
|
||||
android:layout_marginTop="5dip" >
|
||||
</com.MobileAnarchy.Android.Widgets.Joystick.DualJoystickView>
|
||||
|
||||
android:layout_height="fill_parent" />
|
||||
</LinearLayout>
|
||||
|
@ -27,4 +27,7 @@
|
||||
<string name="save_button">Save</string>
|
||||
<string name="send_button">Send</string>
|
||||
<string name="manual_control_values_">Manual control values:</string>
|
||||
<string name="number_of_objects">Number of objects</string>
|
||||
<string name="number_of_bytes">Number of bytes</string>
|
||||
<string name="alarms">Alarms</string>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user