标签: android
如何识别Android手机时钟是设置为小时模式还是AM / PM模式?
答案 0 :(得分:1)
尝试使用DateFormat类的is24HourFormat函数。如果用户选择了24小时格式,则应返回true,否则返回false。也请查看文档:{{3}}