<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
    android:id="@+id/viewGroup"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/bottom_border"
            android:paddingBottom="@dimen/spacing_normal"
            android:paddingTop="@dimen/spacing_normal">

            <android.support.v7.widget.AppCompatImageView
                android:id="@+id/close"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="start|center"
                android:layout_marginStart="@dimen/spacing_xs_large"
                android:background="?selectableItemBackgroundBorderless"
                android:paddingBottom="@dimen/spacing_micro"
                android:paddingTop="@dimen/spacing_micro"
                android:src="@drawable/ic_back"/>

            <com.fastaccess.ui.widgets.FontTextView
                style="@style/TextAppearance.AppCompat.Title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginStart="@dimen/keyline_1"
                android:text="@string/fasthub_premium_features"/>
        </FrameLayout>


        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:paddingBottom="@dimen/spacing_normal"
                    android:paddingTop="@dimen/spacing_normal">

                    <FrameLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="?selectableItemBackground"
                        android:orientation="horizontal"
                        android:paddingBottom="@dimen/spacing_micro"
                        android:paddingTop="@dimen/spacing_micro">

                        <android.support.v7.widget.AppCompatImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:layout_marginStart="@dimen/spacing_xs_large"
                            android:src="@drawable/ic_group"/>

                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:paddingEnd="@dimen/spacing_xs_large"
                            android:paddingStart="@dimen/keyline_1">

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/TextAppearance.AppCompat.Subhead"
                                android:layout_width="0dp"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"
                                android:text="@string/enterprise"
                                android:textColor="@color/search_tab_highlighter"/>

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/Base.TextAppearance.AppCompat.Subhead"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="$ 5.99"
                                android:textColor="@color/material_red_700"/>
                        </LinearLayout>

                    </FrameLayout>

                    <com.fastaccess.ui.widgets.FontTextView
                        style="@style/Base.TextAppearance.AppCompat.Small"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:paddingEnd="@dimen/spacing_xs_large"
                        android:paddingStart="@dimen/keyline_1"
                        android:text="@string/enterprise_pro_description"/>

                    <com.fastaccess.ui.widgets.FontButton
                        android:id="@+id/buyEnterprise"
                        style="@style/Widget.AppCompat.Button.Borderless.Colored"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="end"
                        android:layout_marginEnd="@dimen/spacing_normal"
                        android:text="@string/purchase"/>

                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:paddingBottom="@dimen/spacing_normal"
                    android:paddingTop="@dimen/spacing_normal">

                    <FrameLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="?selectableItemBackground"
                        android:orientation="horizontal"
                        android:paddingBottom="@dimen/spacing_micro"
                        android:paddingTop="@dimen/spacing_micro">

                        <android.support.v7.widget.AppCompatImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:layout_marginStart="@dimen/spacing_xs_large"
                            android:src="@drawable/ic_repo"/>

                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:paddingEnd="@dimen/spacing_xs_large"
                            android:paddingStart="@dimen/keyline_1">

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/TextAppearance.AppCompat.Subhead"
                                android:layout_width="0dp"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"
                                android:text="@string/pro_features"
                                android:textColor="@color/search_tab_highlighter"/>

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/Base.TextAppearance.AppCompat.Subhead"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="$ 3.99"
                                android:textColor="@color/material_red_700"/>
                        </LinearLayout>
                    </FrameLayout>

                    <com.fastaccess.ui.widgets.FontTextView
                        style="@style/Base.TextAppearance.AppCompat.Small"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:paddingEnd="@dimen/spacing_xs_large"
                        android:paddingStart="@dimen/keyline_1"
                        android:text="@string/pro_features_list"/>

                    <com.fastaccess.ui.widgets.FontButton
                        android:id="@+id/buyPro"
                        style="@style/Widget.AppCompat.Button.Borderless.Colored"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="end"
                        android:layout_marginEnd="@dimen/spacing_normal"
                        android:text="@string/purchase"/>
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:paddingBottom="@dimen/spacing_normal"
                    android:paddingTop="@dimen/spacing_normal">

                    <FrameLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:background="?selectableItemBackground"
                        android:orientation="horizontal"
                        android:paddingBottom="@dimen/spacing_micro"
                        android:paddingTop="@dimen/spacing_micro">

                        <android.support.v7.widget.AppCompatImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:layout_marginStart="@dimen/spacing_xs_large"
                            android:src="@drawable/ic_unlock"/>

                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_gravity="start|center"
                            android:paddingEnd="@dimen/spacing_xs_large"
                            android:paddingStart="@dimen/keyline_1">

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/TextAppearance.AppCompat.Subhead"
                                android:layout_width="0dp"
                                android:layout_height="wrap_content"
                                android:layout_weight="1"
                                android:text="@string/unlock_everything"
                                android:textColor="@color/search_tab_highlighter"/>

                            <com.fastaccess.ui.widgets.FontTextView
                                style="@style/Base.TextAppearance.AppCompat.Subhead"
                                android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
                                android:text="$ 0.00"
                                android:textColor="@color/material_red_700"/>
                        </LinearLayout>
                    </FrameLayout>

                    <com.fastaccess.ui.widgets.FontEditText
                        android:id="@+id/editText"
                        style="@style/Base.TextAppearance.AppCompat.Small"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginEnd="@dimen/spacing_xs_large"
                        android:layout_marginStart="@dimen/keyline_1"
                        android:hint="@string/secret_code"
                        android:imeOptions="actionDone"
                        android:inputType="textWebEditText"
                        android:singleLine="true"/>

                    <com.fastaccess.ui.widgets.FontButton
                        android:id="@+id/unlock"
                        style="@style/Widget.AppCompat.Button.Borderless.Colored"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="end"
                        android:layout_marginEnd="@dimen/spacing_normal"
                        android:text="@string/unlock"/>
                </LinearLayout>
            </LinearLayout>
        </ScrollView>

        <com.fastaccess.ui.widgets.FontButton
            android:id="@+id/buyAll"
            style="@style/Widget.AppCompat.ButtonBar"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="?selectableItemBackground"
            android:text="@string/purchase_all"
            android:textColor="@color/material_red_700"/>

    </LinearLayout>

    <LinearLayout
        android:id="@+id/progressLayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?android:windowBackground"
        android:gravity="center"
        android:visibility="gone">

        <ProgressBar
            style="?android:progressBarStyleLarge"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>

    </LinearLayout>

</FrameLayout>