Questions tagged as 'android-layout'

1
answer

Move child element

Because of this question I can now move a child from Framelayout outside the limits of his father, but the problem is that if I loose the Framelayout child outside the limits of his father, I can not move it, here what happens:...
asked by 01.02.2017 / 14:38
1
answer

AAPT2 error: check logs for details in Android Studio

I'm doing a basic project in Android Studio in its latest version that I downloaded in May 2018, when I try to compile the project I get the classic error of "AAPT2 error: check logs for details" which the whole Main class me marks errors in the...
asked by 23.05.2018 / 06:41
3
answers

Get id ListView elements

I have a ListView where I have the buttons of a View of my application. The problem is that I do not know how I can give them "life" by finding their identifier. My question is: How can I get the id of each of the buttons that make up the list?...
asked by 28.04.2017 / 10:26
2
answers

Button to close Activity in Android studio

I have a button on my second activity (pre-messages) <Button android:layout_width="50dp" android:layout_height="50dp" android:id="@+id/Button40" android:src="@drawable/back" android:layout_alignParentBottom="true" an...
asked by 18.08.2017 / 20:04
2
answers

Custom Spinner does not show full letter

good to everyone! I have a problem with the graphic appearance of the application. I have put two spinners, and I have put the letter of the same ones bigger by means of a layout with a TextView where I put the characteristics that I want...
asked by 27.10.2017 / 21:44
1
answer

Problems with "tools: layout_editor_absoluteY / X" Android Studio: This view is not constrained

shows me the message:    This view is not constrained, it has only design time positions, so it   will jump to (0,0) unless you add constraints I have problems with the restrictions of the "tools: layout_editor_absoluteY / X" tags...
asked by 12.03.2017 / 04:30
2
answers

Unfortunately the app stopped problem with imageview Android kit kat (API 19)

Good morning coders. I tell you what happens to me. I'm making an app for android, native, but when trying to insert an imageview (as indicated by the official documentation link api level 16) ... the app works on devices lollipop 5.0 and u...
asked by 21.12.2018 / 21:39
2
answers

Problem with preview interface in Android studio

The fact is that when I create a project when adding any component to the preview interface it does not let me see it, it only lets me see it if I execute the application in an emulator. Then I will leave a photo so it can be clearer. If anyo...
asked by 16.09.2018 / 22:09
1
answer

Show plurals on Android

Is there any way to pluralize strings in Android? that is, to represent. hay 1 objeto hay 3 objetos Currently what I do is have two resources defined in string.xml and if the value is more than 1 charge one or the other.     
asked by 10.12.2016 / 18:00
1
answer

Remove the focus of an EditText by pressing outside of it on Android

I have several EditText and other components, try that when you press out of EditText you lose the focus and the keyboard is hidden. layout.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"...
asked by 18.07.2018 / 20:54