97 lines
4.1 KiB
XML
97 lines
4.1 KiB
XML
|
|
<?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"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<com.google.android.material.textview.MaterialTextView
|
||
|
|
android:id="@+id/appsCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="?attr/colorControlHighlight"
|
||
|
|
android:textSize="@dimen/appsCountText"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="@id/appsList"
|
||
|
|
app:layout_constraintStart_toStartOf="@id/appsList"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/appsList"
|
||
|
|
android:layout_width="@dimen/zero"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@android:color/transparent"
|
||
|
|
android:fadingEdgeLength="@dimen/sixteen"
|
||
|
|
android:overScrollMode="never"
|
||
|
|
android:requiresFadingEdge="vertical"
|
||
|
|
android:scrollbars="none"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/searchInput"
|
||
|
|
app:layout_constraintEnd_toStartOf="@+id/search"
|
||
|
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
|
||
|
|
<rasel.lunar.launcher.apps.AlphabetScrollbar
|
||
|
|
android:id="@+id/alphabets"
|
||
|
|
android:layout_width="@dimen/zero"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_height="@dimen/zero"
|
||
|
|
android:layout_marginBottom="@dimen/four"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/reset"
|
||
|
|
app:layout_constraintStart_toStartOf="@id/reset"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
|
android:id="@+id/reset"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_bg"
|
||
|
|
android:padding="@dimen/eight"
|
||
|
|
android:layout_marginBottom="@dimen/four"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/moveUp"
|
||
|
|
app:srcCompat="@drawable/ic_refresh" />
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
|
android:id="@+id/moveUp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_bg"
|
||
|
|
android:padding="@dimen/eight"
|
||
|
|
android:layout_marginBottom="@dimen/four"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/moveDown"
|
||
|
|
app:srcCompat="@drawable/ic_up" />
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
|
android:id="@+id/moveDown"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_bg"
|
||
|
|
android:padding="@dimen/eight"
|
||
|
|
android:layout_marginBottom="@dimen/four"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintBottom_toTopOf="@+id/search"
|
||
|
|
app:srcCompat="@drawable/ic_down" />
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.AppCompatImageButton
|
||
|
|
android:id="@+id/search"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_bg"
|
||
|
|
android:padding="@dimen/eight"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:srcCompat="@drawable/ic_search" />
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/searchInput"
|
||
|
|
android:layout_width="@dimen/oneThirtySix"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:imeOptions="actionSearch"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:visibility="gone"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="@+id/appsList"
|
||
|
|
app:layout_constraintStart_toStartOf="@+id/appsList" />
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|