material-components / material-components/material-components-android

[TabLayout] Text size problems mainly in samsung devices

Aperta
#4,444 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug Widget: Tab
Lingua principale
Java
Stelle
17.4k
Fork
3.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Description: I'm noticing problems mainly on Samsung devices where the text set to tab is not being displayed correctly. When testing on other devices and in the emulator (pixels) the text is displayed correctly, but on some of the samsung devices I test, the text when displayed on the 2nd line is mostly cut off. This can be replicated by increasing the text size and screen size in the settings.

Expected behavior: The correct or intended behaviour would be the same as in pixels, where the text would be displayed correctly without being cut off.

Android API version: I haven't tested it below, but at least in the latest apis of Samsung's devices it happens (29 plus)

Material Library version: 1.12.0

Device:
All the devices had the latest updates available.

  • SM-A525F/DS (API 34, One UI - 6.1)
  • SM-G965F (API 29, One UI - 2.5)
  • SM-F900F (API 31, One UI - 4.1.1)

Screenshot 2024-11-29 at 14 19 24

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il problema di TabLayout con dimensioni del testo e dello schermo aumentate sui dispositivi Samsung o sui livelli API elencati, quindi confronta il risultato con gli emulatori Pixel. Il lavoro è completato quando il testo della scheda sulla seconda riga viene visualizzato interamente e corrisponde al comportamento Pixel previsto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, java
Ambito
mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.