Top "Android-support-library" questions

The Android Support Library contains backported APIs from newer platforms and APIs that offer utility functionality.

How to implement Bottom Sheets using new design support library 23.2

Google release the new update to support library 23.2 in that they added bottom sheet feature. Can any one tell how …

android android-support-library android-support-design
FragmentStatePagerAdapter is deprecated from API 27

FragmentStatePagerAdapter is deprecated from API 27. What's the alternative of FragmentStatePagerAdapter? private class MainPagerAdapter extends FragmentStatePagerAdapter { MainPagerAdapter(FragmentManager fm) { super(fm); } @…

android android-support-library fragmentstatepageradapter
Cannot add android.support.v7 to my project build path

I am trying to add android-support-v7-appcompat to my project build path: This is what I have done: Right-click on …

android eclipse android-support-library buildpath android-appcompat
RequiresApi vs TargetApi android annotations

Whats the difference between RequiresApi and TargetApi? Sample in kotlin: @RequiresApi(api = Build.VERSION_CODES.M) @TargetApi(Build.VERSION_CODES.…

android android-support-library kotlin android-annotations
Fragment or Support Fragment?

I am developing an app that supports Android >= 4.0. It uses fragments from the android.app package. As I am …

android android-fragments android-support-library
Support library VectorDrawable Resources$NotFoundException

I am using Design Support Library version 23.4.0. I have enabled the gradle flag: defaultConfig { vectorDrawables.useSupportLibrary = true } I am using …

android android-support-library androiddesignsupport android-vectordrawable
Action Bar not showing action view icons

I'm using the new Action Bar Support and all my action views are shown in overflow and not as icons …

android android-actionbar android-support-library android-actionbar-compat
How to use the v7/v14 Preference Support library?

Together with the M release, there are new support libraries. One of them that seems to be very useful is …

android android-support-library support-preference
Design support library - Which version to use with SDK v21

I have problems to understand the version scheme of the support libraries and when to use which version. Currently I …

android android-support-library android-design-library android-support-design
android.support.v7.widget.GridLayout cannot get it to work

I have an android project which utilizes GridLayout in most of its menus and screens. The problem however is that …

android grid-layout android-support-library android-gridlayout