android-support-library Questions
13
Solved
I am getting a weird scrolling behavior when I add a RecyclerView inside a NestedScrollView.
What happens is that whenever the scrollview has more rows than can be shown in the screen, as soon as ...
Liard asked 30/3, 2016 at 16:40
5
Solved
I am beginner and getting this error in Android Studio :-
Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:30.0.0
Install Repository and sync projectShow in FileShow in Projec...
Lawsuit asked 16/6, 2020 at 19:20
6
Solved
I have already referred to this thread but it does not resolve my issue.
I keep getting the error:
ERROR: Failed to resolve: com.android.support:appcompat-v7:29.0.1
in Android Studio every time I ...
Pitsaw asked 13/7, 2019 at 19:10
18
Solved
I am new to android development, and I have been using the command line tools to create an android project. I followed all the instructions given in the tutorial at android developers. However, the...
Lampert asked 28/4, 2014 at 0:37
2
Solved
Recently i switched from Eclipse to Android Studio. I have a project with multiple module dependencies. One dependency is the support library appcompat, included like this:
dependencies {
compile...
Imperceptible asked 29/11, 2013 at 7:57
10
Solved
I'm trying to show an icon next to an item within my menu for my navigation drawer, but for some reason the icon always appears in grey rather than the original colour (brown). Is there any way of ...
Wrongdoing asked 13/7, 2015 at 22:4
4
Has anyone figured out a way to get recyclerviews, AppbarLayouts and SwipeRefreshLayout to work together on 23.2 yet? I am using a pretty standard method I think, but the swiperefreshlayout keeps g...
Guillermoguilloche asked 26/2, 2016 at 1:16
14
Solved
Google introduced the NavigationView in the Design Support Library version 22.2.0 with which you can create a drawer very easily using a menu resource.
How can I create a simple divider line betwe...
Meister asked 3/6, 2015 at 16:6
10
I am trying to use the android.view.ActionMode with the new android.support.v7.widget.Toolbar, in addition to the traditional android.app.ActionBar. I am able to display it with:
toolbar.startActi...
Quenelle asked 21/10, 2014 at 9:51
3
Solved
This is a sort of follow-up or complement to this post. I am trying to get the position of an item in my RecyclerView, but none of the methods I have tried have worked.
I called getAdapterPosition...
Crime asked 19/6, 2015 at 21:51
7
Solved
When I developed, I found a new widget called android.support.v7.widget.ButtonBarLayout unexpectedly. I tried to search it on the internet, but nothing was found, even on the official development d...
Nikkinikkie asked 22/1, 2016 at 8:12
4
Solved
I am using Recyclerview with CardView. I am aware how to control speed on list view. But not for Recyclerview.
I searched a lot in found class name SmoothScroll. How to use that? I have no Idea! R...
Odom asked 2/3, 2015 at 5:40
6
Solved
I'm facing a problem with the new backward compatibility with VectorDrawables.
In the Support Library 23.2 was a new feature for backward compatibility with Android VectorDrawables indroduced.
I ...
Sears asked 20/4, 2016 at 10:29
3
when i implementation 'androidx.appcompat:design:1.1.0' code in build gradle(module app)
it says ERROR: Failed to resolve: androidx.appcompat:design:1.1.0
i have try to change the implementation ...
Strobila asked 16/9, 2019 at 12:17
16
Following is my code for bottom navigation view item selected
bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
@Override
publ...
Pershing asked 21/2, 2017 at 9:6
5
Solved
My problem is the extra space between the nav-drawer icon and toolbar title. The sample images are below:
The xml view of the toolbar is
<android.support.v7.widget.Toolbar
android:id="@+i...
Loquat asked 21/11, 2016 at 10:15
4
Solved
I am using TextInputLayout with the design support library 22.2.1.
I set the value of the EditText programmatically, and when the screen appears, I can see that the hint of the TextInputLayout ove...
Leda asked 21/7, 2015 at 16:1
2
We have your standard RecyclerView-based Feed screen in our app.
If I have like 100+ items in my RecyclerView and press the 'go to top' shortcut, the default behaviour for smoothScrollToPosition(0...
Anse asked 16/12, 2016 at 1:54
4
Hi I am using support library android.support.v7.widget.CardView to achieve cardview functionality in my android app. I want to achieve swipe to delete functionality in it as well.
<android.sup...
Bonanza asked 17/10, 2014 at 10:22
6
I am using android compatibility library (v4 revision 8). In the custom DialogFragment the overrided method onViewCreated is not getting called.For eg.
public class MyDialogFragment extends Dialog...
Lalo asked 15/5, 2012 at 6:5
3
Solved
I have a staggered grid that has 2 columns. This is working. What I want is at position 0 for the row to span across the 2 columns. I have done this before quite easily using GridLayoutManger as so...
Winterfeed asked 13/11, 2015 at 15:24
14
I am using Design Support Library version 23.4.0. I have enabled the gradle flag:
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
I am using build tools version 23.0.2, but still, I ...
Vagabond asked 3/6, 2016 at 13:17
3
Solved
I have a Fragment (it is not an inner class, and it does not have any constructor whatsoever)
public class PreferenceListFragment extends ListFragment implements OnClickListener
I'm getting this...
Splenomegaly asked 25/12, 2012 at 13:36
6
Solved
I've created a small app that has three fragments for top-level navigation through a BottomNavigationView. If you launch the app and click on a navigation button on the bottom nav, you are presente...
Aborning asked 12/5, 2018 at 0:31
16
Solved
I'm looking for a way to display the hamburger icon whitout using the Drawer/DrawerToggle and use the default icon included in Android
By setting getSupportActionBar().setDisplayHomeAsUpEnabled(t...
Thier asked 21/1, 2015 at 16:8
© 2022 - 2024 — McMap. All rights reserved.