Library filter UI change (#1211)
* similar library filter to catalog filter * removed some commented out code * code review changes * fixed accidentally removing title
This commit is contained in:
committed by
Bram van de Kerkhof
parent
c1845aec83
commit
6c1453eb54
@@ -22,7 +22,7 @@ open class SimpleNavigationView @JvmOverloads constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet? = null,
|
||||
defStyleAttr: Int = 0)
|
||||
: ScrimInsetsFrameLayout(context, attrs, defStyleAttr) {
|
||||
: ScrimInsetsFrameLayout(context, attrs, defStyleAttr) {
|
||||
|
||||
/**
|
||||
* Max width of the navigation view.
|
||||
@@ -89,7 +89,11 @@ open class SimpleNavigationView @JvmOverloads constructor(
|
||||
* Header view holder.
|
||||
*/
|
||||
class HeaderHolder(parent: ViewGroup)
|
||||
: Holder(parent.inflate(R.layout.design_navigation_item_subheader))
|
||||
: Holder(parent.inflate(TR.layout.navigation_view_group)){
|
||||
|
||||
val title: TextView = itemView.findViewById(TR.id.title)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clickable view holder.
|
||||
|
||||
Reference in New Issue
Block a user