xml - Android API level 21 backward compatibility? (Since the new update of the SDK came out) -
I have a problem with API level 21. I want to use Material Design and still have less API levels such as 18 (Android 4.3.1) capable of running the application. But I always get the error:
My reveal SDK so Looks like:
and build Eg .gradle:
Hope this helps to get some help For information about information, I really need it: (
Cheers.
< P> As described in the doctor :
Note: content content is only available on Android 5.0 (API level 21) and above
This means that you Values will be used-v21 for your content theme.
However, to provide content design style themes for some widgets, v7 support libraries . This is an example, using AppCompat Theme.
& lt; Style name = "theme. My theme" original = "theme.AppCom pat.Light" & gt; & Lt ;! Here we have the setting of the action of epomate in the Bayerstyle - & gt; & Lt; Item name = "actionbars" & gt; @Style / MyWestBarstyle & lt; / Item & gt; & Lt ;! - ... and here we have the epic colors theming ethers - & gt; & Lt; Item name = "color primary" & gt; @ Color / my_awesome_red & lt; / Item & gt; & Lt; Item name = "color primary diary" & gt; @ Color / my_awesome_darker_red & lt; / Item & gt; & Lt ;! - Your remaining merits - & gt; & Lt; / Style & gt;
More info here:
Comments
Post a Comment