Make lock icon bigger and use primary color

This commit is contained in:
Ensar Sarajčić 2023-08-03 11:28:49 +02:00
parent 037d8f0147
commit eec54e49d8
2 changed files with 2 additions and 2 deletions

View File

@ -74,6 +74,7 @@ class OpenNoteAdapter(
val formattedText = note.getFormattedValue(context)
open_note_item_text.beGoneIf(formattedText.isNullOrBlank() || note.isLocked())
icon_lock.beVisibleIf(note.isLocked())
icon_lock.setImageDrawable(activity.resources.getColoredDrawableWithColor(R.drawable.ic_lock_vector, properPrimaryColor))
open_note_item_text.apply {
text = formattedText
setTextColor(textColor)

View File

@ -14,9 +14,8 @@
android:layout_width="match_parent"
android:layout_height="@dimen/open_note_popup_lock_size"
android:layout_below="@+id/open_note_item_title"
android:alpha="0.5"
android:importantForAccessibility="no"
android:scaleType="centerInside"
android:padding="@dimen/small_margin"
android:src="@drawable/ic_lock_vector"
android:visibility="gone" />