How is 618 sales champion made?Uncover the secret of e-commerce’s “invigorating” hundreds of millions of sales data>>>
1) Settings
< uses-sdk android:minSdkVersion= “4” android:targetSdkVersion= “11” />,
This indicates that the application can be deployed on Android 3.0 or before. In other words, when the device’s sdkversion = = 11, the application will start the action bar We need to set minsdkversion to 11 . Otherwise, your action will not appear There are also some funny ones getWindow().requestFeature(Window.FEATURE_ ACTION_ BAR); You can get the actionbar out with this sentence, but the position of actionbar is black Or in Android 8.0 getWindow().requestFeature(8); They all have the same effect, so… Want to use mobile phones below sdk11 Don’t use actionbar, or there will be a lot of bugs