|
|
|
|
SystemBarColor (Property) In french: CouleurBarreSystème
The SystemBarColor property is used to get or change the system bar color in full-screen windows on mobile devices. Caution: the bar color cannot be changed on Nexus devices.
MyWindow.SystemBarColor = PastelGreen
Syntax
Finding out the system bar color Hide the details
<Result> = <Window used>.SystemBarColor
<Result>: Integer or constant System bar color. This color can correspond to: <Window used>: Window name Name of the window to be used.
Changing the system bar color Hide the details
<Window used>.SystemBarColor = <New color>
<Window used>: Window name Name of the window to be used. <New color>: Integer or constant New color for the specified element. This color can correspond to:- an RGB color (returned by RGB),
- an HSL color (returned by HSL),
- a preset color,
- one of the following constants:
| | AutomaticColor | The system bar color is adapted to the Action Bar (by default). | Transparent | The system bar is transparent. |
Remarks Specific features This property is available from Android 5.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|