style(searchbar): Update searchbar to m3 theming

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2025-07-09 20:51:36 +02:00
parent 02121a4009
commit e1ea3d81ae
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -267,8 +267,10 @@ class ConversationsListActivity :
setupActionBar() setupActionBar()
setContentView(binding.root) setContentView(binding.root)
initSystemBars() initSystemBars()
viewThemeUtils.material.themeCardView(binding.searchToolbar)
viewThemeUtils.material.themeSearchBarText(binding.searchText) viewThemeUtils.material.themeSearchCardView(binding.searchToolbar)
viewThemeUtils.material.colorMaterialButtonContent(binding.menuButton, ColorRole.ON_SURFACE)
viewThemeUtils.platform.colorTextView(binding.searchText, ColorRole.ON_SURFACE_VARIANT)
forwardMessage = intent.getBooleanExtra(KEY_FORWARD_MSG_FLAG, false) forwardMessage = intent.getBooleanExtra(KEY_FORWARD_MSG_FLAG, false)
onBackPressedDispatcher.addCallback(this, onBackPressedCallback) onBackPressedDispatcher.addCallback(this, onBackPressedCallback)
@ -2191,7 +2193,7 @@ class ConversationsListActivity :
binding.filterConversationsButton.let { binding.filterConversationsButton.let {
viewThemeUtils.platform.colorImageView( viewThemeUtils.platform.colorImageView(
it, it,
ColorRole.ON_SURFACE_VARIANT ColorRole.ON_SURFACE
) )
} }
} }