tokencell.xml revision 0e0ba29d821e3fd319cd285ce2db7a25a477f8f0
0N/A<?xml version="1.0" encoding="utf-8"?>
3261N/A<!--
0N/A The contents of this file are subject to the terms of the Common Development and
0N/A Distribution License (the License). You may not use this file except in compliance with the
0N/A License.
0N/A
0N/A You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A specific language governing permission and limitations under the License.
0N/A
0N/A When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A information: "Portions copyright [year] [name of copyright owner]".
0N/A
0N/A Copyright 2015-2016 ForgeRock AS.
0N/A
0N/A Portions Copyright 2013 Nathaniel McCallum, Red Hat
0N/A-->
2362N/A<com.forgerock.authenticator.mechanisms.oath.OathLayout
2362N/A xmlns:android="http://schemas.android.com/apk/res/android"
2362N/A xmlns:freeotp="http://schemas.android.com/apk/res-auto"
0N/A android:layout_width="match_parent"
0N/A android:layout_height="96dp"
0N/A android:background="@drawable/token"
0N/A >
0N/A <RelativeLayout
0N/A android:layout_width="match_parent"
0N/A android:layout_height="match_parent">
2495N/A <com.forgerock.authenticator.ui.MechanismIcon
0N/A android:id="@+id/icon"
0N/A android:layout_width="wrap_content"
0N/A android:layout_height="wrap_content"
0N/A android:layout_gravity="center_vertical"
0N/A android:layout_centerVertical="true" />
0N/A
0N/A <com.forgerock.authenticator.ui.ProgressCircle
android:id="@+id/progressOuter"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="5dp"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:layout_centerVertical="true"
freeotp:hollow="true"
freeotp:max="1000"
/>
<ImageButton
android:id="@+id/refresh"
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="5dp"
android:background="@color/white"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginRight="16dp"
android:layout_marginEnd="16dp"
android:layout_centerVertical="true"
android:src="@drawable/forgerock_icon_refresh"
/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:orientation="vertical"
android:layout_marginLeft="60dp">
<TextView
android:layout_width="match_parent"
android:layout_height="32dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:gravity="left|center"
android:text="One-time Password"
android:textSize="20sp"
/>
<TextView
android:id="@+id/code"
android:layout_width="match_parent"
android:layout_height="40dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:gravity="left|bottom"
android:text="123 456"
android:textSize="34sp"
android:textStyle="bold"
android:typeface="monospace"
/>
</LinearLayout>
</RelativeLayout>
</com.forgerock.authenticator.mechanisms.oath.OathLayout>