android-support-library Questions
4
Solved
I trying to use the new android compatibility package to include fragments into my project.
I am trying to include a transition animation when I add a new fragment. The thing is only one of my anim...
Ventricle asked 9/8, 2011 at 9:14
12
I'm following a tutorial in HeadFirst Android development and encountered issues after adding:
private ActionBarDrawerToggle drawerToggle;
The control was deprecated so I followed instructions on...
Wallachia asked 31/3, 2017 at 11:54
5
I tried using autoSizeTextType.
My minSdk is 24, all the tools are 26 and compat ist 26-beta2 as well.
Making them adjustable was tried through code:
dialogWeight.touchables.filterIsInstance<...
Unavoidable asked 12/7, 2017 at 13:42
2
After updating the support library from v-26.1.0 to v-27.0.0 Multiple errors in my fragments.
here is a list of some these errors:
Error: Smart cast to 'Bundle' is impossible, because 'arguments' ...
Sebastien asked 30/10, 2017 at 13:46
5
Solved
I implement the tab layout using android support library and it looks like
Here the tab width is not fit with screen and my layout is
<LinearLayout xmlns:android="http://schemas.android.com...
Rozele asked 31/8, 2015 at 6:25
8
Solved
I am trying to create a Android Application which uses 3 spinners. I keep getting this error and I can't figure out how to fix it.
This class should be public (android.support.v7.internal.widget.A...
Hydrogenolysis asked 2/4, 2014 at 19:43
8
Solved
EDIT: The real problem was that my LinearLayout was wrapped in another layout, which caused the incorrect behavior. The accepted answer by Sanvywell has a better, more complete example of how to dr...
Szabo asked 13/6, 2015 at 16:13
2
Solved
Today I updated support dependencies in my project and I found some issues with the new CardView.
Previous version:
compile 'com.android.support:cardview-v7:21.0.0-rc1@aar'
Current version:
co...
Ozalid asked 18/10, 2014 at 13:0
3
I'm running into the following error only when testing on a Samsung Galaxy Nexus phone with Android 4.3 and API 18.
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/i...
Polycrates asked 30/7, 2016 at 17:54
8
Solved
My inner PreferenceScreen of PreferenceFragmentCompat is not showing, or seems to ignore tapping events.
I created MyPreferenceFragment that extends PreferenceFragmentCompat
public class MyPrefe...
Repose asked 9/9, 2015 at 18:55
5
Solved
I lost some hours today because my code was not working any more.
The code to reload the view of a fragment was not working anymore after updating to the new version of Support Library 25.1.0:
This...
Oca asked 21/12, 2016 at 19:51
5
I'm getting this warning spammed in my console. The only info I can find is most people get it when they have fast scroll enabled in a listview. I'm not using any listviews. It says its being impro...
Uniliteral asked 1/7, 2016 at 0:22
7
Solved
I just installed the new Android Studio and I'm looking for a way to import the support library for Android.
Where is the option for that? In Eclipse that are just two clicks. I googled for it but...
Alonzo asked 16/5, 2013 at 6:39
3
Solved
I think I've tried everything now...
I've been all over stack overflow, I've even consulted the android doc
Most of the posts here show how to add the .jar file in Eclipse "android tools -> add s...
Feldstein asked 13/1, 2014 at 2:30
11
Solved
<android.support.v7.preference.EditTextPreference
android:key="prefTest"
android:title="test number input"
android:inputType="numberDecimal|numberSigned"
android:defaultValue="800"/>
It...
Fife asked 15/3, 2017 at 8:45
7
Solved
I'm starting a new project that uses the AppCompat/ActionBarCompat in v7 support library. I'm trying to figure out how to use the getSupportActionBar from within a fragment. My activity that hosts ...
Ceremonial asked 19/8, 2013 at 18:36
4
Solved
After migrating a couple of my older projects over to AndroidX it as though three of my dependencies are deprecated:
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com....
Rarefy asked 26/8, 2019 at 9:44
6
Solved
I am creating a searchview in the toolbar using onCreateOptionsMenu, but can't get the clear X button to initially be white. It becomes white when starting to type letters. It also stays white afte...
Kironde asked 24/8, 2015 at 9:9
4
Solved
I have a ViewPager with three Fragments, each one shows a List (or Grid).
In the new Android API level 17 (Jelly Bean 4.2), one of the features is Nested Fragments. The new functionality descripti...
Soothsay asked 14/11, 2012 at 12:52
12
Solved
I use new autosize feature added in support library 26. I read a documentation which can be found here :
https://developer.android.com/preview/features/autosizing-textview.html
I suppose that it ...
Epicardium asked 22/5, 2017 at 16:35
3
Solved
I used following snippet to find TextView inside SearchView widget.
int autoCompleteTextViewID = getResources().getIdentifier("android:id/search_src_text", null, null);
mQueryTextView = (AutoCom...
Excusatory asked 9/9, 2014 at 10:57
13
Solved
The fragments I use in my ViewPager instance are quite resource intensive, so I'd only like to load one at a time. When I try the following:
mViewPager.setOffscreenPageLimit(0);
mViewPager.setAdap...
Ensoll asked 9/4, 2012 at 12:32
14
Solved
I have an old project that supports multi-languages. I want to upgrade support library and target platform, Before migrating to Androidx everything works fine but now change language not work!
I u...
Binocular asked 20/3, 2019 at 16:34
10
After update with the latest Android support library 23.1 i get this error
Failed to resolve: com.android.support:support-v4:23.0.0
I tried all combination of 23.+ and 23.1.0 and 23.1.+ etc. H...
Operator asked 17/10, 2015 at 9:40
4
Solved
Please help: I got error when import android.support.design.widget.TabLayout
It say "can not resolve symbol 'design'
My build.gradle:
compileSdkVersion 26
buildToolsVersion "26.0.0"
dependenc...
Anubis asked 13/9, 2017 at 10:8
© 2022 - 2024 — McMap. All rights reserved.