android-calculatorpp/res/layout-land/main_cellphone.xml

119 lines
4.7 KiB
XML
Raw Normal View History

2011-06-23 17:09:13 -04:00
<?xml version="1.0" encoding="utf-8"?>
2011-09-10 14:20:58 -04:00
<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-09-10 14:20:58 -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
2011-10-20 06:57:59 -04:00
a:layout_width="fill_parent"
a:layout_height="fill_parent"
a:id="@+id/ad_parent_view"
2011-09-10 18:38:45 -04:00
a:orientation="vertical"
a:layout_gravity="center">
2011-09-10 14:20:58 -04:00
2011-10-08 08:43:13 -04:00
<include layout="@layout/calc_editor"/>
2011-09-10 18:38:45 -04:00
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
2012-01-14 17:40:08 -05:00
<org.solovyev.android.view.drag.DirectionDragButton 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-10-15 06:52:05 -04:00
a:id="@+id/leftButton"
2011-12-18 13:38:34 -05:00
c:textUp="◀◀"
a:text="◀"
2011-12-18 13:38:34 -05:00
c:directionTextScale="0.5"
style="?controlButtonStyle"
2011-10-15 06:52:05 -04:00
a:onClick="moveLeftButtonClickHandler"
2011-10-24 15:11:50 -04:00
a:layout_width="0dp"
2011-10-20 06:57:59 -04:00
a:layout_height="fill_parent"
2011-10-24 15:11:50 -04:00
a:layout_weight="1"/>
2011-09-10 14:20:58 -04:00
2011-10-15 06:52:05 -04:00
2012-01-14 17:35:06 -05:00
<org.solovyev.android.view.ColorButton 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-10-15 06:52:05 -04:00
a:id="@+id/eraseButton"
a:drawableTop="@drawable/sym_keyboard_delete"
style="?controlImageButtonStyle"
2011-10-15 06:52:05 -04:00
a:onClick="eraseButtonClickHandler"
2011-10-24 15:11:50 -04:00
a:layout_width="0dp"
2011-10-20 06:57:59 -04:00
a:layout_height="fill_parent"
2011-10-24 15:11:50 -04:00
a:layout_weight="1"/>
2011-10-08 08:43:13 -04:00
2011-10-09 12:22:44 -04:00
<include layout="@layout/calc_display"
2011-10-24 15:11:50 -04:00
a:layout_width="0dp"
2011-10-20 06:57:59 -04:00
a:layout_height="fill_parent"
2011-10-24 15:11:50 -04:00
a:layout_weight="4"/>
2011-09-10 14:20:58 -04:00
<org.solovyev.android.calculator.view.NumeralBasesButton 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-11-22 14:56:46 -05:00
a:id="@+id/clearButton"
2011-12-18 13:38:34 -05:00
c:textUp="dec"
2011-11-22 14:56:46 -05:00
a:text="@string/c_clear"
2011-12-18 13:38:34 -05:00
c:textDown="bin"
c:textLeft="hex"
2011-11-22 14:56:46 -05:00
a:textStyle="bold"
style="?controlImageButtonStyle"
a:onClick="clearButtonClickHandler"
a:layout_width="0dp"
a:layout_height="fill_parent"
a:layout_weight="1"/>
2011-09-13 03:20:17 -04:00
2012-01-14 17:40:08 -05:00
<org.solovyev.android.view.drag.DirectionDragButton 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-10-15 06:52:05 -04:00
a:id="@+id/rightButton"
2011-12-18 13:38:34 -05:00
c:textUp="▶▶"
a:text="▶"
2011-12-18 13:38:34 -05:00
c:directionTextScale="0.5"
style="?controlButtonStyle"
2011-10-15 06:52:05 -04:00
a:onClick="moveRightButtonClickHandler"
2011-10-24 15:11:50 -04:00
a:layout_width="0dp"
2011-10-20 06:57:59 -04:00
a:layout_height="fill_parent"
2011-10-24 15:11:50 -04:00
a:layout_weight="1"/>
2011-09-13 03:20:17 -04:00
2011-09-10 18:38:45 -04:00
</LinearLayout>
2011-10-20 06:57:59 -04:00
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
2011-09-13 03:20:17 -04:00
2011-12-07 17:57:59 -05:00
<include layout="@layout/calc_vars_button"/>
2011-10-26 12:54:05 -04:00
<include layout="@layout/calc_copy_button"/>
2011-10-08 08:43:13 -04:00
<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"/>
2011-10-24 15:11:50 -04:00
<include layout="@layout/calc_equals_button"/>
2011-09-12 16:32:02 -04:00
2011-09-10 18:38:45 -04:00
</LinearLayout>
2011-09-10 14:20:58 -04:00
2011-10-20 06:57:59 -04:00
<LinearLayout a:layout_weight="1" a:layout_width="fill_parent" a:layout_height="0dp">
2011-09-13 03:20:17 -04:00
2011-12-07 17:57:59 -05:00
<include layout="@layout/calc_functions_button"/>
2011-10-26 12:54:05 -04:00
<include layout="@layout/calc_paste_button"/>
2011-10-08 08:43:13 -04:00
<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"/>
2011-12-07 17:57:59 -05:00
<include layout="@layout/calc_round_brackets_button"/>
2011-10-08 08:43:13 -04:00
2011-09-10 18:38:45 -04:00
</LinearLayout>
2011-09-10 14:20:58 -04:00
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
2011-12-07 17:57:59 -05:00
<include layout="@layout/calc_operators_button"/>
2011-10-16 07:11:33 -04:00
<include layout="@layout/calc_donate_button"/>
2011-10-08 08:43:13 -04:00
<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"/>
2011-11-01 17:06:56 -04:00
<include layout="@layout/calc_dot_button"/>
2011-12-07 17:57:59 -05:00
<include layout="@layout/calc_history_button"/>
2011-09-10 14:20:58 -04:00
</LinearLayout>
2011-09-13 03:20:17 -04:00
2011-09-10 18:38:45 -04:00
</LinearLayout>
2011-06-23 17:09:13 -04:00
</LinearLayout>