| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 |
android:orientation="vertical" |
| 19 |
android:layout_width="fill_parent" |
| 20 |
android:layout_height="fill_parent"> |
| 21 |
|
| 22 |
<RelativeLayout android:id="@+id/surfaceViewLayout" |
| 23 |
android:layout_width="wrap_content" |
| 24 |
android:layout_height="1240px" |
| 25 |
android:layout_alignParentTop="true" > |
| 26 |
<SurfaceView android:id="@+id/cameraView" |
| 27 |
android:layout_width="fill_parent" |
| 28 |
android:layout_height="wrap_content" |
| 29 |
android:layout_weight="1.0" |
| 30 |
/> |
| 31 |
<Button android:id="@+id/startButton" |
| 32 |
android:layout_width="wrap_content" |
| 33 |
android:layout_height="wrap_content" |
| 34 |
android:text="@string/startButton" |
| 35 |
android:layout_alignParentBottom="true" |
| 36 |
android:layout_alignParentLeft="true" |
| 37 |
/> |
| 38 |
<Button android:id="@+id/galleryOpenButton" |
| 39 |
android:layout_width="wrap_content" |
| 40 |
android:layout_height="wrap_content" |
| 41 |
android:text="@string/galleryOpenButton" |
| 42 |
android:layout_alignParentBottom="true" |
| 43 |
android:layout_alignParentRight="true" |
| 44 |
/> |
| 45 |
<Spinner android:id="@+id/spinner" |
| 46 |
android:layout_width="wrap_content" |
| 47 |
android:layout_height="wrap_content" |
| 48 |
android:entries="@array/number_array" |
| 49 |
android:layout_alignParentTop="true" |
| 50 |
android:layout_alignParentRight="true" |
| 51 |
/> |
| 52 |
<TextView android:id="@+id/imagesSavedTextView" |
| 53 |
android:layout_height="wrap_content" |
| 54 |
android:layout_width="wrap_content" |
| 55 |
android:padding="16dip" |
| 56 |
android:text="@string/imagesSavedTextView" |
| 57 |
android:layout_centerHorizontal="true" |
| 58 |
android:layout_alignParentBottom="true" |
| 59 |
android:textColor="#FF0000" |
| 60 |
android:textSize="20sp" |
| 61 |
/> |
| 62 |
</RelativeLayout> |
| 63 |
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 64 |
android:id="@+id/scrollView" |
| 65 |
android:layout_width="fill_parent" |
| 66 |
android:layout_height="wrap_content" > |
| 67 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 68 |
android:id="@+id/scrollViewLinearLayout" |
| 69 |
android:orientation="horizontal" |
| 70 |
android:layout_width="fill_parent" |
| 71 |
android:layout_height="320px"> |
| 72 |
</LinearLayout> |
| 73 |
</HorizontalScrollView> |
| 74 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 75 |
android:orientation="horizontal" |
| 76 |
android:layout_width="fill_parent" |
| 77 |
android:layout_height="wrap_content"> |
| 78 |
<TextView android:id="@+id/goodOrBadTextView" |
| 79 |
android:layout_width="wrap_content" |
| 80 |
android:layout_height="fill_parent" |
| 81 |
android:padding="16dip" |
| 82 |
android:text="@string/goodOrBadTextView" |
| 83 |
/> |
| 84 |
<TextView android:id="@+id/fpsTextView" |
| 85 |
android:layout_height="fill_parent" |
| 86 |
android:layout_width="wrap_content" |
| 87 |
android:padding="16dip" |
| 88 |
android:text="@string/fpsTextView" |
| 89 |
/> |
| 90 |
<TextView android:id="@+id/scoreTextView" |
| 91 |
android:layout_height="fill_parent" |
| 92 |
android:layout_width="wrap_content" |
| 93 |
android:padding="16dip" |
| 94 |
android:text="@string/scoreTextView" |
| 95 |
/> |
| 96 |
</LinearLayout> |
| 97 |
</LinearLayout> |