]> Pileus Git - ~andy/freeotp/blob - res/layout/camera.xml
Add native camera support
[~andy/freeotp] / res / layout / camera.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:background="@android:color/black" >
6     <SurfaceView
7         android:id="@+id/camera_surfaceview"
8         android:layout_width="match_parent"
9         android:layout_height="match_parent" />
10
11     <TextView
12         android:id="@+id/camera_textview"
13         android:layout_width="wrap_content"
14         android:layout_height="wrap_content"
15         android:layout_gravity="center"
16         android:visibility="invisible"
17         android:textColor="@android:color/primary_text_dark"
18         android:text="@string/error_camera_open"/>
19 </FrameLayout>