[英]How should I name styles and Themes in Android
What is the convention for naming xml styles in Android. 在Android中命名xml样式的约定是什么。
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
样式可以遵循Y
的以下约定X
样式的父代,那么您应该编写YX
see Android UI best practices I have found out so far 查看到目前为止我发现的Android UI最佳做法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.