notificationcell.xml revision 0040712a8beeb4903e52791db304c51f62487ec3
0N/A<?xml version="1.0" encoding="utf-8"?>
2362N/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 2016 ForgeRock AS.
0N/A -->
0N/A<com.forgerock.authenticator.notifications.NotificationLayout xmlns:android="http://schemas.android.com/apk/res/android"
0N/A android:layout_width="match_parent"
2362N/A android:layout_height="78dp"
2362N/A xmlns:tools="http://schemas.android.com/tools"
2362N/A android:background="@drawable/token">
0N/A <RelativeLayout
0N/A android:layout_width="match_parent"
0N/A android:layout_height="match_parent">
0N/A <ImageView
0N/A android:id="@+id/image"
0N/A android:layout_width="78dp"
0N/A android:layout_height="78dp"
0N/A android:padding="24dp"
0N/A android:layout_gravity="left"
0N/A android:src="@drawable/forgerock_icon_pending"
0N/A android:scaleType="fitCenter"
0N/A />
0N/A
0N/A <LinearLayout
0N/A android:id="@+id/text"
0N/A android:layout_width="wrap_content"
0N/A android:layout_height="wrap_content"
0N/A android:layout_toRightOf="@id/image"
0N/A android:layout_toEndOf="@id/image"
0N/A android:layout_centerVertical="true"
0N/A android:orientation="vertical">
0N/A <TextView
0N/A android:id="@+id/info"
0N/A android:text="@string/authentication_request"
0N/A android:textStyle="bold"
0N/A android:layout_width="wrap_content"
0N/A android:layout_height="wrap_content" />
0N/A <TextView
0N/A android:id="@+id/status"
0N/A tools:text="Pending"
0N/A android:layout_width="wrap_content"
0N/A android:layout_height="wrap_content" />
0N/A
0N/A </LinearLayout>
0N/A
0N/A <TextView
0N/A android:id="@+id/time"
0N/A tools:text="10 minutes ago"
0N/A android:gravity="end"
0N/A android:layout_toRightOf="@+id/text"
0N/A android:layout_width="wrap_content"
0N/A android:layout_height="wrap_content"
0N/A android:layout_alignParentRight="true"
0N/A android:layout_marginLeft="10dp"
0N/A android:layout_marginRight="10dp"
0N/A android:layout_centerVertical="true" />
0N/A </RelativeLayout>
0N/A</com.forgerock.authenticator.notifications.NotificationLayout>
0N/A