2015-06-23 22:44:24 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-07-20 21:53:09 +02:00
|
|
|
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
2015-12-19 04:17:20 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-08-27 18:07:37 +02:00
|
|
|
android:id="@+id/main_layout"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:focusable="true"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:keepScreenOn="true"
|
2015-12-19 04:17:20 +01:00
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
2015-06-23 22:44:24 +02:00
|
|
|
<SurfaceView
|
2015-12-19 04:17:20 +01:00
|
|
|
android:id="@+id/camera_preview"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:layout_centerInParent="true" />
|
|
|
|
|
2015-08-27 18:07:37 +02:00
|
|
|
<com.affectiva.affdexme.DrawingView
|
2015-12-19 04:17:20 +01:00
|
|
|
android:id="@+id/drawing_view"
|
2015-07-13 20:17:57 +02:00
|
|
|
android:layout_width="match_parent"
|
2015-08-27 18:07:37 +02:00
|
|
|
android:layout_height="match_parent"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:layout_centerInParent="true"
|
2015-08-27 18:07:37 +02:00
|
|
|
custom:measurements_color="#DDDDDD"
|
2015-12-19 04:17:20 +01:00
|
|
|
custom:measurements_lower_spacing="@dimen/measurements_lower_text_spacing"
|
2015-08-27 18:07:37 +02:00
|
|
|
custom:measurements_text_border_color="@color/letter_gray"
|
|
|
|
custom:measurements_text_border_thickness="@integer/measurements_text_border_thickness"
|
2015-12-19 04:17:20 +01:00
|
|
|
custom:measurements_text_size="@dimen/measurements_text_size"
|
|
|
|
custom:measurements_upper_spacing="@dimen/measurements_upper_text_spacing" />
|
|
|
|
|
|
|
|
<include
|
2015-08-27 18:07:37 +02:00
|
|
|
android:id="@+id/metric_view_group"
|
2016-10-05 18:34:36 +02:00
|
|
|
layout="@layout/metric_layout"
|
|
|
|
android:layout_height="170dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_centerVertical="true" />
|
2016-01-07 01:32:15 +01:00
|
|
|
|
2015-12-19 04:17:20 +01:00
|
|
|
<include layout="@layout/insufficent_permissions_panel" />
|
2015-07-13 20:17:57 +02:00
|
|
|
|
2015-06-23 22:44:24 +02:00
|
|
|
<RelativeLayout
|
2015-12-19 04:17:20 +01:00
|
|
|
android:id="@+id/progress_bar_cover"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/black">
|
2015-08-20 17:24:17 +02:00
|
|
|
|
|
|
|
<TextView
|
2015-12-19 04:17:20 +01:00
|
|
|
style="@android:style/TextAppearance.Holo.Medium.Inverse"
|
|
|
|
android:id="@+id/please_wait_textview"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:layout_centerHorizontal="true"
|
2015-08-20 17:24:17 +02:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:text="@string/loading"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:textSize="@dimen/please_wait_textview_size" />
|
|
|
|
|
2015-08-20 17:24:17 +02:00
|
|
|
<ProgressBar
|
2015-12-19 04:17:20 +01:00
|
|
|
android:id="@+id/progress_bar"
|
2015-08-20 17:24:17 +02:00
|
|
|
android:layout_width="@dimen/please_wait_textview_size"
|
|
|
|
android:layout_height="@dimen/please_wait_textview_size"
|
|
|
|
android:layout_centerVertical="true"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:layout_toLeftOf="@id/please_wait_textview"
|
2015-08-20 17:24:17 +02:00
|
|
|
android:indeterminate="true"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:paddingRight="10dp" />
|
|
|
|
|
2015-06-23 22:44:24 +02:00
|
|
|
<TextView
|
2015-12-19 04:17:20 +01:00
|
|
|
style="@android:style/TextAppearance.Holo.Medium.Inverse"
|
|
|
|
android:id="@+id/not_found_textview"
|
2015-06-23 22:44:24 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/black"
|
|
|
|
android:gravity="center"
|
2015-12-19 04:17:20 +01:00
|
|
|
android:padding="20sp"
|
|
|
|
android:text="@string/not_found"
|
|
|
|
android:textColor="#CCCCCC"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:visibility="gone" />
|
2015-06-23 22:44:24 +02:00
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|