discord-jadx/app/src/main/res/layout/widget_server_settings_edit...

29 lines
3.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" style="@style/res_2131952600_uikit_viewgroup_page">
<com.google.android.material.appbar.AppBarLayout style="@style/res_2131951638_apptheme_appbarlayout_flat">
<androidx.appcompat.widget.Toolbar style="@style/res_2131951666_apptheme_toolbar"/>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView style="@style/res_2131952598_uikit_viewgroup_nestedscrollview_appbarscrollingviewbehavior">
<LinearLayout android:focusable="true" android:focusableInTouchMode="true" android:descendantFocusability="beforeDescendants" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<TextView android:text="@string/nickname" style="@style/res_2131952494_uikit_settings_item_header"/>
<com.google.android.material.textfield.TextInputLayout android:id="@+id/edit_member_nickname" android:hint="@string/change_nickname" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" app:endIconDrawable="@drawable/ic_role_lock" app:endIconMode="-1" style="@style/res_2131952556_uikit_textinputlayout_primary">
<com.google.android.material.textfield.TextInputEditText android:maxLength="32" android:inputType="textNoSuggestions" style="@style/res_2131952548_uikit_textinputlayout_edittext_singleline"/>
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout android:id="@+id/edit_member_roles_container" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:text="@string/roles" style="@style/res_2131952494_uikit_settings_item_header"/>
<androidx.recyclerview.widget.RecyclerView android:id="@+id/edit_member_roles_recycler" style="@style/res_2131952603_uikit_viewgroup_recyclerview"/>
</LinearLayout>
<LinearLayout android:orientation="vertical" android:id="@+id/edit_member_administrative_container" android:layout_width="match_parent" android:layout_height="wrap_content">
<View style="@style/res_2131952489_uikit_settings_divider"/>
<TextView android:text="@string/administrative" style="@style/res_2131952494_uikit_settings_item_header"/>
<TextView android:textColor="@color/status_red_500" android:id="@+id/edit_member_kick_button" android:text="@string/kick_user_title" app:drawableStartCompat="@drawable/ic_remove_friend_red_24dp" style="@style/res_2131952495_uikit_settings_item_icon"/>
<TextView android:textColor="@color/status_red_500" android:id="@+id/edit_member_ban_button" android:text="@string/ban_user_title" app:drawableStartCompat="@drawable/ic_ban_red_24dp" style="@style/res_2131952495_uikit_settings_item_icon"/>
<TextView android:textColor="@color/status_red_500" android:id="@+id/edit_member_transfer_ownership_button" android:text="@string/transfer_ownership" app:drawableStartCompat="@drawable/ic_transfer_red_24dp" style="@style/res_2131952495_uikit_settings_item_icon"/>
</LinearLayout>
<Space android:layout_width="match_parent" android:layout_height="64dp"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/edit_member_save" android:contentDescription="@string/save" style="@style/res_2131952121_settings_floatingactionbutton_save"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>