Configeration知识android.docxVIP

  • 2
  • 0
  • 约6.26千字
  • 约 8页
  • 2018-01-18 发布于河南
  • 举报
Configeration知识android

【亲测】Activity中的 ConfigChanges 属性以及横竖屏切换时候 Activity 的生命周期一、Activity 的 ConfigChanges 属性官方解释:通过设置这个属性可以使Activity捕捉设备状态变化,以下是可以被识别的内容:CONFIG_FONT_SCALECONFIG_MCCCONFIG_MNCCONFIG_LOCALECONFIG_TOUCHSCREENCONFIG_KEYBOARDCONFIG_NAVIGATIONCONFIG_ORIENTATION设置方法:将下列字段用“|”符号分隔开,例如:“locale|navigation|orientation”ValueDescription “mcc“The IMSI mobile country code (MCC) has changed — that is, a SIM hasbeen detected and updated the MCC.移动国家号码,由三位数字组成,每个国家都有自己独立的MCC,可以识别手机用户所属国家。“mnc“The IMSI mobile network code (MNC) has changed — that is, a SIM hasbeen detected and updated the MNC.移动网号,在一个国家或者地区中,用于区分手机用户的服务

文档评论(0)

1亿VIP精品文档

相关文档