material-components / material-components/material-components-android
[DatePicker] Support Custom date input hint
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 17.4k
- Fork
- 3.2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Is your feature request related to a problem? Please describe.**
Currently I believe we can't set the hint as we want. We only able to change it by overriding the word using these strings res
```
y
m
d
```
but we need to follow the defined format dd/mm/yy.
**Describe the solution you'd like**
It would be nice to have if we can set the custom hint as we want maybe from dd/mm/yy to Day/Month/Year
**Describe alternatives you've considered**
Set the string res that won't printed as double word i.e I put d it will become dd, if I want to put Day it will printed as DayDay.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia individuando l’implementazione dell’input di testo di Android DatePicker e le risorse stringa esistenti mtrl_picker_text_input_year_abbr, month_abbr e day_abbr. Verifica in che modo queste risorse producono suggerimenti ripetuti, quindi definisci il comportamento previsto per formati personalizzati come dd/mm/yy e Day/Month/Year; il lavoro è completato quando il suggerimento richiesto può essere personalizzato senza parole duplicate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, java
- Ambito
- mobile-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100