I are new preference, there is now a problem. That is, when you create
In the Internet that is 3.0 as the dividing line, the system will support more than 3.0
Figure
Questions:
1, Why can not I create a android3.0?
2, I was not android3.0 it?
3, although similar functionality and
If your application supports both versions below 3.0, it supports 3.0 or later, or 3.0 above we use headers to provide dual-panel layout. Lower than version 3.0 we can add additional preferences XML is not in use, but rather to use
android: title = "@ string / prefs_category_one"
android: summary = "@ string / prefs_summ_category_one" />
android: title = "@ string / prefs_category_two"
android: summary = "@ string / prefs_summ_category_two" />
Then let us look at the next version of the code listing below 3.0 5-14 (res / xml / preference_headers_legacy.xml):
android: summary = "@ string / prefs_summ_category_one">
android: targetClass = "com.example.prefs.SettingsActivity"
android: action = "com.example.prefs.PREFS_ONE" />
android: summary = "@ string / prefs_summ_category_two">
android: targetClass = "com.example.prefs.SettingsActivity"
android: action = "com.example.prefs.PREFS_TWO" />
Experienced people want to talk about
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->Reply:
How to run 3.0 on 4.0 virtual machine
Reply:
3.0 on a 4.0 virtual machine
Should be backward compatible with the. . . 3.0 compiler environment and is carried out, which is not related to the virtual machine. .
No comments:
Post a Comment