API features available only above level 24 (Android 7.0 Nougat) - liweiyap/narradir-android GitHub Wiki
API features available only above API 24
API 26 (Android 8.0 Oreo)
- Autosizing
TextView
s (useapp:autoSizeTextType
from support library instead) - Justifying
TextView
s usingandroid:justificationMode="inter_word"
- Adaptive icons
- Energy profiler in Profiler
- A lot of convenience functions in the Color class
- Year.now.getValue(), ported directly from Java 1.8 as an improvement over Calendar
- Do I have to update copyright year annually? Better from a UX perspective? But it would be harder to automate the update of the copyright year (range) in the GitHub README than in the app.
API 29 (Android 10 Q)
ID_NULL
(useResourcesCompat.ID_NULL
instead)
minSdkVersion
of dependencies
Your app’s minSdkVersion
must be at least as high as your dependencies’ minSdkVersion
! (Source)
As of Aug 2024:
- Material: API 21 (Android 5.0 Lollipop)
- Media3: API 19 (Android 4.4 KitKat)
- LeakCanary: API 14 (Android 4.0 Ice Cream Sandwich)
As of Jan 2023:
- Material: API 14 (Android 4.0 Ice Cream Sandwich)
- ExoPlayer: API 16 (Android 4.1 Jelly Bean)
- Open Source Software Licenses: not applicable
- LeakCanary: API 14 (Android 4.0 Ice Cream Sandwich)
Android distribution chart
Aug 2024
Aug 2022
Nov 2021
(To download, open Android Studio > 'Create New Project' Wizard > choose any Activity > Help me choose minimum SDK.)