You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
18 KiB
105 lines
18 KiB
2 years ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout android:orientation="vertical" android:background="@color/content_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:toggle="http://schemas.android.com/apk/res-auto">
|
||
|
<ScrollView android:id="@id/camera_setting_view" android:scrollbars="vertical" android:fadingEdge="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="16.0sp" android:textColor="@color/list_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10.0dip" android:text="@string/video" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:background="@color/list_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<RelativeLayout android:id="@id/view_resolution" android:background="@drawable/press_selector" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/txt_resolution" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/resolution_1920x1080" android:layout_alignParentRight="true" />
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/video_resolution" android:maxLines="3" android:layout_toLeftOf="@id/txt_resolution" android:layout_alignParentLeft="true" />
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/view_photo_resolution" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:background="@drawable/press_selector" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/txt_photo_resolution" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="3840x1920" android:layout_alignParentRight="true" />
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/photo_resolution" android:maxLines="3" android:layout_toLeftOf="@id/txt_photo_resolution" android:layout_alignParentLeft="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<RelativeLayout android:id="@id/view_test_resolution" android:background="@drawable/press_selector" android:focusable="true" android:focusableInTouchMode="true" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<Button android:id="@id/bt_confirm_resolution" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginRight="10.0dip" android:text="确定" android:layout_alignParentRight="true" android:layout_centerHorizontal="true" />
|
||
|
<EditText android:textSize="18.0sp" android:id="@id/ed_set_resolution" android:background="@drawable/bg_edittext" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:layout_marginRight="5.0dip" android:hint="1920x1080" android:maxLength="24" android:layout_toLeftOf="@id/bt_confirm_resolution" android:layout_centerHorizontal="true" style="@style/EditText.Dark_Golden" />
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/audio_switch_view" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:background="@drawable/press_selector" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/play_audio" android:layout_alignParentLeft="true" />
|
||
|
<com.zcw.togglebutton.ToggleButton android:id="@id/swith_audio" android:layout_width="wrap_content" android:layout_height="@dimen/toggle_btn_height" android:layout_marginRight="20.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" toggle:tbBorderWidth="0.5dip" toggle:tbOffBorderColor="@color/toggle_btn_border" toggle:tbOffColor="@color/toggle_btn_off" toggle:tbOnColor="@color/golden" toggle:tbAsDefaultOn="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/camera_network_view" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="@color/list_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10.0dip" android:text="@string/camera_wifi" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:background="@color/list_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<RelativeLayout android:id="@id/config_hotpot_passwd_btn" android:background="@drawable/press_selector" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/hotpot_passwd" android:layout_alignParentLeft="true" />
|
||
|
</RelativeLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:id="@id/config_camera_internet_view" android:background="@drawable/press_selector" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/config_camera_wifi" android:layout_toLeftOf="@id/camera_internet_enabled" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/camera_internet_enabled" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@null" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/other_setting_view" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="@color/list_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10.0dip" android:text="@string/others" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<RelativeLayout android:id="@id/view_device_shutdown_time" android:background="@drawable/press_selector" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/device_shutdown_time" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_shutdown_time" android:maxLines="3" android:layout_alignParentLeft="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="16.0sp" android:textColor="@color/list_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="10.0dip" android:text="@string/device" />
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
<LinearLayout android:orientation="vertical" android:background="@color/list_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_type" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/device_type" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@null" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:id="@id/device_serialno_layout" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_serial_number" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/device_serialno" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_firmware_version" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/device_version" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/camera_sdcard_view" android:visibility="visible" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" android:layout_marginLeft="20.0dip" />
|
||
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="@dimen/text_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_sdcard_cap" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="@dimen/text_size_med" android:textColor="@color/list_prompt_color" android:gravity="center_vertical" android:id="@id/device_sdcard_capacity" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<RelativeLayout android:visibility="gone" android:layout_width="fill_parent" android:layout_height="40.0dip">
|
||
|
<TextView android:textSize="16.0sp" android:textColor="#ffffffff" android:gravity="center_vertical" android:paddingLeft="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/device_factory_reset" android:layout_alignParentLeft="true" />
|
||
|
<TextView android:textSize="12.0sp" android:textColor="#ff616161" android:gravity="center_vertical" android:paddingRight="20.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="" android:layout_alignParentRight="true" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
<TextView android:background="@color/list_divide" android:layout_width="fill_parent" android:layout_height="1.0px" />
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
<FrameLayout android:id="@id/config_hotpot_passwd_view" android:background="#ff212121" android:visibility="gone" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
|
||
|
<LinearLayout android:orientation="vertical" android:background="#ff181818" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="16.0sp" android:textColor="#ffffffff" android:gravity="center" android:id="@id/update_hotpot_passwd_tips" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="50.0dip" android:layout_marginRight="20.0dip" android:layout_marginBottom="30.0dip" android:text="@string/update_hotpot_passwd_tips" />
|
||
|
<EditText android:textSize="18.0sp" android:id="@id/hotpot_passwd_edittext" android:background="@drawable/bg_edittext" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginRight="20.0dip" android:hint="@string/input_passwd" android:maxLength="24" android:inputType="textPassword" style="@style/EditText.Dark_Golden" />
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/golden" android:gravity="right" android:layout_gravity="right" android:id="@id/show_hidden_passwd_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="20.0dip" android:text="@string/show_passwd_character" />
|
||
|
<TextView android:textSize="18.0sp" android:textColor="#ff000000" android:gravity="center" android:id="@id/update_hotpot_passwd_btn" android:background="@drawable/btn_common_bg" android:padding="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="50.0dip" android:layout_marginRight="20.0dip" android:layout_marginBottom="30.0dip" android:text="@string/ok" />
|
||
|
</LinearLayout>
|
||
|
</FrameLayout>
|
||
|
</RelativeLayout>
|