Questions tagged as 'android-layout'

2
answers

Nav Header with login

I have the navigation drawer menu and in the header part I have only one image. I would like to put the user to login. In kids I would like to leave as in the image below: Iwouldliketoputtheimagethenameandtheemailoftheuseralreadyloggedin.Can...
asked by 20.07.2016 / 14:40
1
answer

Invisible Spinner in form

I'm developing a form where I added the spinner, the code worked, I was able to add and pick the selected item, the problem is in the spinner's visibility. It only appears on the screen when I click on it, and soon after I choose the option it g...
asked by 28.05.2016 / 17:41
1
answer

My layout stopped working

I'm setting up a screen for an android application, I made the screen layout and it was working, however after updating the android studio my layout does not work anymore. The code for this: <?xml version="1.0" encoding="utf-8"?> <...
asked by 04.05.2016 / 01:07
1
answer

Horizontal RecylerView as WhatsApp

I would like your help on how to do this layout of the "Media" part of a given WhatsApp Contact. It would be this CardView integer called "Media". It would be almost exactly the same way, I have no doubt about the adapters, only...
asked by 13.11.2015 / 18:43
1
answer

How to create a Double toolbar?

I researched google, but I never found a way to make a double toolbar (material design) like the one in the image: Everywhere I've been show just how to make the toolbar simple. If it is easier, just direct me to what I should look for.    ...
asked by 27.01.2016 / 21:23
1
answer

Resize bitmap without blurring

I'm using a code to make ImageView circular. The problem is that I need to use " scaleType: centerCrop ", which leaves the oval image instead of circular , depending on the resolution of the image. I tried using the code below to resize...
asked by 19.10.2015 / 05:45
1
answer

Animate a LinearLayout with the LayoutAnimationController

Good afternoon! Home I have a LinearLayout that will be displayed when the user selects a Switch For this I have created two methods, for fadeIn and fadeOut. Following: private LayoutAnimationController fadeIn(){ Animation fadeIn = Animat...
asked by 08.07.2015 / 20:14
1
answer

Android ListView equal to Instagram

I'm developing a project in Android Studio, the screens of the project are all made in Fragment, I'm using Material Design followed the tutorial
asked by 24.05.2015 / 06:31
1
answer

How do I set margin in a TextView in java source code?

When I'm in xml , it only applies the property: android:margin="15" I want to apply this same property, but in the source code of java , how do I do this?     
asked by 24.04.2015 / 02:20
2
answers

Create button menu at the bottom in Google maps v2 android

How to create the Menu button equal the Maps App. Here is an example in the red square. Could someone pass an example?     
asked by 14.04.2015 / 04:04