Questions tagged as 'android-layout'

1
answer

custom views

I need to dynamically add to my main activity (a number) a view that I have defined in an xml file in the layouts folder. I have defined the custom view as a RelativeLayout where I have different types of views. The problem I have is that after...
asked by 18.03.2017 / 14:02
1
answer

problem when going from one fragmet to another [closed]

Hello, the problem is that I'm trying to go from Fragment to another by a button but when I touch the button the other Fragment is positioned on top of the first one, that is, the two fragment are displayed on the screen...
asked by 28.04.2017 / 02:18
1
answer

Is there any way to create autoscroll to a listview ?, in Android Studio

I have a problem, make an example of a chat I found on the Internet, the example works very well only when trying to send messages and did not become autoscroll every time I sent messages, I had to scroll myself to be able to see the new message...
asked by 04.02.2017 / 09:39
1
answer

Does not change the image when making a set in android studio [closed]

What I try to do is that when any condition is met, a change of image is made to another. But it does not make any change, and I do not know why, if someone could indicate where I'm wrong or if the type of set is not compatible and such would be...
asked by 26.12.2016 / 17:10
1
answer

Create a horizontal grid on Android Wear

How to create a grid of 1 row and 3 columns in Android Wear? Also known as Android Wear 2D picker.     
asked by 21.11.2016 / 20:44
1
answer

Problem when using a tablelayout within Listview

I'm using a custom adapter where I have a .xml where% is% Co and% .xml where I have my view . In my view file enter a ListView and within it TableLayouṭ to accommodate my controls inside, the problem is that when I run my...
asked by 06.05.2016 / 16:43
1
answer

Android + Firebase Push Notification with locked phone

I have my android application that receives alerts via FCM Push Notification using the (Java) method: @Override public void onMessageReceived(RemoteMessage remoteMessage) My conflict is that I am not making the screen (Activity) that opens...
asked by 28.11.2018 / 15:33
1
answer

Pressing back does not return as expected

I run into the following problem: If I take a tour of my app and go through the layouts, when I click the button on the back of the mobile terminal, I see that it is not going backwards as I expect, but that it goes back on the path I have ma...
asked by 17.11.2018 / 10:17
1
answer

Custom dialog

I have a question, as I do when I enter a text in an EditText of a main activity, then I appear in a dialog as a title?     
asked by 16.11.2018 / 22:41
0
answers

error in the layout of android studio. Apply script build.gradle

I have the following problem I just downloaded android studio and I have not done any project because I have that error that does not let me see the layout     
asked by 18.11.2018 / 01:25