android-calculatorpp/calculatorpp/res/layout/drag_button_calibration.xml

54 lines
1.7 KiB
XML
Raw Normal View History

2011-07-16 15:25:12 -04:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
2011-12-18 13:38:34 -05:00
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
2011-07-16 15:25:12 -04:00
a:orientation="vertical"
2011-10-20 06:57:59 -04:00
a:layout_width="fill_parent"
a:layout_height="fill_parent"
2011-09-10 14:20:58 -04:00
a:background="#ff000000">
<LinearLayout
a:id="@+id/simplePad"
2011-10-20 06:57:59 -04:00
a:layout_width="fill_parent"
a:layout_height="fill_parent"
2011-09-10 14:20:58 -04:00
a:orientation="vertical"
a:layout_gravity="center">
2011-10-20 06:57:59 -04:00
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
2011-09-10 14:20:58 -04:00
<ImageView a:id="@+id/calibrationArrowLeft"
a:layout_gravity="left"
a:layout_width="80dp"
a:layout_height="80dp"/>
2012-01-14 17:40:08 -05:00
<org.solovyev.android.view.drag.DirectionDragButton a:id="@+id/calibrationButtonLeft"
2011-09-10 14:20:58 -04:00
a:text=""
2011-12-18 13:38:34 -05:00
c:textUp="@string/c_up"
c:textDown="@string/c_down"
2011-09-10 14:20:58 -04:00
a:layout_width="80dp"
a:layout_height="80dp"
style="?digitButtonStyle"/>
2011-09-10 14:20:58 -04:00
2012-01-14 17:40:08 -05:00
<org.solovyev.android.view.drag.DirectionDragButton a:id="@+id/calibrationButtonRight"
2011-09-10 14:20:58 -04:00
a:text=""
2011-12-18 13:38:34 -05:00
c:textUp="@string/c_up"
c:textDown="@string/c_down"
2011-09-10 14:20:58 -04:00
a:layout_width="80dp"
a:layout_height="80dp"
style="?digitButtonStyle"/>
2011-09-10 14:20:58 -04:00
<ImageView a:id="@+id/calibrationArrowRight"
a:layout_gravity="right"
a:layout_width="80dp"
a:layout_height="80dp"/>
</LinearLayout>
2011-07-17 16:29:54 -04:00
</LinearLayout>
2011-07-16 15:25:12 -04:00
<Button a:id="@+id/calibrationStart"
a:text="@string/c_restart"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:onClick="restartClickHandler"
2011-07-17 16:29:54 -04:00
a:layout_gravity="bottom"/>
2011-07-16 15:25:12 -04:00
</LinearLayout>