android-support-design Questions

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

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 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...

7

Solved

I already showed my bottom sheet layout with its peek height set to 100dp. But how can I limit my bottom sheet to expand to 500dp only? This is my sample layout: <android.support.design.widget....
Lemmuela asked 15/4, 2016 at 1:12

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:...

37

Solved

I am trying to disable user dragging on BottomSheet. The reason I want to disable is two things. 1. It's preventing the ListView from scrolling downward, 2. I don't want users to dismiss using drag...

3

Is it possible to make CollapsingToolbarLayout's expanded title text wraps across several lines (similar to TextView.maxLines attribute)?
Athanasia asked 5/7, 2015 at 19:41

2

I'm using FloatingActionsButton (FAB) from the design support library (com.android.support:design:22.2.0). In my application I have two main functionalities which the first is to sync data every X...

4

Solved

When using a CoordinatorLayout with AppBarLayout on some activities I need the content to be under the AppBarLayout, i.e. the Toolbar is using some transparent color and overlays the content. By de...

5

Solved

I am trying to hide my tool bar when I scroll my text and image with content. Here I use scrollView for getting scroll content. When I scroll content up, how to hide the tool bar? Here is my XMl co...

3

I create bottom navigation bar and i need to hide title and show icons only but when i write title with empty string there is big space between icon and bottom it just replace string with empty str...
Silda asked 7/2, 2018 at 9:26

4

Solved

I'm referencing a great demo here regarding material design. It has tabs, but when I add too many the tab items get squished (see screenshot). How can I make it scroll horizontally? I believe be...

3

Solved

I have a single Activity android app with lots of fragments. When I'm showing a list screen I want to use the Toolbar with the, app:layout_scrollFlags="scroll|enterAlways" property. And in the deta...

6

Solved

I am using Material design library and creating layout using CoordinatorLayout ,AppBarLayout ,RecyclerView and TabLayout . My issue is i am unable to see Tab indicator in Tablayout .Below is my xm...
Frangipane asked 12/6, 2015 at 5:42

5

I'm trying to create a menu tab based on Google's "material design" using Eclipse, but I got an error: Error inflating class android.support.design.widget.TabLayout Log file: 07-30 00:52:40.5...
Abdullah asked 29/7, 2015 at 22:57

4

Solved

I am using TextInputLayout with the design support library 22.2.1. I set the value of the EditText programmatically, and when the screen appears, I can see that the hint of the TextInputLayout ove...

3

Solved

Hi. In the picture above you can see a back arrow and a (part of) title. I changed the title color using the attached .xml code. But I want to color the back arrow to white too. I read some answ...

21

Solved

BottomNavigationView doesn't show menu's title that are inactive. How to show titles of all menu elements in bottomNavigationBar? The problem is that in my case shown only title of element that i...
Viscometer asked 21/10, 2016 at 12:4

2

Solved

I have NavigationView with multiple Groups which is based on some condition I need to hide & show the group. How I can achieve this. My Sample NavigationView menu <?xml version="1.0" enco...

4

Solved

I have bellow xml: <?xml version="1.0" encoding="utf-8"?> <androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas....
Heartsick asked 7/10, 2018 at 13:32

4

Solved

I want to hide TabLayout on scrolling my content. Currently I searched the net but I found samples which hide the Toolbar, but I want to hide TabLayout. So please help me. I tried below code. <...
Hephaestus asked 8/10, 2015 at 7:20

2

I am using Coordinator layout along with NestedScrollView in my fragment for the Collapsing Toolbar animation. I am adding views dynamically to my Nested Scrollview container. I have implemented on...

© 2022 - 2024 — McMap. All rights reserved.