android-calculatorpp/res/layout/drag_button_calibration.xml

54 lines
1.8 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"
xmlns:calc="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
a:orientation="vertical"
2011-09-10 14:20:58 -04:00
a:layout_width="match_parent"
a:layout_height="match_parent"
a:background="#ff000000">
<LinearLayout
a:id="@+id/simplePad"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical"
a:layout_gravity="center">
<LinearLayout a:layout_weight="1" a:layout_width="match_parent" a:layout_height="0dp">
<ImageView a:id="@+id/calibrationArrowLeft"
a:layout_gravity="left"
a:layout_width="80dp"
a:layout_height="80dp"/>
2011-09-19 04:36:12 -04:00
<org.solovyev.android.view.widgets.DirectionDragButton a:id="@+id/calibrationButtonLeft"
2011-09-10 14:20:58 -04:00
a:text=""
calc:textUp="@string/c_up"
calc:textDown="@string/c_down"
a:layout_width="80dp"
a:layout_height="80dp"
2011-09-13 03:20:17 -04:00
style="@style/digit_button_style"/>
2011-09-10 14:20:58 -04:00
2011-09-19 04:36:12 -04:00
<org.solovyev.android.view.widgets.DirectionDragButton a:id="@+id/calibrationButtonRight"
2011-09-10 14:20:58 -04:00
a:text=""
calc:textUp="@string/c_up"
calc:textDown="@string/c_down"
a:layout_width="80dp"
a:layout_height="80dp"
2011-09-13 03:20:17 -04:00
style="@style/digit_button_style"/>
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>