Questions tagged as 'android-layout'

2
answers

Alternative to Absolut Layout

I saw that AbsoluteLayout was discontinued because of patterns on different phones. I currently use RelativeLayout , but if it keeps the objects in relative positions, if I change one, the rest everything changes. Is there a subs...
asked by 27.06.2016 / 14:20
2
answers

Place text underneath the image

I'm developing an application and I put an image with a text underneath but when I run the application it looks like the text on the side of the image: <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayou...
asked by 12.08.2017 / 19:36
1
answer

What is ActionBarSherlock for Android?

A former colleague used this framework / lib I do not know in a company project for Android and restricted the version for Android 4.0+, however we need it to run on Android version 2.3 + ... so I do not see option if it does not remove this bus...
asked by 23.01.2015 / 22:47
2
answers

Two Layouts.xml for the same Fragment, is it possible?

My question is: Is it possible to use two layouts in the same Fragment? The context of my doubt is as follows: I wanted a form, where the user entered various information, but I can not put everything in the same layout, and I thought of...
asked by 24.02.2017 / 02:46
3
answers

How to identify in the code the method or command to display a list of data in NavigationView?

I found this code in hithub on an embroidery viewer follows the project link , I tried to search this app where method or command is invoked to display this list of data follows screen prints to exemplify.   I would like to know w...
asked by 22.05.2018 / 19:25
2
answers

Status bar with three-color gradient in Android Studio

It's like doing a status bar with a 3-color gradient (as in the image).     
asked by 05.05.2018 / 19:10
1
answer

How to close the keyboard?

When I step into this fragment with the keyboard already open, it remains open, what breaks my layout, how to hide it, or not to open it?     
asked by 25.11.2017 / 16:46
1
answer

Problem in making TextView display value updated

I'm doing a simple application, it's just a counter, with two buttons, "+" and "-", which consists of displaying an initial value of 0, and if I click on any of the buttons, the value displayed on the screen will be increased, or decremented, ac...
asked by 28.07.2017 / 05:18
2
answers

Android - Invalid Resource Directory Name

I tried everything by searching the internet, I saw several answers about giving Clean Project, renaming, updating IDE and nothing worked. It still gives the following problem: I just want to better organize the layout files by adding a...
asked by 21.04.2017 / 22:25
1
answer

Android - ImageButton image is not displayed [duplicate]

I'm trying to put 3 ImageButtons in a LinearLayout. The background image I am using are drawable images that I added by clicking the following sequence in Android Studio (2.2.2): Right click on the drawable, new, vector asset folder and choose...
asked by 02.12.2016 / 15:46