19 lines
No EOL
2.9 KiB
XML
19 lines
No EOL
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout style="@style/UiKit.ViewGroup.Page"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<com.google.android.material.appbar.AppBarLayout style="@style/AppTheme.AppBarLayout.Flat">
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
|
<LinearLayout android:gravity="center_vertical" android:id="@id/server_settings_members_header_container" android:background="@drawable/drawable_uikit_primary_100_bg_dark" android:padding="@dimen/uikit_spacing_medium" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" android:layout_marginBottom="10.0dip" style="@style/UiKit.ViewGroup.LinearLayout.Horizontal">
|
|
<EditText android:textColor="@color/primary_500" android:id="@id/server_settings_members_name_search" android:padding="0.0dip" android:layout_width="0.0dip" android:hint="@string/members_search_placeholder" android:singleLine="true" android:maxLength="20" android:drawableLeft="@drawable/ic_search" android:drawablePadding="@dimen/uikit_spacing_medium" android:layout_weight="5.0" android:inputType="textNoSuggestions" android:imeOptions="actionDone" android:drawableStart="@drawable/ic_search" style="@style/UiKit.EditText.Themed" />
|
|
<View style="@style/UiKit.Divider.Vertical" />
|
|
<Spinner android:theme="@style/AppTheme.Light.Legacy" android:gravity="center" android:id="@id/server_settings_members_roles_spinner" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="3.0" />
|
|
</LinearLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<com.discord.app.AppViewFlipper android:id="@id/server_settings_members_view_flipper" android:inAnimation="@android:anim/fade_in" android:outAnimation="@android:anim/fade_out" style="@style/UiKit.ViewGroup.RelativeLayout.AppBarScrollingViewBehavior">
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@id/server_settings_members_recycler" android:scrollbars="vertical" android:clipToPadding="false" android:layout_height="fill_parent" style="@style/UiKit.ViewGroup.RecyclerView" />
|
|
<RelativeLayout android:gravity="center" android:layout_gravity="center" android:clipToPadding="false" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip" style="@style/UiKit.ViewGroup.RelativeLayout">
|
|
<ImageView android:src="?img_empty_search" android:layout_above="@id/no_results_text" android:layout_centerHorizontal="true" style="@style/UiKit.ImageView" />
|
|
<TextView android:gravity="center" android:id="@id/no_results_text" android:layout_marginTop="10.0dip" android:text="@string/guild_members_search_no_result" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" style="@style/UiKit.TextView.Large" />
|
|
</RelativeLayout>
|
|
</com.discord.app.AppViewFlipper>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |