Wha's the difference between the Android Theme.AppCompat and Base.Theme.AppCompat? When should we use the Base theme?
<style name="flatButton" parent="Base.Widget.AppCompat.Button.Borderless">
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="flatButton2" parent="Widget.AppCompat.Button.Borderless">
<item name="colorAccent">@color/colorAccent</item>
</style>
You shouldn't use the Base theme at all - always use the standard themes. The Base themes are used internally to AppCompat and serve as a common base that applies to all API levels - it does not include the API level specific changes that are needed to properly function (something only the standard themes supply).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With