|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:id="@+id/container"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/_303852">
|
|
|
|
|
android:background="@color/_303852"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.yinuo.safetywatcher.watcher.ui.view.CommonTopBar
|
|
|
|
|
android:id="@+id/topBar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/_120dp"/>
|
|
|
|
|
android:layout_height="@dimen/_120dp" />
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/area_sound"
|
|
|
|
@ -25,19 +25,64 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:textSize="@dimen/_40dp"
|
|
|
|
|
android:text="音量"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:text="音量"/>
|
|
|
|
|
android:textSize="@dimen/_40dp" />
|
|
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
|
android:id="@+id/sb_sound"
|
|
|
|
|
style="@style/LightSeekbarStyle"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:layout_width="@dimen/_630dp"
|
|
|
|
|
android:layout_height="@dimen/_100dp"
|
|
|
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
|
|
|
android:layout_below="@+id/tv"
|
|
|
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:min="0"
|
|
|
|
|
android:padding="0dp"/>
|
|
|
|
|
android:padding="0dp" />
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
|
android:id="@+id/layout_shutdown"
|
|
|
|
|
android:layout_width="@dimen/_960dp"
|
|
|
|
|
android:layout_height="200px"
|
|
|
|
|
android:layout_centerInParent="true"
|
|
|
|
|
android:background="@drawable/warn_setting_btn_bg"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
android:layout_marginTop="@dimen/_32dp"
|
|
|
|
|
android:layout_marginBottom="@dimen/_32dp"
|
|
|
|
|
android:text="您的设备将会关机!"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_36dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_cancel"
|
|
|
|
|
android:layout_width="@dimen/_480dp"
|
|
|
|
|
android:layout_height="@dimen/_81dp"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:background="@drawable/cancel_btn_bg"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/cancel"
|
|
|
|
|
android:textColor="@color/white_30"
|
|
|
|
|
android:textSize="@dimen/_36dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_confirm"
|
|
|
|
|
android:layout_width="@dimen/_480dp"
|
|
|
|
|
android:layout_height="@dimen/_81dp"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
android:background="@drawable/confirm_btn_bg"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/confirm"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="@dimen/_36dp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
</RelativeLayout>
|