Questions tagged as 'android-layout'

1
answer

What is the reason for the "This view is not constrained ..." error in ConstraintLayout?

What is the reason for this error?    This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints XML <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.Co...
asked by 22.06.2017 / 00:05
1
answer

close alertdialog open with inflate

I have a project with an open dialog box with an inflate giving the user the option to type a text to change the value of a String. I'm having trouble closing this box and going back to the previous layout. public class Calendario extends A...
asked by 29.06.2018 / 17:29
0
answers

___ ___ erkimt '' android ... CoordinatorLayout '' problem in Android Studio can not place components in layout ______ qstntxt ___

When I create a new project, the XML looks like this:

ThenIcannotdraganycomponentintoit.

AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator.

Do you have any idea what it can be? I already researched the internet and I did not find my problem.

    
___

When I create a new project, the XML looks like this: ThenIcannotdraganycomponentintoit.AndI'mnotgettingtheemulatoreither.WhenIclickonthedebug(greenarrow)theerrormessage"IDE Error" appears and does not open the emulator. Do you have any i...
asked by 03.09.2018 / 22:52
0
answers

Capturing images

Hello. I'm creating an application in which I use an imageview, an editText and a calendarview, the imgageview and the editText are for customization, so that the user can select the image he wants and leave the message he wants, leaving the cal...
asked by 23.06.2018 / 14:59
0
answers

Title size of a fragment

I have 3 fragments all 3 with titles like this in the image. But I can not reduce the font size of the title. Because I want it to work for all screen sizes. When the screen is smaller, this error occurs. Can anyone tell me a way to fix th...
asked by 24.06.2018 / 23:32
1
answer

Constraint Layout bugged

I made an application in Android Studio using ConstraintLayout. After finishing I tested in two different devices, a Lenovo Vibe K6 and a MotoG 1st Generation, and in both everything was perfect. But when I tested it on the Samsung Galaxy J2 it...
asked by 22.06.2018 / 04:30
1
answer

How to make a View overlap?

I have this XML : <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_hei...
asked by 05.06.2018 / 11:14
1
answer

showing only part of the screen when the android keyboard is active

I have the following screen in android and would like that when the user clicks on one of the editText, only the 3 fields (name, birth date and phone) are shown at the top of the screen (above the keyboard). These components are separated...
asked by 22.05.2018 / 21:48
2
answers

How to eliminate the space left by invisible views on the screen?

I'm working on an android application and my question is: When the user logs into the application, it checks the permissions of the application. How can I make this button invisible and organize to not leave blank the space that this button occu...
asked by 24.11.2016 / 18:47
0
answers

XML with NestedScrollView + Recyrcleview

I have this layout and I want to do a collapsing effect with my header bar .. it's happening more because I'm using a NestedScrollView + Recyrcleview the scrolling gets strange I tried to put android: nestedScrollingEnabled="false" in my Recyrcl...
asked by 19.04.2018 / 14:19