新增期间禁言功能
This commit is contained in:
74
live/src/main/res/layout/dialog_live_setting_silence.xml
Normal file
74
live/src/main/res/layout/dialog_live_setting_silence.xml
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/background_fff"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="#999999"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/live_setting_silence_title"
|
||||
android:textColor="#333333"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/submit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="end"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="@string/dialog_fount_submit"
|
||||
android:textColor="#0A9FFE"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:background="#1a000000"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/linearLayout2" />
|
||||
|
||||
<com.github.gzuliyujiang.wheelview.widget.WheelView
|
||||
android:id="@+id/silenceList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/divider" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -90,4 +90,6 @@
|
||||
<string name="live_user_letter_dialog_no">Think again</string>
|
||||
<string name="dialog_live_mailbox_title">Letter</string>
|
||||
<string name="live_anchor_edit_call_me_not_call_info_toash">Please turn on at least one contact information</string>
|
||||
<string name="minute">Minute</string>
|
||||
<string name="live_setting_silence_title">Please select</string>
|
||||
</resources>
|
||||
@@ -88,5 +88,6 @@
|
||||
<string name="live_user_letter_dialog_yes">刪除</string>
|
||||
<string name="live_user_letter_dialog_no">再想想</string>
|
||||
<string name="dialog_live_mailbox_title">信件欄</string>
|
||||
|
||||
<string name="minute">分鐘</string>
|
||||
<string name="live_setting_silence_title">請選擇禁言時間</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user