Questions tagged as 'android-layout'

3
answers

Bring information from one activity to another

My project consists of a student agenda which can have different users per device, I want to take the ID of who enters (in the login ) and pass it to my second activity ( navigation drawer ) and with this to replace the title generat...
asked by 18.01.2017 / 05:40
1
answer

Place one layout inside another, but the one inside is a little outside visually

Place one layout inside another, but the one inside is a little outside visually. It would be to put a notification ball as superimposed on top of a layout     
asked by 28.04.2017 / 21:22
1
answer

Set image as a layout background indicating the name of the image on a String

I am making a simple application and I find that I am not able to change the background to a layout by indicating the name of the image in question by String. The code I have is this: fondo.setBackgroundResource(R.mipmap.ff); Where "ff"...
asked by 26.12.2016 / 14:42
2
answers

What is the XML property fitSystemWindows (android) for?

android:fitsSystemWindows = true On several occasions I have come across this property for the preparation of layouts, however on many occasions this same cause unexpected behavior, which take time to identify that this causes it. Definitio...
asked by 21.10.2017 / 07:05
1
answer

Place item below listview

I need to place an element below a listview. So far I have a Linearlayout that contains a spinner that is located on a listview. Being in a LinearLayout, it stays fixed and below I have a Listview which moves down and up. So far it's like thi...
asked by 01.12.2017 / 12:19
1
answer

Detect if the Android Wear screen is square, circular or fringed

How can you detect what kind of screen the smartwatch has on Android Wear of the three existing types? Rectangular square Circular round Circular with lower strip (Moto360) chin     
asked by 25.11.2016 / 09:42
3
answers

Error inserting an image of a url in an imageview

Good morning, I would like in my application to be able to change the image of an ImageView without having to be updating the app so often. I have thought about saving the image in a web server and having the image downloaded every time the a...
asked by 14.12.2016 / 12:27
1
answer

Modify the activity_main_drawer.xml from an external server xml

I have this file activity_main_drawer.xml inside the folder res/menu/ <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <group android:checkableBehavior="s...
asked by 29.05.2017 / 14:00
1
answer

Android: Activity with rounded edges

I am trying to make my main activity, which handles fragments, have rounded edges, a clear example is this image How could I do that? I was trying with this that I found on the same page LINK . <?xml version="1.0" encoding="utf-8"...
asked by 16.08.2018 / 21:53
2
answers

How to make an Android picker from a fixed list of items?

I need a way to select cardinal points by something like a picker. The objective is to indicate the meaning of an event that may be "NORTH-SOUTH", "EAST-WEST" ... and the opposites     
asked by 31.03.2016 / 00:10