Light Wizard theme
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
android:id="@+id/pager_indicator"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
my:radius="5dp" />
|
||||
my:radius="5dp"
|
||||
my:fillColor="?attr/colorAccent"/>
|
||||
|
||||
</LinearLayout>
|
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
~ 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
|
||||
-->
|
||||
<org.solovyev.android.calculator.drag.DirectionDragButton a:id="@id/cpp_button_equals"
|
||||
style="?attr/cpp_button_style_control"
|
||||
xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
xmlns:c="http://schemas.android.com/apk/res-auto"
|
||||
a:text="="
|
||||
a:textColor="?android:attr/textColorPrimary"
|
||||
c:directionTextColor="?android:attr/textColorPrimary"
|
||||
c:directionTextScale="0.5;0.5;0.33;0.5"
|
||||
c:textDown="@string/cpp_plot_button_text"
|
||||
a:background="@drawable/button_no_bg"
|
||||
c:textUp="≡" />
|
@@ -63,7 +63,7 @@
|
||||
c:directionTextScale="0.5"
|
||||
a:layout_width="100dp"
|
||||
a:layout_height="100dp"
|
||||
style="?attr/cpp_button_style_digit" />
|
||||
style="?attr/cpp_button_style_operation" />
|
||||
</FrameLayout>
|
||||
|
||||
<TextView
|
||||
|
@@ -30,6 +30,22 @@
|
||||
a:padding="3dp"
|
||||
a:background="?attr/cpp_main_bg">
|
||||
|
||||
<LinearLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
a:orientation="horizontal">
|
||||
|
||||
<include layout="@layout/cpp_app_button_equals_no_bg" />
|
||||
|
||||
<TextView
|
||||
a:layout_width="0dp"
|
||||
a:layout_height="match_parent"
|
||||
style="@style/CppText.Display"
|
||||
a:text="3.1415"
|
||||
a:layout_weight="2"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
a:layout_width="match_parent"
|
||||
a:layout_height="wrap_content"
|
||||
|
@@ -51,11 +51,10 @@
|
||||
a:layout_weight="0"
|
||||
a:layout_gravity="center"
|
||||
a:id="@+id/wizard_dragbutton"
|
||||
a:background="@drawable/cpp_wizard_button_selector"
|
||||
a:text="9"
|
||||
c:textDown="^2"
|
||||
c:textUp="%"
|
||||
c:directionTextScale="0.5;0.5;0.5;0.33"
|
||||
style="?attr/cpp_button_style_control" />
|
||||
style="?attr/cpp_button_style_operation" />
|
||||
|
||||
</LinearLayout>
|
||||
|
@@ -43,7 +43,7 @@
|
||||
a:baselineAligned="false">
|
||||
|
||||
<include
|
||||
layout="@layout/cpp_app_button_equals"
|
||||
layout="@layout/cpp_app_button_equals_no_bg"
|
||||
a:layout_width="0dp"
|
||||
a:layout_height="match_parent"
|
||||
a:layout_weight="1" />
|
||||
|
Reference in New Issue
Block a user