android-calculatorpp/android-app/res/layout/cpp_wizard_step_drag_button.xml

60 lines
1.8 KiB
XML
Raw Normal View History

2013-06-24 09:38:53 -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
-->
2013-06-24 09:38:53 -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:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
2013-06-24 09:38:53 -04:00
<TextView
2013-07-02 08:43:48 -04:00
a:text="@string/cpp_wizard_dragbutton_description"
2013-06-24 09:38:53 -04:00
a:layout_height="wrap_content"
2013-06-26 04:22:07 -04:00
a:layout_width="match_parent"/>
2013-06-24 09:38:53 -04:00
<TextView
a:id="@+id/wizard_dragbutton_action_textview"
2013-06-26 04:22:07 -04:00
a:layout_marginTop="10dp"
a:textStyle="bold"
2013-06-24 09:38:53 -04:00
a:text="@string/cpp_wizard_dragbutton_action_center"
a:layout_height="wrap_content"
2013-06-26 04:22:07 -04:00
a:layout_width="match_parent"/>
2013-06-24 09:38:53 -04:00
<org.solovyev.android.view.drag.DirectionDragButton
2013-06-26 04:22:07 -04:00
a:layout_margin="30dp"
a:layout_height="100dp"
a:layout_width="100dp"
a:minWidth="100dp"
a:minHeight="100dp"
a:layout_gravity="center"
a:id="@+id/wizard_dragbutton"
a:text="9"
c:textDown="^2"
c:textLeft="sin"
c:textUp="%"
c:directionTextScale="0.5;0.5;0.5;0.33"
style="?cpp_operation_button_style"/>
2013-06-24 09:38:53 -04:00
</LinearLayout>