2017-12-15 07:35:13 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-06 17:55:14 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-12-15 07:35:13 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-06-25 14:52:46 +02:00
|
|
|
android:id="@+id/main_account_container"
|
2017-12-15 07:35:13 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="@dimen/fab_margin"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context="app.fedilab.android.activities.ManageAccountsInListActivity">
|
2017-12-15 07:35:13 +01:00
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/list_title"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-25 14:52:46 +02:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:textColor="@color/titleb"
|
|
|
|
android:textSize="20sp" />
|
2017-12-15 07:35:13 +01:00
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/search_account"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:drawableEnd="@drawable/ic_search"
|
|
|
|
android:drawableRight="@drawable/ic_search"
|
|
|
|
android:inputType="text"
|
2020-05-16 11:32:09 +02:00
|
|
|
android:singleLine="true" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loader"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:gravity="center">
|
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
2017-12-15 07:35:13 +01:00
|
|
|
android:layout_height="wrap_content"
|
2019-06-25 14:52:46 +02:00
|
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/lv_accounts_current"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:divider="@null"
|
|
|
|
android:scrollbars="none" />
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-06-25 14:52:46 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/lv_accounts_search"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="300dp"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:divider="@null"
|
2019-06-25 14:52:46 +02:00
|
|
|
android:scrollbars="none"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:visibility="gone" />
|
2017-12-15 07:35:13 +01:00
|
|
|
</LinearLayout>
|