2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-04-05 10:45:09 +00:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:07:33 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-05-11 15:37:22 +00:00
|
|
|
android:fitsSystemWindows="true"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:orientation="vertical">
|
2019-05-11 15:37:22 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2019-05-11 15:37:22 +00:00
|
|
|
android:id="@+id/appBarLayout"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-05-11 15:37:22 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-04-05 10:45:09 +00:00
|
|
|
android:elevation="0dp"
|
2019-05-11 15:37:22 +00:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
app:elevation="0dp">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-06-03 06:37:54 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:id="@+id/searchContainer"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-29 17:15:31 +00:00
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
2019-06-03 06:37:54 +00:00
|
|
|
app:cardCornerRadius="8dp"
|
2019-06-29 17:15:31 +00:00
|
|
|
app:cardElevation="0dp"
|
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
|
|
|
app:strokeColor="?dividerColor"
|
|
|
|
app:strokeWidth="1dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-06-03 06:37:54 +00:00
|
|
|
<LinearLayout
|
2018-12-25 14:58:47 +00:00
|
|
|
android:layout_width="match_parent"
|
2019-06-03 06:37:54 +00:00
|
|
|
android:layout_height="50dp"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/back"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="14dp"
|
|
|
|
app:srcCompat="@drawable/ic_keyboard_backspace_black_24dp" />
|
|
|
|
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2018-08-22 17:54:07 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEEditText
|
2018-12-06 10:23:03 +00:00
|
|
|
android:id="@+id/searchView"
|
2018-08-08 08:03:38 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-03 06:37:54 +00:00
|
|
|
android:layout_weight="1"
|
2018-08-22 17:54:07 +00:00
|
|
|
android:background="@null"
|
2018-12-25 14:58:47 +00:00
|
|
|
android:hint="@string/action_search"
|
|
|
|
android:inputType="text|textAutoComplete"
|
2019-05-11 15:37:22 +00:00
|
|
|
android:padding="12dp">
|
2019-02-23 20:10:15 +00:00
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</code.name.monkey.appthemehelper.common.views.ATEEditText>
|
2018-08-22 17:54:07 +00:00
|
|
|
|
2019-06-03 06:37:54 +00:00
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/voiceSearch"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:background="?roundSelector"
|
|
|
|
android:padding="14dp"
|
|
|
|
app:srcCompat="@drawable/ic_mic_white_24dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2019-04-05 10:45:09 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2019-05-11 15:37:22 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@android:id/empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="48dp"
|
|
|
|
android:paddingBottom="48dp"
|
|
|
|
android:text="@string/no_results"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
2018-08-08 08:03:38 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:scrollbarStyle="outsideOverlay"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
</FrameLayout>
|
2019-05-11 15:37:22 +00:00
|
|
|
|
2019-04-05 10:45:09 +00:00
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
2019-05-11 15:37:22 +00:00
|
|
|
android:id="@+id/keyboardPopup"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:text="Keyboard"
|
|
|
|
app:icon="@drawable/ic_keyboard_white_24dp" />
|
2019-04-05 10:45:09 +00:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|