Jump to content
Yaroslav Brovin
Message added by Yaroslav Brovin,

Please be aware that these comments were copied here from another source and that the date and time shown for each comment may not be accurate.

  • Status: Open
  • Priority: Normal
  • Resolution: Unresolved
  • Platform: Android
  • Affects version: 1.18.11.0

1. Создал темы и сохранил изменения:

A81F32AB-67C8-4193-8112-0F885F7B6046.png.faf28bc5b244e0ea4b377c84781bb47e.png

2. Прописал нужное в \Templates\Android\styles.xml и сохранил:

C8161636-7885-45FC-8107-770FAB89317B.png.6a05a1ae98c9c25ce62e480b8ef461a4.png

3. Включил IsTransparent:

B403D32A-09F4-4B54-B32F-443A57F42CD0.thumb.png.81e6d8e9f6071cde702e4d6bcc20dc01.png

4. Ожидаю, что цвет шрифта в системном заголовке (часы, иконки) будет автоматически переключаться в зависимости от текущей темы (потому что ContentStyle = Auto) :

procedure TFormMain.fgSwitch1Changed(Sender: TObject);
begin
  if fgSwitch1.IsChecked then ThemeName := 'Theme Dark' else ThemeName := 'Theme Light';
end;

... однако по факту цвет не меняется:

 

Project4.zip


User Feedback

Recommended Comments

gorodoro

Active subscription

Это только Android (13 в моём случае).

Если есть возможность проверить на iOS — пожалуйста, отпишитесь, как оно себя там ведёт.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.