2011-06-23 17:09:13 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-09-10 14:20:58 -04:00
|
|
|
|
2012-04-21 09:14:17 -04:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:layout_width="fill_parent"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:id="@+id/ad_parent_view"
|
|
|
|
a:orientation="vertical"
|
|
|
|
a:layout_gravity="center"
|
|
|
|
a:background="#ff000000">
|
|
|
|
|
|
|
|
<include layout="@layout/calc_editor"/>
|
|
|
|
|
|
|
|
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
|
|
|
|
|
|
|
|
<org.solovyev.android.view.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:id="@+id/leftButton"
|
|
|
|
c:textUp="◀◀"
|
|
|
|
a:text="◀"
|
|
|
|
c:directionTextScale="0.5"
|
|
|
|
style="?controlButtonStyle"
|
|
|
|
a:onClick="moveLeftButtonClickHandler"
|
|
|
|
a:layout_width="0dp"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
<org.solovyev.android.view.ColorButton xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:id="@+id/eraseButton"
|
|
|
|
a:drawableTop="@drawable/sym_keyboard_delete"
|
|
|
|
style="?controlImageButtonStyle"
|
|
|
|
a:onClick="eraseButtonClickHandler"
|
|
|
|
a:layout_width="0dp"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"/>
|
|
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/calc_display"
|
|
|
|
a:layout_width="0dp"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="4"/>
|
|
|
|
|
|
|
|
<org.solovyev.android.calculator.view.NumeralBasesButton xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:id="@+id/clearButton"
|
|
|
|
c:textUp="dec"
|
|
|
|
a:text="@string/c_clear"
|
|
|
|
c:textDown="bin"
|
|
|
|
c:textLeft="hex"
|
|
|
|
a:textStyle="bold"
|
|
|
|
style="?controlImageButtonStyle"
|
|
|
|
a:onClick="clearButtonClickHandler"
|
|
|
|
a:layout_width="0dp"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"/>
|
|
|
|
|
|
|
|
<org.solovyev.android.view.drag.DirectionDragButton xmlns:a="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:c="http://schemas.android.com/apk/res/org.solovyev.android.calculator"
|
|
|
|
a:id="@+id/rightButton"
|
|
|
|
c:textUp="▶▶"
|
|
|
|
a:text="▶"
|
|
|
|
c:directionTextScale="0.5"
|
|
|
|
style="?controlButtonStyle"
|
|
|
|
a:onClick="moveRightButtonClickHandler"
|
|
|
|
a:layout_width="0dp"
|
|
|
|
a:layout_height="fill_parent"
|
|
|
|
a:layout_weight="1"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
|
|
|
|
|
|
|
|
<include layout="@layout/calc_vars_button"/>
|
|
|
|
<include layout="@layout/calc_copy_button"/>
|
|
|
|
<include layout="@layout/calc_one_digit_button"/>
|
|
|
|
<include layout="@layout/calc_two_digit_button"/>
|
|
|
|
<include layout="@layout/calc_three_digit_button"/>
|
|
|
|
<include layout="@layout/calc_multiplication_button"/>
|
|
|
|
<include layout="@layout/calc_division_button"/>
|
|
|
|
<include layout="@layout/calc_equals_button"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
|
|
|
|
|
|
|
|
<include layout="@layout/calc_functions_button"/>
|
|
|
|
<include layout="@layout/calc_paste_button"/>
|
|
|
|
<include layout="@layout/calc_four_digit_button"/>
|
|
|
|
<include layout="@layout/calc_five_digit_button"/>
|
|
|
|
<include layout="@layout/calc_six_digit_button"/>
|
|
|
|
<include layout="@layout/calc_plus_button"/>
|
|
|
|
<include layout="@layout/calc_subtraction_button"/>
|
|
|
|
<include layout="@layout/calc_round_brackets_button"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
|
|
|
|
|
|
|
|
<include layout="@layout/calc_operators_button"/>
|
|
|
|
<include layout="@layout/calc_donate_button"/>
|
|
|
|
<include layout="@layout/calc_seven_digit_button"/>
|
|
|
|
<include layout="@layout/calc_eight_digit_button"/>
|
|
|
|
<include layout="@layout/calc_nine_digit_button"/>
|
|
|
|
<include layout="@layout/calc_zero_digit_button"/>
|
|
|
|
<include layout="@layout/calc_dot_button"/>
|
|
|
|
<include layout="@layout/calc_history_button"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2011-06-23 17:09:13 -04:00
|
|
|
</LinearLayout>
|