Questions tagged as 'android-layout'

1
answer

Remove title space in AlertDialog

I have the following Dialog in my application As you can see, I will not use Title ( nomequalquer.setTitle("blabla") ) nor Message. I would like to know what I can do to make this white space where the title of about 50dp would be...
asked by 13.06.2016 / 03:06
1
answer

The separator is going through the reset button

I wanted the tab to stop just below the FREE THROW buttons, not at the bottom of the screen. How do I correct so that the design is responsive? Why is the content disorganized when the screen is in landscape mode? <?xmlversion="1.0" e...
asked by 05.08.2016 / 07:28
1
answer

Image framing

I'm trying to put a 704x480 image in an ImageView, but it floats with spaces up and down. Ex: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientati...
asked by 30.06.2016 / 06:49
1
answer

Function in Background - Android

Hello, I need to put an animation on the screen, it can only be visible for 10 seconds, after that time it disappears, and if the user clicks a specific button the animation comes back. Can someone help me? I can not solve it. Thank you!    ...
asked by 25.05.2016 / 21:27
1
answer

How do I put a scrollView inside a TextView if I already have a scrollView in the layout?

I put a scrollview in the layout and still needed to put a scrollview in TextView, however only one of them works, if it already has in the layout, the textView does not work. Does anyone know a way to leave them both? Thank you in advance.    ...
asked by 29.01.2016 / 17:35
1
answer

How to reconstruct the XML of a Fragment layout, when it is expanded?

I have a screen with a fragment, which without being expanded, it just shows the username and password field and the button to register, and I wanted it when I expanded it, fields like name, date of birth, municipality, state, were inserted betw...
asked by 09.11.2015 / 19:22
3
answers

How to put hint in a spinner?

I have a Spinner, where the user should select their gender: So far everything works fine, however I need to leave a hint spelled the word sex in the spinner component, as in the image below: CodethatIhavesofar:<Spinnerandroid:id="@+id/sp...
asked by 16.04.2016 / 22:44
1
answer

How to adjust the screen according to the Android virtual keyboard?

I would like to know how to resize the screen according to the display of the Android Virtual keyboard, style the Evernote home screen, that when the keyboard appears the image decreases and when the keyboard turns off, the upper image expands a...
asked by 06.11.2015 / 15:48
1
answer

Adding an EditText dynamically and modifying the layout_width, layout_height, and

I'm trying to add two EditText dynamically, so far so good. Now as I move the weight property on the screen, I can only use wrap_content or match_parent .     
asked by 08.10.2015 / 22:56
1
answer

Screen Division using Android + Unity

People, good afternoon. I'm having a project where I need to get a view of a particular object at 4 different points and position them to look something like this: link Does anyone have any idea how I can do this? Can you do it inside Uni...
asked by 01.10.2015 / 22:37