mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-11 19:24:10 +01:00
5ec44d3407
Conflicts: androidgcs/AndroidManifest.xml androidgcs/res/layout/gcs_home.xml androidgcs/res/values/strings.xml androidgcs/src/org/openpilot/androidgcs/HomePage.java
115 lines
3.9 KiB
XML
115 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_gravity="center_horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/launch_object_browser"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="0"
|
|
android:layout_gravity="center"
|
|
android:layout_row="0"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_browser"
|
|
android:text="@string/object_browser_name" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_location"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="1"
|
|
android:layout_gravity="center"
|
|
android:layout_row="0"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_map"
|
|
android:text="@string/location_name" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_pfd"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="0"
|
|
android:layout_gravity="center"
|
|
android:layout_row="2"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_pfd"
|
|
android:text="@string/pfd_name" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_controller"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="1"
|
|
android:layout_gravity="right"
|
|
android:layout_row="2"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_controller"
|
|
android:text="@string/controller_name" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_logger"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="0"
|
|
android:layout_gravity="right"
|
|
android:layout_row="4"
|
|
android:layout_rowSpan="2"
|
|
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="1"
|
|
android:layout_gravity="right"
|
|
android:layout_row="4"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_alarms"
|
|
android:text="@string/alarms" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_tester"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_row="6"
|
|
android:layout_column="0"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_alarms"
|
|
android:text="@string/tester" />
|
|
|
|
<Button
|
|
android:id="@+id/launch_osgViewer"
|
|
android:layout_width="132dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_column="1"
|
|
android:layout_gravity="right"
|
|
android:layout_row="6"
|
|
android:layout_rowSpan="2"
|
|
android:background="@android:color/transparent"
|
|
android:drawableTop="@drawable/ic_alarms"
|
|
android:text="@string/_3dview" />
|
|
|
|
<Space
|
|
android:layout_width="1dp"
|
|
android:layout_height="32dp"
|
|
android:layout_column="0"
|
|
android:layout_row="0" />
|
|
|
|
<Space
|
|
android:layout_width="100dp"
|
|
android:layout_height="69dp"
|
|
android:layout_row="1" />
|
|
|
|
</GridLayout>
|