android-support-library Questions

2

Solved

How can I reduce the spacing between actionbar homeasup button and action bar title? It used to have a smaller spacing but somehow the spacing has increased. I didn't make any changes in the xml o...
Batson asked 4/12, 2016 at 17:47

10

Solved

I'm following the tips from questions like this to create a button style like suggested on Material Design. However, I need to change the corner radius and haven't been able to do so by inheriti...

10

Solved

Hi i'am trying to import the new android support library like this com.android.support:support-design:22.0.0 but i got this error after sync the gradle : failed to find

9

I create a BottomSheetDialogFragment and I want to adjust it's maximum expanded height. How can I do that? I can retrieve the BottomSheetBehaviour but all I can find is a setter for the peek height...

6

I'm having some problems consistently animating a 'refresh' icon in the ActionBar of my app. I have a container FragmentActivity which swaps fragments in and out as the user navigates through the ...

6

Solved

Background Google has recently published an update to its support library, which now has a new "SwipeRefreshLayout" view. The view allows to wrap another view, while supporting swiping down in o...
Ruprecht asked 11/4, 2014 at 14:2

18

Solved

I've been using the new BottomSheetDialog added in Support Library 23.2, but I want to change the default height of the dialog. I know it probably has to do with the behavior_peekHeight attribute w...
Holliman asked 25/2, 2016 at 17:33

11

Solved

I'm looking for a way to correctly share (not OPEN) an internal file with external application using Android Support library's FileProvider. Following the example on the docs, <provider andr...

10

Solved

Several developers have reported seeing the following stack trace since upgrading to Android Support 23.2.0: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.suppo...

27

How can I set footer settings and profile items to NavitationView? to looks like the Inbox by email navigation drawer. The NavitationView items are inflated by menu resource, but I don't know how t...

8

Solved

After the sdk update im not able to create a hello world application. My build.gradle looks like this apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "...

11

Solved

I have the following test bottom sheet implementation. When I set the peekHeight to a value less than 500, it works. After some value, any increase in peek height will not change how the bottom s...

12

Solved

I have added BottomNavigationView in my application like. main.xml <android.support.design.widget.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent...

5

Solved

I am moving my first steps with app programming. I searched the other topics that relate to this matter and tried all the solutions but still it's driving me mad: building on Android Studio I ca...
Filings asked 1/11, 2018 at 3:10

16

Solved

I've recently updated the android studio IDE to 0.8 to work with the new android L SDK. To start I imported a finished android project that receives no errors in the older version of android studio...
Orangutan asked 3/7, 2014 at 5:26

27

Solved

I am trying out AppCompat on Marshmallow. And I want to have a transparent status bar however it turns white. I've tried a couple solutions but they didn't work for me (Transparent status bar not w...

3

I am using Android support library com.android.support:appcompat-v7:28.0.0. However, I am also using com.google.android.gms:play-services-nearby:16.0.0, which depends on an earlier version of the s...
Endoplasm asked 27/1, 2019 at 20:17

6

I want to try BottomSheetDialog introduced in Android Support Library 23.2 but it doesn't seem to work correctly. Here is what the doc says: While BottomSheetBehavior captures the persistent bot...
Stalwart asked 25/2, 2016 at 3:7

20

Solved

I'm trying to leverage new Snackbar from Android Design Support Library to display multiline snackbar, as shown in http://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toast...

10

Solved

I'm following the Creating a Navigation Drawer tutorial (Android Training). I have downloaded the sample app and it work as intended. I open the drawer, press back and it gets closed. The problem...
Suffocate asked 6/10, 2014 at 12:18

10

I'm getting an wrong behavior when showing an Bottom Sheet Dialog in landscape mode. The problem occurs in the 24.+ version of the design library. According below image the Bottom Sheet is not sho...
Partida asked 11/1, 2017 at 13:4

11

Solved

I am using android.support.design.widget.BottomNavigationView from design support library version 25 compile 'com.android.support:design:25.0.0' <android.support.design.widget.BottomNavigation...

7

I am trying to call BottomSheet using android-support-library 23.2 on Click of button. Its working fine but not taking full height. It reside below AppBarLayout. I didn't find any solution on Andro...

23

Solved

How do you set the state of a fragment extending BottomSheetDialogFragment to expanded using BottomSheetBehavior#setState(STATE_EXPANDED) using the Android Support Design Library (v23.2.1)? https:...

10

Solved

In my NavigationView I have a header layout with id 'viewId' with active buttons. To setup those buttons, I do the following in activity's onPostCreate: final View panel = findViewById(R.id.viewId...

© 2022 - 2024 — McMap. All rights reserved.