android-support-library Questions

7

Solved

I get this nullPointerException on runtime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null...
Rigsdaler asked 6/6, 2015 at 10:49

26

Solved

i try to add recyclerview to my project and get this error appear and i added it from android studio dependencies

6

Solved

I have two activities using AppBarLayout with a Toolbar and TabLayout from support library 22. The layout of both is pretty similar: A Toolbar at the top, below it TabLayout, below it a ViewPager ...

8

Solved

I'm using support library to show vector images on android kitkat. When I test my app on emulater I don't see any of these images. I made a separate layout for android lollipop and above and it wor...
Hernandez asked 6/7, 2016 at 10:38

12

Solved

I just copy all the jar files of Http but Android Studio cann't import all these jar files.It gives an error : Cannot resolve symbol HttpGet,HttpClient,HttpResponse. My Activity file is here:- p...
Sorel asked 16/9, 2015 at 11:25

2

In my Android app, I have a splash screen where I do some setup and loading. My app uses default explode as a windowEnterTransition and a windowExitTransition and a changeImageTransform plus change...

4

Solved

How to find latest version number of google specific libraries from repositories (jcenter etc..) to include in gradle dependencies in Android Studio. For non google libraries generally I can make...

7

Nested scroll view scrolls smoothly on scrolling down but on scroll up it is sluggish.Collapsing toolbar(with an image view and framelayout) upon scrolling up doesn't renders its content(remains bl...

25

Solved

I followed a tutorial of new component NavigationView in Support Design Library and can't get through this error message : Error inflating class android.support.design.widget.NavigationView I tr...
Artefact asked 8/6, 2015 at 12:39

9

Solved

I tried Google Support Library BottomNavigationView with a Framelayout for my Fragments . Here are my code <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.Coordi...

3

On the material design specs there is a snackbar that has the button at the bottom. How do you implement that? Here is the image from the spec. I'm talking about the last one.

2

I have got a trouble with layout of Preference screen after updated SDK to version 28 (Android Pie). Each PreferenceScreen has a new padding on the left. As I've checked, there is a method to set ...

11

I have a plugin error in my logcat 10:08:28 PM Plugin Error Problems found loading plugins: Plugin "Google Analytics Uploader" was not loaded: required plugin "Android Support" is disabled. Pl...
Rose asked 19/6, 2016 at 14:26

6

Solved

I am trying to migrate from default android AlertDialog to the new one included in appCompat-22.1 So far I understand you only have to import android.support.v7.app.AlertDialog package in order to...

0

emphasized textI need to use firebase Crashlytics in project but not want to migrate project to android. I want to know if it possible. How to use an Androidx library in a project which is not migr...

27

Solved

I'm trying to create simple application using android-support-v7:21 library. Code snippets: MainActivity.java public class MainActivity extends ActionBarActivity { Toolbar mActionBarToolbar; ...
Cobaltous asked 21/10, 2014 at 12:27

14

Solved

With a Preview 1 of Android Studio 2.2 Google released a new layout in its support library: ConstraintLayout. With ConstraintLayout it is easier to use a Design tool in Android Studio, but I didn't...
Salacious asked 19/5, 2016 at 8:46

3

The RecyclerView library recently added the new SortedList class. Suppose I have a callback that implements a compare() method that can change over time, i.e. the underlying Comparator can be switc...

5

I have an android project which utilizes GridLayout in most of its menus and screens. The problem however is that GridLayout is supported from API 14 and onwards. Since I want to make the applica...

6

Solved

I have these log errors when launching my app: > 05-20 01:48:35.312: E/AndroidRuntime(23032): FATAL EXCEPTION: main 05-20 01:48:35.312: E/AndroidRuntime(23032): java.lang.RuntimeException: Unab...
Viticulture asked 20/5, 2013 at 2:33

7

Solved

On Android Support Library 24.1.1, the Snackbar was working fine: Then starting on Android Support Library 24.2.0 onwards, the Snackbar started to behave like this: On the library revision hi...

3

My end goal is to have two single-line TextViews in a left-aligned, packed horizontal chain that allows both of them to grow to fill the remaining space, splitting it evenly if necessary, ellipsizi...

4

Solved

How do you download the Android support library via the command line? For example: echo y | android update sdk --no-ui --filter "android-19"
Spindle asked 2/5, 2014 at 20:38

5

Solved

I'm using an EditText inside a TextInputLayout, but after upgrading the support library to 23.2.0, I get this warning in the logcat, What's the difference between a regular EditText and a TextInput...

7

Solved

How to make the drawer layout be below the actionbar/toolbar? I'm using v7:21 app compat library with the new ToolBar view. Examples that I see looks like <android.support.v4.widget.DrawerLayo...

© 2022 - 2024 — McMap. All rights reserved.