<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity"
    android:orientation="vertical">

    <FrameLayout
        android:id="@+id/qmlFrame"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">

    </FrameLayout>
    <FrameLayout
        android:id="@+id/nativeFrame"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/neon">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal|center_vertical"
            android:orientation="horizontal"
            android:weightSum="2">

            <Button
                android:id="@+id/addRow"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margins_top_bottom"
                android:layout_marginBottom="@dimen/margins_top_bottom"
                android:padding="@dimen/padding"
                android:layout_marginLeft="@dimen/button_margins"
                android:layout_marginRight="@dimen/button_margins"
                android:text="@string/addRowText"
                android:layout_weight="1"
                app:cornerRadius="@dimen/corner_radius"
                android:textSize="@dimen/text_size"/>

            <Button
                android:id="@+id/removeRow"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/margins_top_bottom"
                android:layout_marginBottom="@dimen/margins_top_bottom"
                android:padding="@dimen/padding"
                android:layout_marginRight="@dimen/button_margins"
                android:layout_weight="1"
                android:text="@string/removeRowText"
                app:cornerRadius="@dimen/corner_radius"
                android:textSize="@dimen/text_size"/>
        </LinearLayout>
    </FrameLayout>
</LinearLayout>
