FairEmail/app/src/main/res/layout/dialog_folder_select.xml

80 lines
3.5 KiB
XML
Raw Normal View History

2019-05-22 17:37:46 +00:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2019-12-08 16:22:55 +00:00
android:layout_height="wrap_content"
2020-04-04 12:27:07 +00:00
android:descendantFocusability="beforeDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
2019-12-08 16:22:55 +00:00
android:padding="12dp">
2019-05-22 17:37:46 +00:00
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-07-27 16:37:29 +00:00
android:id="@+id/tvNoFolder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="24dp"
android:text="@string/title_no_folders"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2020-03-23 12:44:29 +00:00
<AutoCompleteTextView
2019-12-08 16:22:55 +00:00
android:id="@+id/etSearch"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:hint="@string/title_search"
2020-03-23 12:44:29 +00:00
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
2019-12-08 16:22:55 +00:00
app:layout_constraintEnd_toStartOf="@+id/ibNext"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageButton
android:id="@+id/ibNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:padding="6dp"
app:layout_constraintBottom_toBottomOf="@+id/etSearch"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/etSearch"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_fast_forward_24" />
2019-12-08 16:22:55 +00:00
2020-03-21 10:54:08 +00:00
<eu.faircode.email.FixedRecyclerView
2019-05-22 17:37:46 +00:00
android:id="@+id/rvFolder"
2019-09-26 16:58:38 +00:00
android:layout_width="0dp"
2019-05-22 17:37:46 +00:00
android:layout_height="wrap_content"
2019-12-08 16:22:55 +00:00
android:layout_marginTop="6dp"
2019-05-22 17:37:46 +00:00
android:scrollbarStyle="outsideOverlay"
2020-03-21 10:54:08 +00:00
android:scrollbars="none"
app:fastScrollEnabled="false"
app:fastScrollHorizontalThumbDrawable="@drawable/scroll_thumb"
app:fastScrollHorizontalTrackDrawable="@drawable/scroll_track"
app:fastScrollVerticalThumbDrawable="@drawable/scroll_thumb"
app:fastScrollVerticalTrackDrawable="@drawable/scroll_track"
app:layout_constrainedHeight="true"
app:layout_constraintBottom_toBottomOf="parent"
2019-09-26 16:58:38 +00:00
app:layout_constraintEnd_toEndOf="parent"
2019-05-22 17:37:46 +00:00
app:layout_constraintStart_toStartOf="parent"
2019-12-08 16:22:55 +00:00
app:layout_constraintTop_toBottomOf="@+id/etSearch" />
2019-05-22 17:37:46 +00:00
<eu.faircode.email.ContentLoadingProgressBar
android:id="@+id/pbWait"
style="@style/Base.Widget.AppCompat.ProgressBar"
2019-07-23 12:20:07 +00:00
android:layout_width="wrap_content"
2019-05-22 17:37:46 +00:00
android:layout_height="wrap_content"
android:indeterminate="true"
android:padding="24dp"
2019-07-23 12:20:07 +00:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2019-05-22 17:37:46 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2020-02-01 20:23:22 +00:00
<androidx.constraintlayout.widget.Group
android:id="@+id/grpReady"
android:layout_width="0dp"
android:layout_height="0dp"
app:constraint_referenced_ids="etSearch,ibNext,rvFolder" />
2019-05-22 17:37:46 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>