diff --git a/sher-gil/src/main/java/com/kinnerapriyap/sugar/ShergilActivity.kt b/sher-gil/src/main/java/com/kinnerapriyap/sugar/ShergilActivity.kt index 9bb57bf..b3284d4 100644 --- a/sher-gil/src/main/java/com/kinnerapriyap/sugar/ShergilActivity.kt +++ b/sher-gil/src/main/java/com/kinnerapriyap/sugar/ShergilActivity.kt @@ -158,7 +158,7 @@ internal class ShergilActivity : mediaGalleryAlbumCursorAdapter = MediaGalleryAlbumCursorAdapter(this, viewModel.fetchAlbumCursor()) .also { adapter -> - adapter.setDropDownViewResource(R.layout.album_spinner_item) + adapter.setDropDownViewResource(R.layout.album_spinner_dropdown_item) } binding.albumSpinner.adapter = mediaGalleryAlbumCursorAdapter binding.albumSpinner.onItemSelectedListener = this diff --git a/sher-gil/src/main/res/layout/album_spinner_dropdown_item.xml b/sher-gil/src/main/res/layout/album_spinner_dropdown_item.xml new file mode 100644 index 0000000..2887d5f --- /dev/null +++ b/sher-gil/src/main/res/layout/album_spinner_dropdown_item.xml @@ -0,0 +1,35 @@ + + + + + + + + \ No newline at end of file diff --git a/sher-gil/src/main/res/layout/album_spinner_item.xml b/sher-gil/src/main/res/layout/album_spinner_item.xml index 2887d5f..82d7643 100644 --- a/sher-gil/src/main/res/layout/album_spinner_item.xml +++ b/sher-gil/src/main/res/layout/album_spinner_item.xml @@ -12,7 +12,7 @@ android:layout_height="wrap_content" android:ellipsize="marquee" android:singleLine="true" - android:textColor="?attr/shergil_toolbarSpinnerAlbumNameText" + android:textColor="?attr/shergil_toolbarSelectedSpinnerAlbumNameText" android:textSize="16sp" app:layout_constraintBottom_toTopOf="@id/mediaCount" app:layout_constraintStart_toStartOf="parent" @@ -25,7 +25,7 @@ android:layout_height="wrap_content" android:ellipsize="marquee" android:singleLine="true" - android:textColor="?attr/shergil_toolbarSpinnerAlbumCountText" + android:textColor="?attr/shergil_toolbarSelectedSpinnerAlbumCountText" android:textSize="14sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="@id/albumName" diff --git a/sher-gil/src/main/res/values/attrs.xml b/sher-gil/src/main/res/values/attrs.xml index cf5fde1..2af3f71 100644 --- a/sher-gil/src/main/res/values/attrs.xml +++ b/sher-gil/src/main/res/values/attrs.xml @@ -16,6 +16,8 @@ + + diff --git a/sher-gil/src/main/res/values/styles.xml b/sher-gil/src/main/res/values/styles.xml index e6583bb..d25c695 100644 --- a/sher-gil/src/main/res/values/styles.xml +++ b/sher-gil/src/main/res/values/styles.xml @@ -25,6 +25,8 @@ #000000 #000000 #000000 + #ffffff + #ffffff @style/Shergil.BottomBar