android-support-design Questions

2

Solved

In my app I expand or contract the AppBarLayout on a specific event using setExpanded(boolean, true). I've got a good result, with a snappy and fluid animation using com.android.support:design:23...
Danilodanio asked 24/11, 2015 at 11:24

3

Solved

When working with Android >= 5.0, Drawable d = getResources().getDrawable(R.drawable.icon) Correctly parses the XML and returns a valid drawable. But when using the new Vector Drawable Support ...

3

Solved

I am trying to use NavigationView from Android Support Design library in my app. For some reason, OnNavigationItemSelected listener is not being called. Here is my code Activity Layout <?xml v...
Companion asked 14/7, 2015 at 4:41

4

Solved

Google release the new update to support library 23.2 in that they added bottom sheet feature. Can any one tell how to implement that bottom sheet using that library.
Severin asked 25/2, 2016 at 5:21

7

Solved

Today, it seems as though Android Nougat was released. Thus, I am more excited than ever to optimize my app for the new features like split-screen. I would like to push a version of my app that tar...

1

I'm using android.support.design.widget and I need to set the position of TabLayout at the activity_main.xml in the bottom of the screen. I've seen that you can use TabHost, but I prefer to use an...
Rufinaruford asked 19/1, 2016 at 8:30

2

Solved

I am trying to implement a layout with a CollapsingToolbarLayout inside a DrawerLayout. The whole acitivty_main.xml looks like this: <android.support.v4.widget.DrawerLayout xmlns:android="http...

4

Solved

I'm working with the CollapsingToolbarLayout from the new Android Design Support Library. I have set its title and it is working fine, the only problem I still have is that when you scroll, the te...

5

Solved

I'm currently experimenting with various new components in the new Android Support Design library. I've implemented a NavigationView in my MainActivity.java, which uses a FragmentManager to navigat...

4

Solved

Snackbars provide lightweight feedback about an operation by showing a brief message at the bottom of the screen. Snackbars can contain an action. Android also provides a toast, primarily used for...

2

I have upgraded Android Support Library from 23.1.1 to 23.2.1 and AppBarLayout setExpanded method is no longer working as it used to. I have CollapsingToolbarLayout that occupies whole screen, and...

5

Solved

I am trying to use the Android Support Design library (in version 23.0.1) and the class NavigationMenu (I use this class as an XML tag into a layout). When I execute my app on a Samsung on Android...

2

Solved

After updating google libs to 23.2.0 faced issue, that was in previous support libs version (as I remember it was 22+ or 23.1.0). I have RecyclerView in SwipeRefreshLayout, which is in Coordinato...

2

Solved

How to make this interaction Bottom sheet and FloatButton like in Google Map? The first screenshot shows two FloatButtons.After clicking on map, the second button change icon and scroll up and hook...

3

Solved

I am getting familiar with the new support.design library and I'm facing this issue with the FloatingActionButton. I'm trying to hide it programmatically, but the button stay always visible. I ha...

1

So I have an app in which the user can select a color by choosing from a set of RadioButtons, I have used the ButtonTint XML attribute to color the buttons, but obviously this only works on API &gt...

2

Solved

After update to v23.2.0 recyclerview items have strange behavior: very big with empty space. After update to design library 23.2.0 menu overflow icon became black (app has dark action bar). UPDATE...

3

Is it possible to have a CoordinatorLayout / CollapsingToolbarLayout in the fragments shown in the main container of a DrawerLayout? An answer to another question suggests that each fragment could...

4

Solved

EDIT of 01/02/2016: Bug should be resolved by applying the code provided by Android Team: https://stackoverflow.com/a/35132144/3397345, see accepted answer below. EDIT of 27/01/2016: Bug still not...

5

Solved

I have been using the v23.0.1 support library until now with no problems. Now when I switch to the new v23.1.0 library I am getting a null pointer on widgets in the drawer layout. mNavigationView ...

1

Solved

I had implemented one of the many solutions listed on https://code.google.com/p/android/issues/detail?id=78377 for this issue with 4.2.2 phones but now that I've updated to support tools 23 the iss...

1

Solved

The TextInputLayout introduces a nice counter function in the support-library version 23.1.0 - unfortunately with the floating-hint this gets very high in layout_height. Is there a way to bring th...

2

Solved

I use support design library to show/hide toolbar when scrolling a recyclerView inside a fragment, as mention here https://github.com/codepath/android_guides/wiki/Handling-Scrolls-with-CoordinatorL...
Pickerel asked 14/10, 2015 at 14:12

2

Solved

I have problems to understand the version scheme of the support libraries and when to use which version. Currently I have a project with compileSdkVersion 21, minSdkVersion 21 and targetSdkVersion ...

1

Solved

I'm trying to create a menu tab based on Google's "material design" using Eclipse, but I got an error: 01-07 01:02:10.238: E/tag(6696): contact on create called 01-07 01:02:10.301: E/AndroidRunt...
Blackjack asked 23/9, 2015 at 6:46

© 2022 - 2024 — McMap. All rights reserved.