fedilab-Android-App/app/src/main/res/layouts/mastodon/layout/popup_manage_accounts_list.xml

67 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_account_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
android:fitsSystemWindows="true"
android:orientation="vertical">
<TextView
android:id="@+id/list_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:textSize="20sp" />
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/search_account"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:drawableEnd="@drawable/ic_baseline_search_24"
android:inputType="text"
android:singleLine="true" />
<RelativeLayout
android:id="@+id/loader"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/no_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true"
android:text="@string/no_account_in_list" />
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/lv_accounts_current"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@null"
android:scrollbars="none" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/lv_accounts_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@null"
android:scrollbars="none"
android:visibility="gone" />
</androidx.appcompat.widget.LinearLayoutCompat>