|
|
@ -144,7 +144,9 @@ class CollectionCreationUIView(
|
|
|
|
val drawable = view.context.getDrawable(R.drawable.ic_close)
|
|
|
|
val drawable = view.context.getDrawable(R.drawable.ic_close)
|
|
|
|
drawable?.setTint(ContextCompat.getColor(view.context, R.color.photonWhite))
|
|
|
|
drawable?.setTint(ContextCompat.getColor(view.context, R.color.photonWhite))
|
|
|
|
view.bottom_bar_icon_button.setImageDrawable(drawable)
|
|
|
|
view.bottom_bar_icon_button.setImageDrawable(drawable)
|
|
|
|
|
|
|
|
view.bottom_bar_icon_button.contentDescription =
|
|
|
|
|
|
|
|
view.context.getString(R.string.create_collection_close)
|
|
|
|
|
|
|
|
view.bottom_bar_icon_button.importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_YES
|
|
|
|
view.bottom_bar_icon_button.setOnClickListener {
|
|
|
|
view.bottom_bar_icon_button.setOnClickListener {
|
|
|
|
actionEmitter.onNext(CollectionCreationAction.Close)
|
|
|
|
actionEmitter.onNext(CollectionCreationAction.Close)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -203,10 +205,8 @@ class CollectionCreationUIView(
|
|
|
|
val drawable = view.context.getDrawable(R.drawable.ic_new)
|
|
|
|
val drawable = view.context.getDrawable(R.drawable.ic_new)
|
|
|
|
drawable?.setTint(ContextCompat.getColor(view.context, R.color.photonWhite))
|
|
|
|
drawable?.setTint(ContextCompat.getColor(view.context, R.color.photonWhite))
|
|
|
|
view.bottom_bar_icon_button.setImageDrawable(drawable)
|
|
|
|
view.bottom_bar_icon_button.setImageDrawable(drawable)
|
|
|
|
view.bottom_bar_icon_button.setOnClickListener {
|
|
|
|
view.bottom_bar_icon_button.contentDescription = null
|
|
|
|
actionEmitter.onNext(CollectionCreationAction.AddNewCollection)
|
|
|
|
view.bottom_bar_icon_button.importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_NO
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
view.bottom_button_bar_layout.isClickable = true
|
|
|
|
view.bottom_button_bar_layout.isClickable = true
|
|
|
|
view.bottom_button_bar_layout.setOnClickListener {
|
|
|
|
view.bottom_button_bar_layout.setOnClickListener {
|
|
|
|
actionEmitter.onNext(CollectionCreationAction.AddNewCollection)
|
|
|
|
actionEmitter.onNext(CollectionCreationAction.AddNewCollection)
|
|
|
|