Code refactor and Genre category added to home
This commit is contained in:
parent
d4ab36fd69
commit
c23e959356
21 changed files with 149 additions and 58 deletions
|
@ -11,7 +11,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down"
|
||||
android:overScrollMode="never"
|
||||
android:scrollbars="none"
|
||||
app:layout_dodgeInsetEdges="bottom"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layoutAnimation="@anim/layout_animation_fall_down"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:overScrollMode="never"
|
||||
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
||||
|
|
18
app/src/main/res/layout/item_grid_genre.xml
Normal file
18
app/src/main/res/layout/item_grid_genre.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.card.MaterialCardView 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="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:cardCornerRadius="8dp"
|
||||
app:cardUseCompatPadding="true">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="16dp"
|
||||
android:textAppearance="@style/TextViewHeadline6"
|
||||
tools:text="@tools:sample/full_names" />
|
||||
|
||||
</com.google.android.material.card.MaterialCardView>
|
|
@ -47,6 +47,10 @@
|
|||
app:popExitAnim="@anim/retro_fragment_close_exit" />
|
||||
<action
|
||||
android:id="@+id/action_mainSettingsFragment_to_personalizeSettingsFragment"
|
||||
app:enterAnim="@anim/retro_fragment_open_enter"
|
||||
app:exitAnim="@anim/retro_fragment_open_exit"
|
||||
app:popEnterAnim="@anim/retro_fragment_close_enter"
|
||||
app:popExitAnim="@anim/retro_fragment_close_exit"
|
||||
app:destination="@id/personalizeSettingsFragment" />
|
||||
<action
|
||||
android:id="@+id/action_mainSettingsFragment_to_notificationSettingsFragment"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue