<?xml version="1.0" encoding="utf-8"?>
<!--
~ The contents of this file are subject to the terms of the Common Development and
~ Distribution License (the License). You may not use this file except in compliance with the
~ License.
~
~ You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
~ specific language governing permission and limitations under the License.
~
~ When distributing Covered Software, include this CDDL Header Notice in each file and include
~ the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
~ Header, with the fields enclosed by brackets [] replaced by your own identifying
~ information: "Portions copyright [year] [name of copyright owner]".
~
~ Copyright 2016 ForgeRock AS.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/header"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="180dp"
android:background="@color/account_background">
<ImageButton
android:id="@+id/cancel"
android:src="@drawable/forgerock_icon_deny"
android:layout_gravity="right"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:layout_width="25dp"
android:layout_height="25dp" />
<Space
android:layout_width="match_parent"
android:layout_height="20dp" />
<com.forgerock.authenticator.ui.CircleImageView
android:id="@+id/image"
android:layout_width="96dp"
android:layout_height="96dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/forgerock_placeholder"
android:scaleType="fitCenter"
android:layout_weight="5"
/>
<TextView
android:id="@+id/question"
android:textColor="@color/white"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_gravity="center_horizontal"
tools:text="Log into placeholder?"
android:textSize="15sp"
android:layout_weight="2"
/>
<Space
android:layout_width="match_parent"
android:layout_height="20dp" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:background="@color/light_gray"
android:layout_above="@+id/seperator">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:weightSum="1">
<Space
android:layout_width="1dp"
android:layout_height="1dp"
android:layout_weight="0.15"/>
<com.forgerock.authenticator.ui.ConfirmationSwipeBar
android:id="@+id/slideToConfirm"
android:gravity="center_horizontal"
android:paddingLeft="40dip"
android:paddingRight="40dip"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:maxHeight="5dp"
android:layout_weight="0.7"
android:clickable="false"
android:max="100"
android:progress="0"
android:progressDrawable="@android:color/darker_gray"
android:thumb="@drawable/confirmation_thumb" />
<Space
android:layout_width="1dp"
android:layout_height="1dp"
android:layout_weight="0.15"/>
</LinearLayout>
</RelativeLayout>
<View
android:id="@+id/seperator"
android:layout_above="@+id/moreinfolayout"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/moreinfolayout"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true">
<TextView
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:layout_marginStart="20dp"
android:text="@string/push_authorize" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>