123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Technology,-Gadget-and-Science >> View Article

Android Support Library 23.2 - Build Apps For Wider Range Of Devices

Profile Picture
By Author: Cris Styris
Total Articles: 6
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Google has enabled support for vector drawables for AppCompat while allowing developers to continue using app:srcCompat attribute if they want to use their own resources.

The BIG Additions

While Android Support Library 23.2 comes with the new day/night mode feature, the two big additions are –

• Support vector drawables for API higher than 7 devices
• Animated vector drawables for API higher than 11 devices

Vector drawables allow users to replace multiple png assets with a single vector drawable. AppCompat has received a series of new features that enable developers to use vector drawables even in places where the drawable id is not accepted (such as XML files). You can use ImageView with AppCompat, you can add app:srcCompat attribute to reference vector drawables.

Direct referencing of vector drawables outside app:srcCompat does not work on Android versions older than Lollipop.

Day/Night Theme

There is a new AppCompat Day/Night theme in version 23.2 -

Theme.AppCompat.DayNight. This theme allows apps to support light and dark theme on API ...
... 14 and higher devices. The default mode will be ‘night’, but it can be overridden with methods in AppCompatDelegate. If your app has location permission, then depending on the time and last known location, AppCompatDelegate.MODE_NIGHT_AUTO can be used to automatically switch between day and night. If you want to customize any resource to appear as night mode specifically, then AppCompat reuses night resource qualifier folder to customize every resource that will be needed.

Design Support Library

Design Support Library implements many patterns of Material Design that helps developers add bottom sheets to their app. By attaching BottomSheetBehavior to a child view of CoordinatorLayout, you can automatically get appropriate touch detection to transition between five states –

• STATE_COLLAPSED
• STATE_DRAGGING
• STATE_SETTLING
• STATE_EXPANDED
• STATE_HIDDEN

Support v4: MediaBrowserServiceCompat

Support v4 library is the foundation for most of the support libraries and includes backports of many framework features introduced with new versions. The MediaBrowserServiceCompat and MediaBrowserCompat provide compatible solution for latest APIs to all API 4 and higher devices. This supports audio playback on Android Audio and meida browsing on Android Wear.

RecyclerView

RecyclerView widget provides and advanced and flexible base for creating lists and grids while supporting animation. This version has LayoutManager API: auto-measurement and allows RecyclerView to adjust to content size.

Custom Tabs

Custom Tabs allow seamless transition to web content without disturbing the UX of the app.

Leanback for Android TV

With Leanback, the app can be transitioned to the Android TV without compromising on UX.

The version 23.2 is available with the SDK Manager and Android Studio, making Android app development exciting with IoT technologies.

Total Views: 348Word Count: 428See All articles From Author

Add Comment

Technology, Gadget and Science Articles

1. How Do I Contact A Support Person In Outlook?
Author: alternate number

2. Building A Strong Brand For Your Gojek Clone App
Author: adrianevans

3. Managing And Motivating Drivers In Your Indriver Clone App
Author: adrianevans

4. The Rise Of Ai-powered Chatbots: Enhancing Customer Experience With Generative Ai
Author: Objectways Technologies

5. Navigating Cmmc Compliance: A Comprehensive Guide
Author: Karmai

6. Quick Commerce Adoption: Seizing Opportunities, Overcoming Challenges
Author: Nitin Lahoti

7. Unveiling The Power Of E-procurement Software: A Game-changer In Procurement Management
Author: nagaraj

8. What Are The Advantages Of Odoo Development For Smes
Author: Alex Forsyth

9. Building Trust In Ai: Ensuring Transparency And Accountability In Chatgpt
Author: Dinelka Mahaliyana

10. Virtual Healthcare: Unraveling The Impact Of Internet Connection On The Medical Field
Author: Dave

11. 6 Mistakes Businesses Often Commit Before Initiating Web Development
Author: Mathew Black

12. All You Need To Know About Udio Ai (text To Audio Converter)
Author: Ajay Rathod

13. Freudenberg Group Reports Record Sales Globally & Profits Surpassing € 1 Billion For The First Time Continues To Invest In India Expansion And Growth
Author: Harish Babu

14. You Will Never Search How To Turn Off Glance In Mi After Reading This Story Of Ipl Fans
Author: Jaykant P

15. The Evolution Of Chatbots: Exploring The Advancements In Natural Language Processing
Author: Chulani De Silva

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: