Skip to content

[3.2.0-beta2 / 3.3.0-dev] wrong width on system elements (OK / CANCEL)

Description

On some systems the native system elements like OK and CANCEL have a wrong width and infect other elements. If using @android:string/ok instead of @string/ok, the "OK" comes from the system. This is only happening when the English language is selected directly NOT the system default option.

This is propably not an issue in LineageOS:
https://gitlab.com/LineageOS/issues/android/issues/1007
Answer:
"This is not a lineage issue, it's likely an AOSP issue. I was able to reproduce this issue on stock Android 9 on Xiaomi Mi A1."

Issue was reported to google (login needed):
https://issuetracker.google.com/issues/138710686

Expected behavior

all system elements/buttons should have an automatic width

Actual behavior

system elements/buttons have a too wide width

Steps to reproduce

  1. choose directly in the interface settings language "English" NOT the system default one
  2. open "Local Network" from the left menu
  3. press "add network"
  4. on the dialog the OK button is too wide and makes the cancel button smaller

Screenshot / video

EN-add_network EN-eq

Context

App version

3.2.0-beta2
3.3.0-dev

Android version

LineageOS 16.0 / Android 9

Device model

One plus One (bacon)

Edited by Michał Trzebiatowski