I have a question about Material Design and semantics. I try to make the settings of my application and I have only a few fields. So I first try to make the UI like this one, with a LinearLayout
and some EditText
:
I have to set hour, and I have set OnClickListener
to display a TimePickerDialog
.
But when I check the settings on Google Agenda, it appear to be a List of Button
? (The animation on touch is the same on Button
)
Should I use Button
and not EditText
? Even if it's look like FullWidth Textfield?
Should I use a List
rather than LinearLayout
?
I am sorry for my bad english...
You can use both approach but if you will use Linear layout that will be good.
For material design you can follow below link:
I hope, It will help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.