Questions tagged as 'android-layout'

0
answers

Error DrawerLayout and NavigationView

I would like to know how I can fix this "DrawerLayout" error Also, it tells me that I also have another problem with the "NavigationView" I share my code in case I missed an error too * activity_main build.gradle (Module...
asked by 15.08.2018 / 03:47
1
answer

AAPT2 error: check logs for details 2018

How about again friends, I was trying to execute a project until I suddenly got the AAPT2 error. I have read that to disappear you have to solve the errors from the last. And these are the errors that appear to me. I do not mark erro...
asked by 16.08.2018 / 09:16
1
answer

how to modify or update data of an item in a listview in another activity

How to make an item in the Android listview open a "different activity" with all the data of the selected user and then make an update? public class PersonaFisica { public String idPF; public String namePF; public String rfcPF;...
asked by 25.07.2018 / 00:16
1
answer

How to add a new style to an image?

I'm trying to add a new style to a image, but I'm a bit lost on how to do it, the idea is that on the image below it appears a colored bar with a text - "new employee", I'm trying to create a new style, but I do not know if this is the best way...
asked by 23.07.2018 / 21:31
0
answers

How to integrate a Presenter to an empty Activity?

I am implementing a Presenter at a Activity empty, that is, my Activity_main is completely empty without any element or widget, it asks me: How do I integrate this Presenter in my Activity so that I throw a JSON in that Activity em...
asked by 24.07.2018 / 19:23
1
answer

Fragment error: can not find symbol method findViewById (int)

I'm working with fragments, and I made a new fragment in which I need to use a button that turns on the phone's flashlight. The problem is that when I try to declare it, it gives me an error, (I still get an error in @Override): package com.ex...
asked by 17.07.2018 / 05:12
0
answers

How to maintain the context of the main activity in all the elements of the ViewPager?

I had my application in a single layout, in order to improve it I am trying to implement a main layout with a ViewPager and through it access the different layout in which I divided the app. When I had everything in one layout, it did not presen...
asked by 11.07.2018 / 19:54
0
answers

ScrollView with static views

I'm trying to develop a graph that has two types of views, Views A and Views B . When doing horizontal scroll only Views B must be moved, but when doing vertical scroll all views must be moved, including the A views . This is the...
asked by 11.07.2018 / 01:03
0
answers

Android Studio unify layouts

I am fixing an old project and I have found that some layouts are divided into 3, as in measurements, normal, large and large landscape, I want it to be one for everything, I leave an image of what I see. thank you very much!     
asked by 12.07.2018 / 17:10
0
answers

Maps are not shown in my Android project

When running the emulator in Android Studio I can see the maps, but if I install it from the device, like any apk like "app-release.apk" that's where the maps are NOT displayed. Please, I need help. Thank you very much     
asked by 30.06.2018 / 02:14