]> Pileus Git - ~andy/freeotp/blob - res/layout/totp.xml
da8dfcf18b87f7b070f8996536cc07ed6a9412e5
[~andy/freeotp] / res / layout / totp.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    - see file 'COPYING' for use and warranty information
9    -
10    - This program is free software you can redistribute it and/or modify
11    - it under the terms of the GNU General Public License as published by
12    - the Free Software Foundation, either version 3 of the License, or
13    - (at your option) any later version.
14    -
15    - This program is distributed in the hope that it will be useful,
16    - but WITHOUT ANY WARRANTY; without even the implied warranty of
17    - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18    - GNU General Public License for more details.
19    -
20    - You should have received a copy of the GNU General Public License
21    - along with this program.  If not, see <http://www.gnu.org/licenses/>.
22   -->
23   
24 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
25     android:layout_width="match_parent"
26     android:layout_height="match_parent"
27     android:paddingLeft="8dp"
28     android:orientation="horizontal" >
29
30     <include layout="@layout/common" />
31     
32     <View
33         android:layout_width="1dp"
34         android:layout_height="72dp"
35         android:paddingTop="8dp"
36         android:paddingBottom="4dp"
37         android:background="?android:attr/dividerVertical"
38         />
39
40     <org.fedorahosted.freeotp.CircleProgressBar
41         android:id="@+id/totpProgressBar"
42         android:layout_width="72dp"
43         android:layout_height="72dp"
44         android:padding="24dp"
45         android:max="1000"
46         style="@android:style/Widget.ProgressBar.Horizontal"
47         />
48 </LinearLayout>