Questions tagged as 'android'

1
answer

I can not find the android folder emulated / 0 /

I am creating a public file in an android route, I have followed the steps of the android developer web. I try to create a folder in pictures, I have refined and everything works fine, but when I see the cell phone I can not find the folder....
asked by 04.11.2017 / 17:36
1
answer

Imageview does not respect the dimensions on a cell phone

Good afternoon The problem I have is that the image does not respect the correct size on a device, this must be adapted for each type of resolution <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="h...
asked by 15.01.2018 / 17:29
1
answer

Text in bold and normal in an item of an array [duplicated]

good to all. I'm trying to implement an idea that may not be possible, since I can not find any information anywhere. I have an array with several items, my idea is that the strings of those items appear the first word of it in bold and the...
asked by 27.10.2017 / 20:58
1
answer

Go back two fragments at a time

I have an activity with two FrameLayouts, each with a fragment. But when doing a backpress first the fragment returns to its previous state, and after another backpress the fragment returns to its previous state. I want to make backpress the...
asked by 25.10.2017 / 17:50
1
answer

How to go through the items in a RecyclerView

I am developing an application where I use a RecyclerView to display a list of elements. Each item of this list is personalized, consisting of textview a spinner and% editText . The purpose is to update the data...
asked by 29.11.2017 / 13:58
1
answer

How do I limit the user to put an hour marker in Android studio?

Very good I'm working on an app in Android studio where I have to show a map. Here the user must have the option of touching a button and be able to add a marker on the map while touching a button and be able to remove the marker. Apart from thi...
asked by 29.10.2017 / 15:50
1
answer

Use or not use margin_start?

Many times when I give a left margin to a view using the xml attribute 'android: marginLeft' android studio I get a warning saying that I consider adding also android: marginStart. When I add it with the same value the warning disappears....
asked by 31.10.2017 / 09:26
1
answer

Problem with the R class in Android Studio [duplicated]

Good, after updating android studio in windows, always mark R.layout.activity_casilla_verificacion in red and all the R of the activity and we can not fix it, the layout is well written.     
asked by 08.11.2017 / 09:52
1
answer

Manifest Merger failed with multiple errors

Good afternoon! I am receiving this error and I do not know why it is, I hope you can help me. Error:Execution failed for task ':app:processDebugManifest'.    Manifest merger failed with multiple errors, see logs AndroidManifest: <...
asked by 13.11.2017 / 18:20
1
answer

(Android) Initialize a view object in a Button and ImageButton

Good morning! I open this topic in case you can help me. It turns out that I have to create an object that inherits from View, but depending on a value it must be either a Button or an ImageButton. The problem is that I tried casting and dire...
asked by 13.11.2017 / 10:51