android-calculatorpp/app/src/main/res/layout/widget_layout.xml
2016-03-27 13:35:42 +02:00

44 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/CppMain.Widget"
a:layout_width="match_parent"
a:layout_height="match_parent"
a:orientation="vertical">
<include
layout="@layout/widget_editor"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="2" />
<LinearLayout
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="1"
a:baselineAligned="false">
<include
layout="@layout/cpp_simple_button_equals"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="1"
tools:ignore="NestedWeights" />
<include
layout="@layout/widget_display"
a:layout_width="0dp"
a:layout_height="match_parent"
a:layout_weight="5" />
</LinearLayout>
<include
layout="@layout/widget_keyboard"
a:layout_width="match_parent"
a:layout_height="0dp"
a:layout_weight="5" />
</LinearLayout>