mirror of
https://github.com/He4eT/yamf_launcher.git
synced 2026-05-04 17:37:25 +00:00
Forced text editing colors that make sense for the renaming field. Also fixed showing status bar.
This commit is contained in:
parent
cb91e5bf27
commit
f37393157b
4 changed files with 8 additions and 5 deletions
|
|
@ -305,7 +305,11 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh
|
|||
|
||||
uiUtils.setShortcutsSpacing(binding.homeView)
|
||||
|
||||
uiUtils.setStatusBar(window)
|
||||
// This didn't work and somehow delaying it by 0 makes it work
|
||||
val handler = Handler(Looper.getMainLooper())
|
||||
handler.postDelayed({
|
||||
uiUtils.setStatusBar(window)
|
||||
}, 0)
|
||||
|
||||
leftSwipeActivity = gestureUtils.getSwipeInfo(launcherApps, "left")
|
||||
rightSwipeActivity = gestureUtils.getSwipeInfo(launcherApps, "right")
|
||||
|
|
|
|||
|
|
@ -48,9 +48,6 @@ class UIUtils(private val context: Context) {
|
|||
BlendModeColorFilter(sharedPreferenceManager.getTextColor(), BlendMode.SRC_ATOP)
|
||||
|
||||
}
|
||||
view is TextView && view.compoundDrawables[0] != null -> {
|
||||
println(view.text)
|
||||
}
|
||||
else -> {
|
||||
view.setBackgroundColor(color)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@
|
|||
android:selectAllOnFocus="true"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault"
|
||||
android:textColor="#FFF3F3F3"
|
||||
android:textColorHighlight="#5F33B5E5"
|
||||
android:textSize="28sp" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatButton
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
<item name="android:enforceNavigationBarContrast">false</item>
|
||||
<item name="android:enforceStatusBarContrast">false</item>
|
||||
|
||||
<item name="colorAccent">#FF80CBC4</item>
|
||||
</style>
|
||||
|
||||
<style name="SettingsTheme" parent="Theme.AppCompat">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue