]> Pileus Git - ~andy/freeotp/blob - res/layout/common.xml
Bump versionCode
[~andy/freeotp] / res / layout / common.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- 
3    - FreeOTP
4    -
5    - Authors: Nathaniel McCallum <npmccallum@redhat.com>
6    -
7    - Copyright (C) 2013  Nathaniel McCallum, Red Hat
8    -
9    - Licensed under the Apache License, Version 2.0 (the "License");
10    - you may not use this file except in compliance with the License.
11    - You may obtain a copy of the License at
12    -
13    -     http://www.apache.org/licenses/LICENSE-2.0
14    -
15    - Unless required by applicable law or agreed to in writing, software
16    - distributed under the License is distributed on an "AS IS" BASIS,
17    - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18    - See the License for the specific language governing permissions and
19    - limitations under the License.
20    -->
21
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23     android:layout_width="0dp"
24     android:layout_height="72dp"
25     android:layout_weight="1"
26     android:orientation="vertical" >
27
28     <TextView
29         android:id="@+id/title"
30         android:layout_width="match_parent"
31         android:layout_height="26dp"
32         android:gravity="center_vertical|left"
33         android:paddingTop="4dp"
34         android:paddingLeft="8dp"
35         android:text="Example: example@example.com"
36         android:textSize="14sp" />
37     
38     <LinearLayout
39             android:layout_width="match_parent"
40             android:layout_height="46dp"
41             android:orientation="horizontal" >
42             <ImageButton
43                 android:id="@+id/button"
44             android:layout_width="46dp"
45             android:layout_height="46dp"
46             android:layout_marginLeft="8dp"
47             android:src="@drawable/delete"
48             style="?android:attr/borderlessButtonStyle"
49             android:layout_gravity="center" />
50             
51             <TextView
52                 android:id="@+id/code"
53                 android:layout_width="match_parent"
54                 android:layout_height="46dp"
55                 android:gravity="center_vertical|left"
56                 android:padding="0dp"
57                 android:text="00000000"
58                 android:textSize="34sp"
59                 android:typeface="monospace" />
60         </LinearLayout>
61     
62 </LinearLayout>