PlayerAndroid/app/src/main/res/layout/activity_search.xml

91 lines
3.6 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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"
2018-08-08 08:03:38 +00:00
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-08-08 08:03:38 +00:00
<FrameLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-08 08:03:38 +00:00
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-08-22 17:54:07 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2018-12-25 14:58:47 +00:00
<LinearLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-12-25 14:58:47 +00:00
android:gravity="center_vertical">
2018-07-27 13:07:33 +00:00
2018-12-25 14:58:47 +00:00
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/back"
android:layout_width="wrap_content"
2018-08-08 08:03:38 +00:00
android:layout_height="wrap_content"
2018-12-25 14:58:47 +00:00
android:padding="14dp"
app:srcCompat="@drawable/ic_keyboard_backspace_black_24dp" />
2018-08-08 08:03:38 +00:00
2018-12-25 14:58:47 +00:00
<com.google.android.material.card.MaterialCardView
android:id="@+id/searchContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
app:cardCornerRadius="25dp"
app:cardElevation="0dp"
app:cardUseCompatPadding="true">
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"
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"
android:padding="12dp" />
2018-08-22 17:54:07 +00:00
2018-12-25 14:58:47 +00:00
</com.google.android.material.card.MaterialCardView>
<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>
2018-08-08 08:03:38 +00:00
<FrameLayout
android:layout_width="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_height="wrap_content">
2018-08-08 08:03:38 +00:00
2018-08-30 09:29:30 +00:00
<androidx.appcompat.widget.AppCompatTextView
2018-08-08 08:03:38 +00:00
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-30 09:29:30 +00:00
<androidx.recyclerview.widget.RecyclerView
2018-12-06 10:23:03 +00:00
android:id="@+id/recyclerView"
2018-08-08 08:03:38 +00:00
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>
2018-08-22 17:54:07 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
</LinearLayout>