mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
style: even out the top padding and hide one too many dividers
This commit is contained in:
parent
69e9d5686f
commit
5a2d74a2f4
4 changed files with 4 additions and 2 deletions
|
|
@ -454,6 +454,7 @@ public class HomeTabMusicFragment extends Fragment implements ClickCallback {
|
|||
} else {
|
||||
if (bind != null) bind.starredArtistsPlaceholder.placeholder.setVisibility(View.GONE);
|
||||
if (bind != null) bind.starredArtistsSector.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.afterFavoritesDivider.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.starredArtistsRecyclerView.setLayoutManager(new GridLayoutManager(requireContext(), UIUtil.getSpanCount(artists.size(), 5), GridLayoutManager.HORIZONTAL, false));
|
||||
|
||||
starredArtistAdapter.setItems(artists);
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:text="@string/download_title_section" />
|
||||
|
||||
|
|
|
|||
|
|
@ -479,6 +479,7 @@
|
|||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
android:id="@+id/after_favorites_divider"
|
||||
style="@style/Divider"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:text="@string/library_title_music_folder" />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue