editing the camerasettings text

This commit is contained in:
Ethan Rublee 2010-11-30 01:19:45 +00:00
parent ffc3a58cb4
commit fb67186351
2 changed files with 30 additions and 38 deletions

View File

@ -1,40 +1,31 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_width="fill_parent" android:orientation="vertical" android:gravity="center_vertical|center_horizontal">
android:layout_height="fill_parent" <TextView android:text="@string/settings_text"
android:orientation="vertical" android:autoLink="web" android:layout_width="wrap_content"
android:gravity="center_vertical|center_horizontal"> android:layout_height="wrap_content" android:padding="20dip" />
<TextView android:text="@string/settings_text" android:autoLink="web" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:padding="20dip"/> <LinearLayout android:id="@+id/LinearLayout01"
<LinearLayout android:id="@+id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:gravity="center_vertical">
android:layout_height="wrap_content" <TextView android:layout_width="wrap_content"
android:gravity="center_vertical"> android:layout_height="wrap_content" android:text="@string/image_size_prompt" />
<TextView android:layout_width="wrap_content" <Spinner android:id="@+id/image_size" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content" android:saveEnabled="true"
android:text="@string/image_size_prompt"/> android:prompt="@string/image_size_prompt" android:entries="@array/image_sizes">
<Spinner android:id="@+id/image_size" </Spinner>
android:layout_width="fill_parent" </LinearLayout>
android:layout_height="wrap_content"
android:saveEnabled="true" <LinearLayout android:id="@+id/LinearLayout01"
android:prompt="@string/image_size_prompt" android:layout_width="wrap_content" android:layout_height="wrap_content"
android:entries="@array/image_sizes"> android:gravity="center_vertical">
</Spinner> <TextView android:layout_width="wrap_content"
</LinearLayout> android:layout_height="wrap_content" android:text="@string/camera_mode_prompt" />
<Spinner android:id="@+id/camera_mode" android:layout_width="fill_parent"
<LinearLayout android:id="@+id/LinearLayout01" android:layout_height="wrap_content" android:saveEnabled="true"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:prompt="@string/camera_mode_prompt" android:entries="@array/camera_mode">
android:gravity="center_vertical"> </Spinner>
<TextView android:layout_width="wrap_content" </LinearLayout>
android:layout_height="wrap_content" android:text="@string/camera_mode_prompt"/>
<Spinner android:id="@+id/camera_mode"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:saveEnabled="true"
android:prompt="@string/camera_mode_prompt"
android:entries="@array/camera_mode">
</Spinner>
</LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -8,7 +8,8 @@
<string name="patternlink">http://opencv.willowgarage.com/pattern</string> <string name="patternlink">http://opencv.willowgarage.com/pattern</string>
<string name="camera_settings_label">Camera Settings</string> <string name="camera_settings_label">Camera Settings</string>
<string name="settings_text">Change the camera settings</string> <string name="settings_text">Change the camera settings. Be aware that BW is much faster for previewing, than color. Also, if you change the image size, you should
rerun calibration. Default values: BW and 640x480 are a good start.</string>
<string name="calibration_service_started">Calibration calculations have started...</string> <string name="calibration_service_started">Calibration calculations have started...</string>
<string name="calibration_service_stopped">Calibration calculations has stopped.</string> <string name="calibration_service_stopped">Calibration calculations has stopped.</string>