Tabbed bottom sheet adjustments (#6309)

* SimpleNavigationView: Don't set background and elevation

* Add divider for tabs in bottom sheet
This commit is contained in:
Ivan Iskandar
2021-12-04 21:57:29 +07:00
committed by GitHub
parent 458a0e608a
commit be0a23d9ad
4 changed files with 17 additions and 14 deletions

View File

@@ -43,17 +43,6 @@ open class SimpleNavigationView @JvmOverloads constructor(
R.style.Widget_Design_NavigationView
)
setBackground(a.getDrawable(R.styleable.NavigationView_android_background))
if (a.hasValue(R.styleable.NavigationView_elevation)) {
setElevation(
a.getDimensionPixelSize(
R.styleable.NavigationView_elevation,
0
).toFloat()
)
}
a.recycle()
recycler.layoutManager = LinearLayoutManager(context)