office-gobmx/android/source/res
Michael Weghorn e1381521c5 android: Allow setting auto font/bg color
Add a button in the color palette UI
(that can be found in the bottom toolbar
under "Styles" -> "Font Color"/"Highlight Color"
when experimental editing mode is enabled) which
allows setting auto color for the font
or the highlighting/background.
This allows to unset any explicitly set color and
use the automatic color.

This is equivalent to the "Automatic"/"No fill color"
items in the font color and character highlighting
color popups in the desktop version.

Add a `boolean keepAlpha` param to
`sendFont{,Back}ColorChange` to be able
to distinguish between "auto color" and white
when -1/0xFFFFFFFF is passed as color.
See also previous commit
Change-Id I2e6512f32e671f92c8d31b2780c350dd74fb0747,
"android: Handle auto color as such", for some more
context.

Change-Id: I05182a2adbc00e64b1925ff52861a51ba8dcc21f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133996
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-05-08 08:27:05 +02:00
..
anim
drawable android: Allow setting auto font/bg color 2022-05-08 08:27:05 +02:00
drawable-hdpi
drawable-mdpi
drawable-xhdpi
drawable-xxxhdpi
layout android: Allow setting auto font/bg color 2022-05-08 08:27:05 +02:00
menu
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
values android: Allow setting auto font/bg color 2022-05-08 08:27:05 +02:00
values-de android: Allow setting auto font/bg color 2022-05-08 08:27:05 +02:00
values-tr
xml