Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Check if we're running on Android 5.0 or higher
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
- // Call some material design APIs here
- } else {
- // Implement this feature without material design
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement