<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:id="@+id/container"
    tools:context="org.mozilla.samples.fxa.MainActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:orientation="vertical"
        android:id="@+id/buttonList"
        tools:context="org.mozilla.samples.fxa.MainActivity">

        <Button
            style="@style/Mozac.Widgets.NeutralButton"
            android:id="@+id/buttonCustomTabs"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/sign_in_customtabs"
            android:textAlignment="center" />

        <Button
            style="@style/Mozac.Widgets.NeutralButton"
            android:id="@+id/buttonWebView"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/sign_in_webview"
            android:textAlignment="center" />

        <Button
            style="@style/Mozac.Widgets.NeutralButton"
            android:id="@+id/buttonPair"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/sign_in_pair"
            android:textAlignment="center" />

        <Button
            style="@style/Mozac.Widgets.NeutralButton"
            android:id="@+id/buttonLogout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/log_out"
            android:textAlignment="center" />
    </LinearLayout>

    <CheckBox
        android:id="@+id/checkboxKeys"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/buttonList"
        android:text="@string/wants_keys" />

    <TextView
        android:id="@+id/txtView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/checkboxKeys"
        android:layout_gravity="center"
        android:text="" />

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/scanresult"
        android:textColor="#000"
        android:layout_marginTop="10dp"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:text=""/>

</RelativeLayout>
