mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-14 11:29:18 +00:00
Update: Try to fix section list background in older devices(Touches #73)
Improve: Top app bar differences made more prominent Update: Icon Colors
This commit is contained in:
@ -260,14 +260,14 @@ class TabsFragment : ScreenFragment() {
|
||||
}
|
||||
this.adapter = adapter
|
||||
addItemDecoration(DividerItemDecoration(context, adapter::configureDivider))
|
||||
setBackgroundResource(R.drawable.background_border)
|
||||
background = context.getDrawableCompat(R.drawable.background_border)
|
||||
backgroundTintList = context.getColorFromAttr(R.attr.colorSurface)
|
||||
elevation = resources.sizeScaled(4).toFloat()
|
||||
content.addView(this, FrameLayout.LayoutParams.MATCH_PARENT, 0)
|
||||
val margins = resources.sizeScaled(8)
|
||||
(layoutParams as ViewGroup.MarginLayoutParams).setMargins(margins, margins, margins, 0)
|
||||
visibility = View.GONE
|
||||
}
|
||||
sectionsList.backgroundTintList = context?.getColorFromAttr(R.attr.colorSurface)
|
||||
this.sectionsList = sectionsList
|
||||
|
||||
var lastContentHeight = -1
|
||||
|
Reference in New Issue
Block a user