pushcell.xml revision d00779d35b3db7493fcdd3f8645e094c5540f4c4
<?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.
-->
<com.forgerock.authenticator.mechanisms.push.PushLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/token"
>
<TextView
android:id="@+id/Type"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginLeft="12dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:gravity="left|center"
android:text="Push"
android:textSize="34sp"
android:textStyle="bold"
android:typeface="monospace"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginLeft="12dp"
android:layout_marginTop="48dp"
android:paddingLeft="8dp"
android:paddingRight="32dp"
android:orientation="vertical">
<include layout="@layout/titles" />
</LinearLayout>
<ImageView
android:id="@+id/menu"
android:layout_width="32dp"
android:layout_height="48dp"
android:layout_gravity="bottom|right"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:src="@drawable/menu"
/>
</com.forgerock.authenticator.mechanisms.push.PushLayout>