1
0
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:
James Cotton 2012-08-06 05:57:56 -05:00
parent a5933b7af5
commit 0601fd8b33
5 changed files with 23 additions and 22 deletions

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

View File

@ -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"

View File

@ -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>

View File

@ -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>