Drop navigation bar theme improvements
These needs to be tested better as they currently look bad on old devices Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -189,15 +189,12 @@ class MainActivity : AppCompatActivity() {
|
||||
B.searchFab.visibility = View.VISIBLE
|
||||
B.navView.visibility = View.VISIBLE
|
||||
B.toolbar.visibility = View.VISIBLE
|
||||
window.navigationBarColor = SurfaceColors.SURFACE_2.getColor(this)
|
||||
}
|
||||
R.id.appDetailsFragment -> {
|
||||
hideTopLevelOnlyViews()
|
||||
window.navigationBarColor = this.accentColor()
|
||||
}
|
||||
else -> {
|
||||
hideTopLevelOnlyViews()
|
||||
window.navigationBarColor = getStyledAttributeColor(android.R.attr.colorBackground)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ abstract class BaseBottomSheet : BottomSheetDialogFragment() {
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
val bottomSheetDialog = BottomSheetDialog(
|
||||
requireContext(),
|
||||
R.style.AppTheme_BottomSheet
|
||||
R.style.Theme_Material3_DayNight_BottomSheetDialog
|
||||
)
|
||||
|
||||
VM = SheetBaseBinding.inflate(layoutInflater)
|
||||
|
||||
Reference in New Issue
Block a user