60 lines
2.3 KiB
XML
60 lines
2.3 KiB
XML
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
|
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
|
|
|
|
<ViewFlipper
|
|
android:id="@+id/flipper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_centerInParent="true">
|
|
|
|
<EditText
|
|
android:id="@+id/txt_gaze_dur"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Gaze Duration (Seconds)"
|
|
android:inputType="number"/>
|
|
|
|
<EditText
|
|
android:id="@+id/txt_bgaze_dur"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Between-Gaze Duration (Seconds)"
|
|
android:inputType="number"/>
|
|
<EditText
|
|
android:id="@+id/txt_ngaze"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Number of Targets"
|
|
android:inputType="number"/>
|
|
|
|
<Button
|
|
android:id="@+id/btn_start"
|
|
style="@android:style/TextAppearance.DeviceDefault.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Start"/>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/txt_stats"
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center"
|
|
android:text=""/>
|
|
</ViewFlipper>
|
|
|
|
|
|
</RelativeLayout>
|