notificationcell.xml revision efafbd2aa55b834f714882683fa864a0ac9e64aa
<?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.notifications.NotificationLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/token"
>
<ImageView
android:id="@+id/image"
android:layout_width="96dp"
android:layout_height="96dp"
android:layout_gravity="left"
android:src="@drawable/forgerock_logo"
android:scaleType="fitCenter"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="96dp"
android:layout_marginTop="10dp"
android:paddingLeft="8dp"
android:paddingRight="32dp"
android:orientation="vertical">
<TextView
android:id="@+id/issuer"
android:text="issuer"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/message"
android:text="message"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/time"
android:text="time"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</com.forgerock.authenticator.notifications.NotificationLayout>