mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
make font size value a constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
c10a0a7c65
commit
ab14d9afff
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,7 @@ class ViewThemeUtils @Inject constructor(private val theme: ServerTheme, private
|
|||
// hacky as no default way is provided
|
||||
val editText = searchView.findViewById<SearchAutoComplete>(R.id.search_src_text)
|
||||
val searchPlate = searchView.findViewById<LinearLayout>(R.id.search_plate)
|
||||
editText.textSize = 16f
|
||||
editText.textSize = SEARCH_TEXT_SIZE
|
||||
editText.setHintTextColor(scheme.onSurfaceVariant)
|
||||
editText.setTextColor(scheme.onSurface)
|
||||
editText.setBackgroundColor(scheme.surface)
|
||||
|
@ -476,5 +476,6 @@ class ViewThemeUtils @Inject constructor(private val theme: ServerTheme, private
|
|||
private const val PROGRESS_LIGHTNESS_DARK_THEME: Float = 0.28f
|
||||
private const val SURFACE_OPACITY_BUTTON_DISABLED: Float = 0.12f
|
||||
private const val ON_SURFACE_OPACITY_BUTTON_DISABLED: Float = 0.38f
|
||||
private const val SEARCH_TEXT_SIZE: Float = 16f
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue