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 ...
Mockheroic asked 7/6, 2016 at 16:53
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...
Alfie asked 23/8, 2016 at 2:44
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...
Anguish asked 7/7, 2015 at 10:29
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...
Americium asked 21/7, 2015 at 15:6
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...
Boyne asked 26/7, 2015 at 21:9
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...
Wedged asked 15/7, 2015 at 10:54
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...
Kono asked 5/4, 2016 at 7:55
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...
Polyclinic asked 22/9, 2015 at 18:6
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...
Grandmotherly asked 25/2, 2016 at 20:51
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...
Ezana asked 1/3, 2016 at 16:9
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...
Feint asked 25/6, 2015 at 13:50
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 >...
Proulx asked 8/3, 2016 at 12:19
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...
Periwinkle asked 25/2, 2016 at 7:47
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...
Collusive asked 6/8, 2015 at 13:12
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...
Ameliorate asked 12/7, 2015 at 14:22
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 ...
Demimonde asked 16/10, 2015 at 1:55
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...
Bethesde asked 15/10, 2015 at 18:18
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...
Padre asked 16/10, 2015 at 13:36
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 ...
Champaign asked 4/10, 2015 at 23:31
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.