fix(android): a field should look recessed, a button raised

They carried the same fill and the same pill, so the password field looked like a command. A field now holds 10 per cent white against a button's 18 and a main action's 30 - hollow against raised, which is the only cue left once borders are gone.

The settings panel also reclaimed the top of the screen, above the title: created hidden, FMX moves it to the head of the stack when it becomes visible. Its position is now reasserted each time it appears.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
r-zakarya
2026-08-16 22:18:16 +01:00
parent 2e2ded1146
commit 9bc005696d
3 changed files with 11 additions and 3 deletions
+4 -1
View File
@@ -19,7 +19,10 @@ $src = 'C:\Program Files (x86)\Embarcadero\Studio\23.0\Redist\styles\Fmx\Dark.st
$dst = Join-Path $PSScriptRoot 'pm-dark.style'
# Doivent suivre les constantes de PMA.Theme.
$surface = 'x2EFFFFFF' # COL_RAISED : blanc translucide, sans bordure
# Un champ est CREUX : moins de blanc qu'un bouton (18 %) et bien moins que
# l'action principale (30 %). Sans cet ecart, une saisie ressemble a une
# commande - le mot de passe avait l'air d'un bouton.
$surface = 'x1AFFFFFF'
$border = 'x00000000' # plus de filet : la reference n'en a aucun
$text = 'xFFFFFFFF' # COL_TEXT
+2 -2
View File
@@ -2075,7 +2075,7 @@
object TRectangle
StyleName = 'background'
Align = Contents
Fill.Color = x2EFFFFFF
Fill.Color = x1AFFFFFF
Locked = True
Height = 22.000000000000000000
HitTest = False
@@ -2509,7 +2509,7 @@
object TRectangle
StyleName = 'background'
Align = Contents
Fill.Color = x2EFFFFFF
Fill.Color = x1AFFFFFF
Locked = True
Height = 131.000000000000000000
HitTest = False