Configuration 类中包含了很多种信息,例如系统字体大小,orientation,输入设备类型等等.

fontScale -- 来源于system.prop中 sys.font.scale配置项

输入设备类型配置:系统加入的任何输入device必须拥有输入属性:现在android中仅支持touchscreen(触摸),keyboard(键盘),navigation(滚动球)

orientation -- 屏幕方位

keyboardHidden -- 如果是划盖或开盖手机并且没有软键盘支持,这个设成true

hardKeyboardHidden -- 如果是划盖或开盖手机,这个设成true

locale -- 用户选择的location信息

theme -- 皮肤,资源等等

当Configuration改变后,ActivityManagerService将会发送"配置改变"的广播,会要求ActivityThread 重新启动当前focus的Activity.

更多相关文章

  1. android editText 软键盘enter键图标的设置
  2. Activity被系统重启
  3. Android(安卓)软键盘问题总结
  4. android中的EditView控件
  5. Android模拟点击的四种方式
  6. android 高德amap开发一(地图创建)
  7. Android自动化测试初探(四): 模拟键盘鼠标事件(Socket+Instrumentat
  8. android xml 分析1--- AndroidManifest.xml
  9. 5.17学习内容 android判断软键盘状态、系统键盘监控、生成中间lo

随机推荐

  1. [原] Android 自定义View步骤
  2. [置顶] Android 4.2 Wifi Display核心分
  3. Android Activity间数据传输
  4. Android(安卓)windowSoftInputMode属性
  5. Android之路——第三个Android小程序(Andr
  6. Android事件机制:事件传递和消费
  7. Android定位功能实现
  8. 9、从头学Android之Button和ImageButton
  9. android测试工具MonkeyRunner--google官
  10. Android的uid与UserHandle