| | |
| | | android:layout_height="match_parent" |
| | | android:id="@+id/fragment_setting" |
| | | > |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_alignParentStart="true" |
| | | android:layout_alignParentTop="true" |
| | | android:orientation="vertical"> |
| | | |
| | | <LinearLayout |
| | | android:layout_gravity="center" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <Space |
| | | android:layout_width="1dp" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="1"/> |
| | | android:layout_weight="1" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h32" |
| | | android:background="@drawable/spinner_arrow_down" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:dropDownVerticalOffset="0dp" |
| | | android:paddingBottom="2dp" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:paddingTop="2dp" |
| | | android:paddingBottom="2dp" |
| | | android:spinnerMode="dropdown" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_width="@dimen/w108" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="right" |
| | | android:text="标题:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/title" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | | android:background="@drawable/bg_edittext1" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w108" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="right" |
| | | android:text="IP:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/ip" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/port" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w108" |
| | | android:layout_gravity="center_vertical" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center_vertical" |
| | | android:gravity="right" |
| | | android:text="声音:" |
| | | android:textColor="@color/black" |
| | |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h32" |
| | | android:background="@drawable/spinner_arrow_down" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:dropDownVerticalOffset="0dp" |
| | | android:paddingBottom="2dp" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:paddingTop="2dp" |
| | | android:paddingBottom="2dp" |
| | | android:spinnerMode="dropdown" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:layout_width="@dimen/w90" |
| | | android:layout_height="@dimen/h32" |
| | | android:background="@drawable/spinner_arrow_down" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:dropDownVerticalOffset="0dp" |
| | | android:paddingBottom="2dp" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:paddingTop="2dp" |
| | | android:paddingBottom="2dp" |
| | | android:spinnerMode="dropdown" /> |
| | | |
| | | <com.basic.security.widget.CustomSpinner |
| | |
| | | android:layout_height="@dimen/h32" |
| | | android:layout_marginLeft="@dimen/w6" |
| | | android:background="@drawable/spinner_arrow_down" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:dropDownVerticalOffset="0dp" |
| | | android:paddingBottom="2dp" |
| | | android:dropDownSelector="@color/transparent" |
| | | android:paddingTop="2dp" |
| | | android:paddingBottom="2dp" |
| | | android:spinnerMode="dropdown" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/oldPassword" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/newPassword" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/newPassword2" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <TextView |
| | | android:visibility="gone" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/w34" |
| | | android:layout_marginTop="@dimen/h63" |
| | | android:text="授权" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h15" /> |
| | | android:textSize="@dimen/h15" |
| | | android:visibility="gone" /> |
| | | |
| | | <LinearLayout |
| | | android:visibility="gone" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:orientation="horizontal"> |
| | | android:orientation="horizontal" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:layout_width="@dimen/w108" |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/password" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@color/black" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/confirmNewPassword" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | | android:background="@drawable/bg_edittext1" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | |
| | | <Space |
| | | android:layout_width="1dp" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="1"/> |
| | | android:layout_weight="1" /> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | |
| | | |
| | | <CheckBox |
| | | android:id="@+id/switch_ethernet" |
| | | android:layout_marginLeft="@dimen/w34" |
| | | android:layout_marginTop="@dimen/h26" |
| | | style="@style/setting_checkbox" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/w34" |
| | | android:layout_marginTop="@dimen/h26" |
| | | android:layout_marginRight="@dimen/w46" |
| | | android:text="以太网开关" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <RadioGroup |
| | | android:id="@+id/ip_mode" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content"> |
| | | |
| | | <RadioButton |
| | | android:id="@+id/dhcp" |
| | | android:layout_marginLeft="@dimen/w108" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/w108" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:button="@drawable/radiobutton" |
| | | android:text="DHCP自动获取地址" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h13" /> |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <RadioButton |
| | | android:id="@+id/staticip" |
| | | android:layout_marginLeft="@dimen/w108" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginLeft="@dimen/w108" |
| | | android:layout_marginTop="@dimen/h24" |
| | | android:button="@drawable/radiobutton" |
| | | android:text="手动设置如下地址" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/h13" /> |
| | | android:textSize="@dimen/h13" /> |
| | | </RadioGroup> |
| | | |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/ip_address" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@drawable/bg_edittext1_color" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/net_mask" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@drawable/bg_edittext1_color" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <EditText |
| | | android:textCursorDrawable="@null" |
| | | android:id="@+id/gate_way" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@drawable/bg_edittext1_color" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | |
| | | |
| | | <EditText |
| | | android:id="@+id/dns_server" |
| | | android:textCursorDrawable="@null" |
| | | android:layout_width="@dimen/w185" |
| | | android:layout_height="@dimen/h33" |
| | | android:background="@drawable/bg_edittext1" |
| | | android:paddingLeft="@dimen/w15" |
| | | android:singleLine="true" |
| | | android:textColor="@drawable/bg_edittext1_color" |
| | | android:textCursorDrawable="@null" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <Space |
| | | android:layout_width="1dp" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="1" /> |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_gravity="center_horizontal" |
| | | android:layout_marginBottom="@dimen/h266"> |
| | | |
| | | <Button |
| | | android:id="@+id/goto_home" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:layout_gravity="center" |
| | | android:background="@drawable/white_button" |
| | | android:text="返回" |
| | | android:textColor="#222" |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <Button |
| | | android:id="@+id/save" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:background="@drawable/blue_button" |
| | | android:text="保存" |
| | | android:textColor="@color/white" |
| | | android:textSize="@dimen/h13" /> |
| | | |
| | | <Button |
| | | android:id="@+id/exit" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:background="@drawable/blue_button" |
| | | android:text="退出" |
| | | android:textColor="@color/white" |
| | | android:textSize="@dimen/h13" |
| | | android:visibility="gone" /> |
| | | |
| | | <Button |
| | | android:id="@+id/open_system_setting" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="match_parent" |
| | | android:layout_gravity="center" |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:background="@drawable/white_button" |
| | | android:text="打开系统设置" |
| | | android:textColor="#222" |
| | | android:textSize="@dimen/h13" /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | <Space |
| | | android:layout_width="1dp" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="1"/> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | <Space |
| | | android:layout_width="0dp" |
| | | android:layout_height="1dp" |
| | | android:layout_weight="1"/> |
| | | <LinearLayout |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="@dimen/h66" |
| | | android:layout_gravity="center_horizontal"> |
| | | <Button |
| | | android:id="@+id/goto_home" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:textSize="@dimen/h13" |
| | | android:textColor="#222" |
| | | android:layout_gravity="center" |
| | | android:background="@drawable/white_button" |
| | | android:text="返回"/> |
| | | android:layout_weight="1" /> |
| | | |
| | | <Button |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:id="@+id/save" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:textSize="@dimen/h13" |
| | | android:textColor="@color/white" |
| | | android:layout_gravity="center" |
| | | android:background="@drawable/blue_button" |
| | | android:text="保存"/> |
| | | |
| | | <Button |
| | | android:id="@+id/exit" |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:layout_width="@dimen/w65" |
| | | android:layout_height="@dimen/h40" |
| | | android:textSize="@dimen/h13" |
| | | android:textColor="@color/white" |
| | | android:layout_gravity="center" |
| | | android:background="@drawable/blue_button" |
| | | android:text="退出" |
| | | android:visibility="gone" |
| | | /> |
| | | <Button |
| | | android:layout_marginLeft="@dimen/w28" |
| | | android:id="@+id/open_system_setting" |
| | | android:layout_width="@dimen/w180" |
| | | android:layout_height="@dimen/h40" |
| | | android:textSize="@dimen/h13" |
| | | android:textColor="#222" |
| | | android:layout_gravity="center" |
| | | android:background="@drawable/white_button" |
| | | android:text="打开系统设置"/> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | |
| | | <TextView |