Top "Android-support-library" questions

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

Xamarin Forms Android Error: Please install package 'Android Support Library'

I recently uploaded my project to Git, and used a auto-generated Xamarin/Windows/MacOS/VisualStudio .gitignore file. I did a …

xamarin xamarin.android android-support-library android-appcompat xamarin.forms
Nested fragments disappear during transition animation

Here's the scenario: Activity contains fragment A, which in turn uses getChildFragmentManager() to add fragments A1 and A2 in its …

android android-fragments android-support-library android-nested-fragment
android.support.v7 with `ActionBarActivity` no menu shows

In the new update Google has released a new API support library, that supports the ActionBar in API level 7+. I …

android android-actionbar android-menu android-support-library
How to use vector drawables with View besides ImageView with srcCompat?

app:srcCompat with ImageView allows for backward compatible use of vector drawables. But how can you use them with other …

android android-support-library android-vectordrawable
Remove line break in TabLayout

I just added the new TabLayout component to my app. As you may know there are two different modes for …

android xml layout tabs android-support-library
how to set unread notification count in NavigationView of DrawerLayout?

I have created one NavigationView inside DrawerLayout using Android Design Support Library <android.support.v4.widget.DrawerLayout xmlns:android="…

android android-support-library drawerlayout android-design-library navigationview
Fragment must be a public static class to be properly recreated from instance state

After updating to the latest support repository, compile 'com.android.support:appcompat-v7:24.2.0' compile 'com.android.support:design:24.2.0' compile …

android android-fragments android-support-library android-dialogfragment fragmentmanager
getSupportActionBar using FragmentActivity

I'm using fragment activity on one project, but it seems v4 support FragmentActivity doesn't has getSupportActionBar() method, and I need …

android android-actionbar android-fragmentactivity android-support-library
onAttach() not called in Fragment

My Fragment doesn't call onAttach(context) method when it launched from AppCompatActivity. Fragment creating in XML: <fragment android:id="@+…

android android-fragments android-activity android-support-library fragmentmanager