Tabbed bottom sheet adjustments (#6309)

* SimpleNavigationView: Don't set background and elevation

* Add divider for tabs in bottom sheet

(cherry picked from commit be0a23d9ad)
This commit is contained in:
Ivan Iskandar
2021-12-04 21:57:29 +07:00
committed by Jobobby04
parent d71ca9ae0f
commit 81c089299e
4 changed files with 17 additions and 14 deletions
@@ -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)