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

There is any possibility to approach label with EditText in TextInputLayout?

when i put 2 or 3 TextInputLayout, label seams link graphically to previous editText instead of next. i need to put much marginTop to TextInputLayout. there is any possibility to approach label with…
Alessandro Scarozza
  • 4,273
  • 6
  • 31
  • 39
0
votes
1 answer

TextInputLayout does not show hint in Edit Text

Below is the code that I am using. TextInputLayout is included as a part of Androids new Design library. But it does show the hint inside of the EditText. Am I using this the wrong way? Once I click on the EditText the hint text animation works…
Bhargav Jhaveri
  • 2,123
  • 1
  • 18
  • 23
0
votes
3 answers

Why do I need to specifically target the android.support.design library?

I'm fairly new to Android development, so I apologize beforehand. I'm a bit confused on the new Android support library. How come I can use just fine, but in order to use , I need to use…
Kyle Horkley
  • 911
  • 1
  • 9
  • 23
0
votes
1 answer

AppBarLayout and Toolbar invisible on Android 4.x

I am using the new AppbarLayout and Toolbar from the v22 design support library. But they appear invisible on 4.x devices. Is this a known issue? How do I fix it? Here's my XML:
Tim Kranen
  • 4,202
  • 4
  • 26
  • 49
0
votes
1 answer

TabLayout like PagerSlidingTabStrip

I swapped out my PagerSlidingTabStrip for the new android.support.design.TabLayout and now the tabs show up in the center of the screen instead of left-aligned like they did with the PagerSlidingTabStrip. I want them to be aligned to the left of…
Jeremy
  • 601
  • 4
  • 14
0
votes
1 answer

How to use Framelayout with NavigationView from Support Design Library

How Can I add framelayout with the Navigation View where I am using framelayout as a container for fragments from the drawer.
0
votes
0 answers

Android Design Library AppBar Scrolling behavior

I have an own implementation of the scrolling toolbar in my app. In the new design library from Google http://android-developers.blogspot.de/2015/05/android-design-support-library.html there is a new implementation for scrolling the toolbar. Thats…
Zenco
  • 2,963
  • 3
  • 17
  • 22
0
votes
2 answers

How to add a navigation view in the new android support library

I'm doing this in my layout :
ouya
  • 213
  • 1
  • 3
  • 10
0
votes
2 answers

getFragmentManager on android.support.design.widget.NavigationView

On the new support design library I cant replace current fragment, check my code below. Although the Toasts are working and displaying on the screen. I'm getting empty screen whenever I'm going to click on any item on the navigation drawer private…
-1
votes
1 answer

I need suggestion how can I achieve this kind of UI in android?

I want to design Seekbar like this:
user12365792
-1
votes
2 answers

Getting errors trying to build a github project

I'm new in android studio i'm struggling to build this project https://github.com/CodingInfinite/AndroidLoginScreen I'm getting many errors that i fixed but still that app won't run it open and crash this is the errors 07-07 00:06:02.063…
user11715585
-1
votes
1 answer

How to save a View to a file or to a local database?

i have view with canvas undo array(bitmap array), paint array, background bitmap, paths. now i want to give functionality that user can save view as draft and can use anytime in future. so how to store whole view locally in file or sqlite or…
-1
votes
2 answers

Setting itemTextAppearance for Android NavigationView gives a "bold" text style

I have 4 text style defined between my designer and my Android app. I had to add a Navigation Drawer today and give the nav drawer menu items a style that we already have set. The issue is that when I add a style it shows the text looking like it's…
c_idle
  • 1,448
  • 4
  • 22
  • 40
-1
votes
2 answers

android.support.v7.view.SupportMenuInflater.parseMenu; unexpected end of document

I am using the inbuilt navigation Activity (activity->navigation drawer activity). It was working fine till now but now I am getting error message com.focus.abhishek.ftouchutility, PID: 2119 java.lang.RuntimeException: Unable to start…
-1
votes
2 answers

Android Design Application

I here attached some snap here. I am very new in android so any give idea for create the design or give any link to learn design
Gowtham
  • 33
  • 7
1 2 3
49
50