简体   繁体   中英

How should I name styles and Themes in Android

What is the convention for naming xml styles in Android.

I have seee things like

Widget.TextView.SpinnerItem 

and

Theme.Black

If I extend these in my own styles how should I name it?

The styles can follow the following convention X style parent of Y then you should write YX

see Android UI best practices I have found out so far

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM