forked from mirrors/Fedilab
427 lines
No EOL
17 KiB
XML
427 lines
No EOL
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="@dimen/fab_margin"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_reason"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/sr_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_indication_title_status"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/sr_title_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_indication_title_status_more"
|
|
android:textSize="18sp" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/reason_choice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp">
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/val1_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/val1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_val1"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/val1_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:text="@string/report_val_more1" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1px"
|
|
android:layout_margin="10dp"
|
|
android:background="?actionBarDivider" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/val2_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/val2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_val2"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/val2_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:text="@string/report_val_more2" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1px"
|
|
android:layout_margin="10dp"
|
|
android:background="?actionBarDivider" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/val3_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/val3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_val3"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/val3_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:text="@string/report_val_more3" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1px"
|
|
android:layout_margin="10dp"
|
|
android:background="?actionBarDivider" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/val4_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/val4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_val4"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/val4_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:text="@string/report_val_more4" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
</RadioGroup>
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_idontlike"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/idl_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_title"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/idl_title_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_1_title_more"
|
|
android:textSize="18sp" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/group_unfollow"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/unfollow_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_unfollow_title"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_unfollow"
|
|
android:textSize="16sp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/action_unfollow"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/action_unfollow"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/group_mute"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/mute_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_mute_title"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_mute"
|
|
android:textSize="16sp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/action_mute"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/action_mute"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/group_block"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/block_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_block_title"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_1_block"
|
|
android:textSize="16sp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/action_block"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/more_action_2"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_spam"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/spam_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_2_title"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/spam_title_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_all_more"
|
|
android:textSize="18sp" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/fram_spam_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_weight="1" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_violate_rules"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_3_title"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_all_more"
|
|
android:textSize="18sp" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/lv_vr"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_something_else"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/se_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_2_title"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/se_title_more"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_all_more"
|
|
android:textSize="18sp" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/fram_se_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_weight="1" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/screen_more_details"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/report_more"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText
|
|
android:id="@+id/report_message"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:hint="@string/report_more_additional"
|
|
android:minLines="5" />
|
|
|
|
<androidx.appcompat.widget.LinearLayoutCompat
|
|
android:id="@+id/forward_block"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:text="@string/report_more_remote"
|
|
android:textSize="16sp" />
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/forward"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:checked="true"
|
|
android:text="@string/report_more_forward"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
|
<androidx.appcompat.widget.AppCompatButton
|
|
android:id="@+id/action_button"
|
|
style="@style/Widget.AppCompat.Button.Colored"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:enabled="false"
|
|
android:text="@string/next"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
</LinearLayout> |