UI - Increased padding between elements

This commit is contained in:
antonio 2023-03-11 16:38:51 +01:00
parent 0090896ca0
commit 92ee492a86
2 changed files with 1 additions and 2 deletions

View file

@ -48,7 +48,7 @@ public class DownloadHorizontalAdapter extends RecyclerView.Adapter<DownloadHori
holder.item.downloadedSongAlbumTextView.setText(MusicUtil.getReadableString(song.getAlbum()));
if (position > 0 && songs.get(position - 1) != null && !Objects.equals(songs.get(position - 1).getAlbum(), songs.get(position).getAlbum())) {
holder.item.divider.setPadding(0, 12, 0, 0);
holder.item.divider.setPadding(0, 32, 0, 0);
} else {
if (position > 0) holder.item.divider.setVisibility(View.GONE);
}

View file

@ -2,7 +2,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clipChildren="false"
android:orientation="horizontal"
android:paddingStart="16dp">