Skip to content

Commit

Permalink
Fixed #252
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrave-dev committed Feb 13, 2024
1 parent 062ef9e commit fc3e00a
Show file tree
Hide file tree
Showing 8 changed files with 427 additions and 209 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<com.google.android.material.card.MaterialCardView
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="60sp"
android:layout_height="wrap_content"
app:cardCornerRadius="8sp"
app:strokeColor="@color/md_theme_dark_inverseOnSurface"
app:strokeWidth="0.1dp"
Expand All @@ -72,7 +72,7 @@

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="wrap_content">

<RelativeLayout
android:layout_width="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/item_home_content_artist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="240sp"
android:layout_height="wrap_content"
android:padding="10sp"
android:orientation="vertical"
android:focusable="true"
Expand Down
17 changes: 15 additions & 2 deletions app/src/main/res/layout/item_home_content_playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="270dp"
android:layout_height="wrap_content"
android:padding="10sp"
android:orientation="vertical"
android:focusable="true"
Expand All @@ -15,7 +15,9 @@
android:layout_width="180sp"
android:layout_height="180sp"
android:scaleType="centerCrop"
app:shapeAppearanceOverlay="@style/rounded_corner"></com.google.android.material.imageview.ShapeableImageView>
app:shapeAppearanceOverlay="@style/rounded_corner">

</com.google.android.material.imageview.ShapeableImageView>

<TextView
android:id="@+id/tvTitle"
Expand Down Expand Up @@ -51,4 +53,15 @@
android:layout_marginTop="0sp">

</TextView>

<TextView
android:layout_width="180sp"
android:layout_height="wrap_content"
android:text=""
android:singleLine="true"
android:textStyle="normal"
android:textSize="11sp"
android:layout_marginTop="0sp">

</TextView>
</LinearLayout>
2 changes: 1 addition & 1 deletion app/src/main/res/layout/item_home_content_song.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="270dp"
android:layout_height="wrap_content"
android:padding="10sp"
android:orientation="vertical"
android:focusable="true"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/item_home_content_video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="270dp"
android:layout_height="wrap_content"
android:padding="10sp"
android:orientation="vertical"
android:focusable="true"
Expand Down
31 changes: 16 additions & 15 deletions app/src/main/res/layout/item_popular_song.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<RelativeLayout
android:padding="10sp"
android:layout_width="match_parent"
android:layout_height="65sp">
android:layout_height="wrap_content">

<RelativeLayout
android:id="@+id/firstLayout"
Expand Down Expand Up @@ -39,20 +39,20 @@
</com.airbnb.lottie.LottieAnimationView>
</RelativeLayout>

<LinearLayout
android:id="@+id/info_layout"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_toEndOf="@+id/firstLayout"
android:layout_toStartOf="@id/btMore"
android:layout_marginEnd="10dp"
android:layout_marginStart="20sp"
android:layout_centerVertical="true"
android:orientation="vertical">

<TextView
android:text=""
android:id="@+id/tvSongTitle"
<LinearLayout
android:id="@+id/info_layout"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_toEndOf="@+id/firstLayout"
android:layout_toStartOf="@id/btMore"
android:layout_marginEnd="10dp"
android:layout_marginStart="20sp"
android:layout_centerVertical="true"
android:orientation="vertical">

<TextView
android:text=""
android:id="@+id/tvSongTitle"
android:fontFamily="@font/roboto"
android:textStyle="bold"
android:textSize="16sp"
Expand Down Expand Up @@ -93,6 +93,7 @@
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:layout_centerVertical="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:scrollHorizontally="true"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/item_track_chart.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="240dp"
android:layout_height="wrap_content"
android:padding="10dp"
android:orientation="vertical"
android:focusable="true"
Expand Down
Loading

0 comments on commit fc3e00a

Please sign in to comment.