2011-07-16 15:25:12 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2013-06-26 04:22:07 -04:00
|
|
|
<!--
|
|
|
|
~ Copyright 2013 serso aka se.solovyev
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
~
|
|
|
|
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
~ Contact details
|
|
|
|
~
|
|
|
|
~ Email: se.solovyev@gmail.com
|
|
|
|
~ Site: http://se.solovyev.org
|
|
|
|
-->
|
|
|
|
|
2011-07-16 15:25:12 -04:00
|
|
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
2013-06-26 04:22:07 -04:00
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:orientation="vertical"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:background="#ff000000">
|
2011-09-10 14:20:58 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/simplePad"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:orientation="vertical"
|
|
|
|
a:layout_gravity="center">
|
2013-06-14 16:31:49 -04:00
|
|
|
|
|
|
|
<LinearLayout
|
2013-06-26 04:22:07 -04:00
|
|
|
a:layout_weight="1"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="0dp">
|
2013-06-14 16:31:49 -04:00
|
|
|
|
|
|
|
<ImageView
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/calibrationArrowLeft"
|
|
|
|
a:layout_gravity="left"
|
|
|
|
a:layout_width="80dp"
|
|
|
|
a:layout_height="80dp"/>
|
2013-06-14 16:31:49 -04:00
|
|
|
|
|
|
|
<org.solovyev.android.view.drag.DirectionDragButton
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/calibrationButtonLeft"
|
|
|
|
a:text=""
|
|
|
|
c:textUp="@string/c_up"
|
|
|
|
c:textDown="@string/c_down"
|
|
|
|
a:layout_width="80dp"
|
|
|
|
a:layout_height="80dp"
|
|
|
|
style="?cpp_digit_button_style"/>
|
2013-06-14 16:31:49 -04:00
|
|
|
|
|
|
|
<org.solovyev.android.view.drag.DirectionDragButton
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/calibrationButtonRight"
|
|
|
|
a:text=""
|
|
|
|
c:textUp="@string/c_up"
|
|
|
|
c:textDown="@string/c_down"
|
|
|
|
a:layout_width="80dp"
|
|
|
|
a:layout_height="80dp"
|
|
|
|
style="?cpp_digit_button_style"/>
|
2013-06-14 16:31:49 -04:00
|
|
|
|
|
|
|
<ImageView
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/calibrationArrowRight"
|
|
|
|
a:layout_gravity="right"
|
|
|
|
a:layout_width="80dp"
|
|
|
|
a:layout_height="80dp"/>
|
2011-09-10 14:20:58 -04:00
|
|
|
</LinearLayout>
|
2011-07-17 16:29:54 -04:00
|
|
|
</LinearLayout>
|
2011-07-16 15:25:12 -04:00
|
|
|
|
2013-06-14 16:31:49 -04:00
|
|
|
<Button
|
2013-06-26 04:22:07 -04:00
|
|
|
a:id="@+id/calibrationStart"
|
|
|
|
a:text="@string/c_restart"
|
|
|
|
a:layout_width="wrap_content"
|
|
|
|
a:layout_height="wrap_content"
|
|
|
|
a:onClick="restartClickHandler"
|
|
|
|
a:layout_gravity="bottom"/>
|
2011-07-16 15:25:12 -04:00
|
|
|
</LinearLayout>
|