token.xml revision 93bbdbcdaef6346e4697e36fbef952edf254d6a0
<?xml version="1.0" encoding="utf-8"?>
<!--
- FreeOTP
-
- Authors: Nathaniel McCallum <npmccallum@redhat.com>
-
- Copyright (C) 2013 Nathaniel McCallum, Red Hat
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-->
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:freeotp="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<ImageView
android:layout_width="96dp"
android:layout_height="96dp"
android:layout_gravity="left"
android:scaleType="fitCenter"
/>
android:id="@+id/progressInner"
android:layout_width="96dp"
android:layout_height="96dp"
android:padding="28dp"
freeotp:hollow="false"
freeotp:max="1000"
/>
android:id="@+id/progressOuter"
android:layout_width="96dp"
android:layout_height="96dp"
android:padding="24dp"
freeotp:hollow="true"
freeotp:max="1000"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginLeft="96dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:gravity="left|center"
android:text="01234567"
android:textSize="34sp"
android:textStyle="bold"
android:typeface="monospace"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginLeft="96dp"
android:layout_marginTop="48dp"
android:paddingLeft="8dp"
android:paddingRight="32dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="4dp"
android:ellipsize="end"
android:gravity="left|center"
android:singleLine="true"
android:text="example@example.com"
android:textColor="@android:color/primary_text_light"
android:textSize="16sp"
android:textStyle="bold"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="left|center"
android:singleLine="true"
android:text="eb40924b-1d13-4807-9a76-30eb7ffa7eba"
android:textColor="@android:color/secondary_text_light"
android:textSize="12sp"
android:textStyle="normal"
/>
</LinearLayout>
<ImageView
android:layout_width="32dp"
android:layout_height="48dp"
android:layout_gravity="bottom|right"
android:paddingTop="12dp"
android:paddingBottom="12dp"
/>