android-calculatorpp/app/src/main/res/layout/main_calculator.xml

69 lines
1.9 KiB
XML
Raw Normal View History

2012-10-26 15:29:05 -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
2012-10-26 15:29:05 -04:00
-->
2015-02-09 10:11:26 -05:00
<LinearLayout
2016-01-04 06:39:25 -05:00
xmlns:a="http://schemas.android.com/apk/res/android"
2016-02-06 10:14:19 -05:00
a:id="@+id/main"
2016-01-04 06:39:25 -05:00
style="@style/CppMain"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
<LinearLayout
2016-02-06 10:14:19 -05:00
a:id="@+id/editor"
2016-01-04 06:39:25 -05:00
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="2"
a:orientation="horizontal" />
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
<LinearLayout
2016-02-06 10:14:19 -05:00
a:id="@+id/partial_keyboard"
2016-01-04 06:39:25 -05:00
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:baselineAligned="false">
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
<include
layout="@layout/cpp_app_button_equals_no_bg"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1" />
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
<FrameLayout
2016-02-06 10:14:19 -05:00
a:id="@+id/display"
2016-01-04 06:39:25 -05:00
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="4" />
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
</LinearLayout>
2013-06-14 16:31:49 -04:00
2016-01-04 06:39:25 -05:00
<LinearLayout
2016-02-06 10:14:19 -05:00
a:id="@+id/keyboard"
2016-01-04 06:39:25 -05:00
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="5"
a:orientation="vertical" />
2012-10-26 15:29:05 -04:00
</LinearLayout>