mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
New search fragment ui
This commit is contained in:
parent
ba740e6b92
commit
e0dd45765d
@ -15,7 +15,8 @@
|
|||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:layout_margin="5dp"
|
android:layout_margin="16dp"
|
||||||
|
app:cardCornerRadius="27dp"
|
||||||
>
|
>
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
@ -24,8 +25,8 @@
|
|||||||
app:hintEnabled="false"
|
app:hintEnabled="false"
|
||||||
android:layout_marginRight="20dp"
|
android:layout_marginRight="20dp"
|
||||||
android:layout_marginLeft="20dp"
|
android:layout_marginLeft="20dp"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
>
|
>
|
||||||
|
|
||||||
<AutoCompleteTextView
|
<AutoCompleteTextView
|
||||||
android:id="@+id/autoCompleteTextView"
|
android:id="@+id/autoCompleteTextView"
|
||||||
@ -43,6 +44,239 @@
|
|||||||
</com.google.android.material.card.MaterialCardView>
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- <TextView-->
|
||||||
|
<!-- android:id="@+id/tv_genres"-->
|
||||||
|
<!-- android:layout_width="wrap_content"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_margin="25dp"-->
|
||||||
|
<!-- android:text="Explore different genres"-->
|
||||||
|
<!-- android:textSize="16sp"-->
|
||||||
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||||
|
<!-- app:layout_constraintTop_toBottomOf="@+id/outlinedTextField" />-->
|
||||||
|
|
||||||
|
<!-- <LinearLayout-->
|
||||||
|
<!-- android:id="@+id/genres"-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="10dp"-->
|
||||||
|
<!-- android:layout_marginTop="30dp"-->
|
||||||
|
<!-- android:layout_marginRight="10dp"-->
|
||||||
|
<!-- android:orientation="horizontal"-->
|
||||||
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
||||||
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||||
|
<!-- app:layout_constraintTop_toBottomOf="@id/tv_genres">-->
|
||||||
|
|
||||||
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
||||||
|
<!-- android:id="@+id/btn_trending"-->
|
||||||
|
<!-- android:layout_width="0dp"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="20dp"-->
|
||||||
|
<!-- android:layout_marginRight="20dp"-->
|
||||||
|
<!-- android:layout_weight=".5"-->
|
||||||
|
<!-- android:background="@android:color/transparent"-->
|
||||||
|
<!-- app:cardBackgroundColor="@android:color/transparent"-->
|
||||||
|
<!-- app:strokeWidth="0dp">-->
|
||||||
|
|
||||||
|
<!-- <RelativeLayout-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="match_parent"-->
|
||||||
|
<!-- android:orientation="horizontal">-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:id="@+id/iv_ic"-->
|
||||||
|
<!-- android:layout_width="25dp"-->
|
||||||
|
<!-- android:layout_height="25dp"-->
|
||||||
|
<!-- android:layout_alignParentLeft="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginStart="5dp"-->
|
||||||
|
<!-- android:layout_marginTop="5dp"-->
|
||||||
|
<!-- android:layout_marginEnd="5dp"-->
|
||||||
|
<!-- android:layout_marginBottom="5dp"-->
|
||||||
|
<!-- android:src="@drawable/ic_hot" />-->
|
||||||
|
|
||||||
|
<!-- <TextView-->
|
||||||
|
<!-- android:layout_width="wrap_content"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginLeft="7dp"-->
|
||||||
|
<!-- android:layout_toRightOf="@id/iv_ic"-->
|
||||||
|
<!-- android:text="@string/trending"-->
|
||||||
|
<!-- android:textSize="16sp" />-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:layout_width="10dp"-->
|
||||||
|
<!-- android:layout_height="10dp"-->
|
||||||
|
<!-- android:layout_alignParentRight="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:src="@drawable/ic_arrow" />-->
|
||||||
|
|
||||||
|
<!-- </RelativeLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
||||||
|
|
||||||
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
||||||
|
<!-- android:id="@+id/btn_live"-->
|
||||||
|
<!-- android:layout_width="0dp"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="30dp"-->
|
||||||
|
<!-- android:layout_marginRight="20dp"-->
|
||||||
|
<!-- android:layout_weight=".5"-->
|
||||||
|
<!-- android:background="@android:color/transparent"-->
|
||||||
|
<!-- app:cardBackgroundColor="@android:color/transparent"-->
|
||||||
|
<!-- app:strokeWidth="0dp">-->
|
||||||
|
|
||||||
|
<!-- <RelativeLayout-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="match_parent"-->
|
||||||
|
<!-- android:orientation="horizontal">-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:id="@+id/iv_ic2"-->
|
||||||
|
<!-- android:layout_width="25dp"-->
|
||||||
|
<!-- android:layout_height="25dp"-->
|
||||||
|
<!-- android:layout_alignParentLeft="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginStart="5dp"-->
|
||||||
|
<!-- android:layout_marginTop="5dp"-->
|
||||||
|
<!-- android:layout_marginEnd="5dp"-->
|
||||||
|
<!-- android:layout_marginBottom="5dp"-->
|
||||||
|
<!-- android:src="@drawable/ic_live" />-->
|
||||||
|
|
||||||
|
<!-- <TextView-->
|
||||||
|
<!-- android:layout_width="wrap_content"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginLeft="7dp"-->
|
||||||
|
<!-- android:layout_toRightOf="@id/iv_ic2"-->
|
||||||
|
<!-- android:text="@string/live"-->
|
||||||
|
<!-- android:textSize="16sp" />-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:layout_width="10dp"-->
|
||||||
|
<!-- android:layout_height="10dp"-->
|
||||||
|
<!-- android:layout_alignParentRight="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:src="@drawable/ic_arrow" />-->
|
||||||
|
|
||||||
|
<!-- </RelativeLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
||||||
|
|
||||||
|
<!-- </LinearLayout>-->
|
||||||
|
|
||||||
|
<!-- <LinearLayout-->
|
||||||
|
<!-- android:id="@+id/genres2"-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="10dp"-->
|
||||||
|
<!-- android:layout_marginTop="20dp"-->
|
||||||
|
<!-- android:layout_marginRight="10dp"-->
|
||||||
|
<!-- android:orientation="horizontal"-->
|
||||||
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
||||||
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||||
|
<!-- app:layout_constraintTop_toBottomOf="@id/genres">-->
|
||||||
|
|
||||||
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
||||||
|
<!-- android:id="@+id/btn_music"-->
|
||||||
|
<!-- android:layout_width="0dp"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="20dp"-->
|
||||||
|
<!-- android:layout_marginRight="20dp"-->
|
||||||
|
<!-- android:layout_weight=".5"-->
|
||||||
|
<!-- android:background="@android:color/transparent"-->
|
||||||
|
<!-- app:cardBackgroundColor="@android:color/transparent"-->
|
||||||
|
<!-- app:strokeWidth="0dp">-->
|
||||||
|
|
||||||
|
<!-- <RelativeLayout-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="match_parent"-->
|
||||||
|
<!-- android:orientation="horizontal">-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:id="@+id/iv_ic3"-->
|
||||||
|
<!-- android:layout_width="25dp"-->
|
||||||
|
<!-- android:layout_height="25dp"-->
|
||||||
|
<!-- android:layout_alignParentLeft="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginStart="5dp"-->
|
||||||
|
<!-- android:layout_marginTop="5dp"-->
|
||||||
|
<!-- android:layout_marginEnd="5dp"-->
|
||||||
|
<!-- android:layout_marginBottom="5dp"-->
|
||||||
|
<!-- android:src="@drawable/ic_music" />-->
|
||||||
|
|
||||||
|
<!-- <TextView-->
|
||||||
|
<!-- android:layout_width="wrap_content"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginLeft="7dp"-->
|
||||||
|
<!-- android:layout_toRightOf="@id/iv_ic3"-->
|
||||||
|
<!-- android:text="@string/music"-->
|
||||||
|
<!-- android:textSize="16sp" />-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:layout_width="10dp"-->
|
||||||
|
<!-- android:layout_height="10dp"-->
|
||||||
|
<!-- android:layout_alignParentRight="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:src="@drawable/ic_arrow" />-->
|
||||||
|
|
||||||
|
<!-- </RelativeLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
||||||
|
|
||||||
|
<!-- <com.google.android.material.card.MaterialCardView-->
|
||||||
|
<!-- android:id="@+id/btn_films"-->
|
||||||
|
<!-- android:layout_width="0dp"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_marginLeft="30dp"-->
|
||||||
|
<!-- android:layout_marginRight="20dp"-->
|
||||||
|
<!-- android:layout_weight=".5"-->
|
||||||
|
<!-- android:background="@android:color/transparent"-->
|
||||||
|
<!-- app:cardBackgroundColor="@android:color/transparent"-->
|
||||||
|
<!-- app:strokeWidth="0dp">-->
|
||||||
|
|
||||||
|
<!-- <RelativeLayout-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="match_parent"-->
|
||||||
|
<!-- android:orientation="horizontal">-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:id="@+id/iv_ic4"-->
|
||||||
|
<!-- android:layout_width="25dp"-->
|
||||||
|
<!-- android:layout_height="25dp"-->
|
||||||
|
<!-- android:layout_alignParentLeft="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginStart="5dp"-->
|
||||||
|
<!-- android:layout_marginTop="5dp"-->
|
||||||
|
<!-- android:layout_marginEnd="5dp"-->
|
||||||
|
<!-- android:layout_marginBottom="5dp"-->
|
||||||
|
<!-- android:src="@drawable/ic_film" />-->
|
||||||
|
|
||||||
|
<!-- <TextView-->
|
||||||
|
<!-- android:layout_width="wrap_content"-->
|
||||||
|
<!-- android:layout_height="wrap_content"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:layout_marginLeft="7dp"-->
|
||||||
|
<!-- android:layout_toRightOf="@id/iv_ic4"-->
|
||||||
|
<!-- android:text="@string/film"-->
|
||||||
|
<!-- android:textSize="16sp" />-->
|
||||||
|
|
||||||
|
<!-- <ImageView-->
|
||||||
|
<!-- android:layout_width="10dp"-->
|
||||||
|
<!-- android:layout_height="10dp"-->
|
||||||
|
<!-- android:layout_alignParentRight="true"-->
|
||||||
|
<!-- android:layout_centerVertical="true"-->
|
||||||
|
<!-- android:src="@drawable/ic_arrow" />-->
|
||||||
|
|
||||||
|
<!-- </RelativeLayout>-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- </com.google.android.material.card.MaterialCardView>-->
|
||||||
|
|
||||||
|
<!-- </LinearLayout>-->
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/search_recycler"
|
android:id="@+id/search_recycler"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user