Questions tagged [android-design-library]

The Design package provides APIs to support adding material design components and patterns to your apps.

The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs.

744 questions
0
votes
2 answers

Cannot resolve method setExpandedTitleGravity(int)

I want to use setExpandedTitleGravity() method from CollapsingToolbarLayout. I just migrated from eclipse to android studio. In eclipse it worked fine, but in android studio compiler gives me the error cannot resolve method…
0
votes
3 answers

Fab from support library not visible on Loliloop

I am implementing Fab. It is shown on devices API < 21 but it is not shown on devices with API >= 21
Yarh
  • 4,459
  • 5
  • 45
  • 95
0
votes
4 answers

Change color bottom line of EditText

I have a EditText in TextInputLayout.
0
votes
2 answers

Need some help for design for layout in android

I have ListView which brings data from server using AsyncTask. After that onItemClick starts a new Activity which should show more detailed info of the clicked item from the ListView. Pretty simple . But problem is the individual pages should work…
0
votes
0 answers

Toolbar disappears after unlocking the screen

I have layout, see below. When I unlock the phone after some time of locking, sometimes(!) Toolbar disappears. Doesn't matter what exactly fragment added to the layout. There is no mechanics for show/hide Toolbar in app at all. Doesn't matter what…
tse
  • 5,769
  • 6
  • 38
  • 58
0
votes
1 answer

how i can use lollipop features on API 15

I have 2 questions: Is it possible to use the material in API 15? If yes so how can I do this? I Mean to use android:elevation and more like.
0
votes
0 answers

Navigation View Galaxy S 3 issue

Navigation View from new Android design library seems to have a issue in Samsung Galaxy S3 (Android 4.3). When I start opening de drawer, the background turns completely black, as I show in the image link. Any tip to solve? Thanks! Screenshot…
0
votes
2 answers

get scrolling effect using Coordinate layout

In my android application I have to show one linear layout and a RecyclerView below the linear layout, when the user reaches the bottom of the RecyclerView by scrolling I have to hide the LinearLayout with a parallax effect. I am not prefer to use…
droidev
  • 7,352
  • 11
  • 62
  • 94
0
votes
1 answer

Snackbar doesn't show action the first time it pops up

Just as the title says. I implemented the Snackbar feature in my app, the first time the snackbar pops up it doesn't show the action, but on the second time it does. The code is below. IabHelper.OnIabPurchaseFinishedListener…
0
votes
1 answer

CollapsingToolbarLayout & NestedScrollView don't work together

I'm trying to make CollapsingToolbarLayout work with NestedScrollView, but it doesn't follow the scrolling of NestedScrollView correctly. It moves a little bit when the NestedScrollView reaches the top or bottom end, but that's clearly not the…
0
votes
1 answer

AppBarLayout doesn't scroll after update to design library 22.2.1, if RecyclerView is inside LinearLayout

after updating the design library to v22.2.1 my activity layout won't scroll anymore. It was working fine prior to the update. The layout looks like this:
0
votes
1 answer

How to add Tabs to the TabLayout in latest Android Design Support Library

I am new to android development. I following the tutorial http://slidenerd.com/2015/07/22/android-design-support-library/ which adds same fragment to the tablayout.But I need to add 3 unique fragments to the tablayout which download data from the…
0
votes
1 answer

How to close nested layout when open new layout in android?

I am developing an android application,In that I am using a Layout that contains a root layout(invitation_single) and nested layout(hidden). When I am on click root layout the nested layout display along with root layout that works fine. now…
selva simon p
  • 147
  • 2
  • 13
0
votes
2 answers

how to hide sub layout when click button in android?

I am developing an android application,in that i am using a layout that contains one main layout and two sub layouts.when i am click main layout "invitation_single" the two sub layouts "hidden" & "hidden1" are visible(invitation_single is hide) ,In…
0
votes
1 answer

CollapsingToolbarLayout and imageview inside it do not collapse

I want the toolbar and imageview to collapse, when the user scrolls up. Since I'm not using a recyclerview, a suggested workaround was to wrap the imageview in a NestedScrollView. All of the content below the AppBarLayout, is made up of imageviews,…
HaloMediaz
  • 1,251
  • 2
  • 13
  • 31