mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-19 01:50:07 +01:00
Make lock icon bigger and use primary color
This commit is contained in:
parent
037d8f0147
commit
eec54e49d8
@ -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)
|
||||
|
@ -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" />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user