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

89 lines
3.6 KiB
XML
Raw Normal View History

2018-07-27 18:37:33 +05:30
<?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 13:33:38 +05:30
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
2018-08-08 13:33:38 +05:30
<FrameLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-08 13:33:38 +05:30
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-08-22 23:24:07 +05:30
<LinearLayout
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
2018-08-22 23:24:07 +05:30
android:layout_height="match_parent"
android:orientation="vertical">
2018-07-27 18:37:33 +05:30
2018-09-23 15:34:43 +05:30
<com.google.android.material.card.MaterialCardView
2018-08-22 23:24:07 +05:30
android:id="@+id/search"
2018-07-27 18:37:33 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-11-05 19:23:07 +05:30
app:cardCornerRadius="8dp"
2018-08-22 23:24:07 +05:30
app:cardUseCompatPadding="true">
2018-07-27 18:37:33 +05:30
2018-08-22 23:24:07 +05:30
<LinearLayout
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-22 23:24:07 +05:30
android:gravity="center_vertical">
2018-08-08 13:33:38 +05:30
2018-08-22 23:24:07 +05:30
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
2018-11-05 19:23:07 +05:30
android:padding="12dp"
2018-08-22 23:24:07 +05:30
app:srcCompat="@drawable/ic_keyboard_backspace_black_24dp" />
2018-08-08 13:33:38 +05:30
2018-08-22 23:24:07 +05:30
<code.name.monkey.appthemehelper.common.views.ATEEditText
android:id="@+id/search_view"
2018-08-08 13:33:38 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-08-22 23:24:07 +05:30
android:layout_weight="1"
android:background="@null"
android:hint="@string/search_hint"
android:inputType="text|textAutoComplete" />
<code.name.monkey.retromusic.views.IconImageView
android:id="@+id/voice_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="?roundSelector"
2018-09-23 15:34:43 +05:30
android:padding="12dp"
2018-08-22 23:24:07 +05:30
app:srcCompat="@drawable/ic_mic_white_24dp" />
</LinearLayout>
2018-09-23 15:34:43 +05:30
</com.google.android.material.card.MaterialCardView>
2018-08-08 13:33:38 +05:30
<FrameLayout
android:layout_width="match_parent"
2018-08-22 23:24:07 +05:30
android:layout_height="wrap_content">
2018-08-08 13:33:38 +05:30
2018-08-30 14:59:30 +05:30
<androidx.appcompat.widget.AppCompatTextView
2018-08-08 13:33:38 +05:30
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 14:59:30 +05:30
<androidx.recyclerview.widget.RecyclerView
2018-08-08 13:33:38 +05:30
android:id="@+id/recycler_view"
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 23:24:07 +05:30
</LinearLayout>
2018-07-27 18:37:33 +05:30
</LinearLayout>