Questions tagged as 'android-layout'

1
answer

Modify the colors.xml file of an android project from an external xml

I have this xml in my android project /res/values/colors.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#77ac5f</color> <color name="colorPrimaryDark">#558...
asked by 08.06.2017 / 11:22
1
answer

How to fix a spinner that does not show well on android

I have a problem with two spinners that are not shown correctly, in the interface, in the simulator the last two spinners are shown with a smaller font than the first one that says It's a Workshop, and testing in real devices in some cases the s...
asked by 12.02.2017 / 20:55
3
answers

The last element of my ListView is cut off

Finally I only added the line I put here below to the listview and it was solved, thanks for the answers!    android: paddingBottom="attr / actionBarSize" / > Good the problem is that my listview shows me the list, but the last eleme...
asked by 27.01.2017 / 13:48
1
answer

Access layout elements after the onMarkerClick event

I am stuck in the development of my application and I can not find anything to solve the problem. Once the onMarkerClick event occurs, after an asynchronous call has occurred before. When the clickmarker event skips I can not access tw...
asked by 06.01.2017 / 12:04
2
answers

download Build Tools 26.0.2 for Android studio 3.0.1

I want to download Build Tools version 26.0.2 but it will not let me download it because of my geographical position (I'm in Cuba) in the SDK Manager.     
asked by 26.02.2018 / 15:22
1
answer

SplashScreen: AsyncTask + ProgressBar + rotate device, Android

I have a splashcreen where I run a background process with AsyncTask , when the device is broken the previous task continues, but it starts again. I am reading about how to face the problem, in the best way possible, that is, avoid bad...
asked by 06.09.2016 / 18:15
1
answer

Install App on the lock screen (lock-screen)?

Dear, someone knows if the installation of an apps for the lock screen is configurable, the idea is that you do not have to unlock the pattern to access it. Pd : it's an application that I'm developing, and the idea is to program it to appea...
asked by 08.07.2016 / 17:40
1
answer

A frame layout that shows exactly the same as the other

I mean to show it in the following way: Mainlayout2.addView(Mainlayout); Take into account that the view of the camera was added at the first sight in real time ... My goal in itself is to find a way to show in another framelayout...
asked by 22.06.2016 / 07:04
1
answer

Capture events from the navigation bar

You can capture and block the back, home, and navigation bar tasks. Or hide it and never appear .     
asked by 26.08.2016 / 22:53
2
answers

Specify the ratio of the image to be displayed on Android

Is there any java or attribute function in xml of the imageView to specify the ratio of the image? that is, 16:9 , 3:2 , 4:3 etc ... <ImageView android:id="@+id/image_header" android:layout_width="match_par...
asked by 23.08.2016 / 16:47