Top "Android-support-library" questions

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

Remove BottomNavigationView labels

Google released new support library v25 with BottomNavigationView is there any way to remove items labels ?

android android-support-library androiddesignsupport bottomnavigationview
TabLayout set spacing or margin each tab

I want to set margin in between each tab. Like in PagerTabStrip which has setTextSpacing(int textSpacing) to make text …

android android-layout android-support-library androiddesignsupport android-tablayout
How to determine fragment restored from backstack

Been searching for this issue for a while to no avail now: How to determine fragment is being restored from …

android acl fragment android-support-library android-compatibility
Android v21 Theme.Appcompat color accent is ignored, no padding on dialogs

I'm using ActionBarActivity from the Android 5 SDK and here is my theme.xml for v21 <style name="AppTheme_Light" …

android android-5.0-lollipop material-design android-support-library android-appcompat
Fragment re-created on bottom navigation view item selected

Following is my code for bottom navigation view item selected bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(@NonNull …

android android-fragments android-support-library bottomnavigationview
Need to disable expand on CollapsingToolbarLayout for certain fragments

I have a AppCompatActivity that controls replacing many fragments. Here is my layout for it. activity_main.xml <android.…

android android-support-library android-toolbar coordinator-layout
Android : How to programmatically set layout_constraintRight_toRightOf "parent"

I have a view in ConstrainLayout as follows. <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" …

android android-support-library android-constraintlayout
Why can't I import AndroidJUnit4 and ActivityTestRule into my unit test class?

I'm having trouble importing some of the Android UI testing framework classes - I just can't figure out what is …

android android-support-library junit4 android-espresso
Android vectorDrawables.useSupportLibrary = true is stopping app

If I use vectorDrawables.useSupportLibrary = true in gradle then run the app it stopped unfortunately. If I remove vectorDrawables.useSupportLibrary = …

android android-support-library android-appcompat android-vectordrawable
notifyDataSetChange not working on RecyclerView

I'm working with Android's new RecyclerView but I can't get my custom adapter to refresh whenever I call one of …

android android-support-library custom-adapter android-recyclerview