how to use android material button for android 4 and above? -
i'm trying add simple button on layout, min api 14, problem when run app on android < 5.0 button doesn't have animation , how can fix that?
i think animation talking ripple effect. feature of material design. , remember official material design theme supported android >= 5.0.
i guess using default theme. so, when run app on android 5.0 or above using material theme (with ripple effect button). however, when run android < 5.0, theme not material theme , button doesn't have ripple effect.
for solve problem, need using third party libraries apply material design app. here list of awesome ui library , can find libraries applying material design.
the list of awesome ui library: https://github.com/wasabeef/awesome-android-ui
Comments
Post a Comment