Questions tagged as 'android-layout'

4
answers

How to change the dynamically displayed Layout

I want to do this, I currently have a ListView that is embedded within my activity_main.xml as follows: <include layout="@layout/lista_categoria" /> I would like to know a way to display another layout (at runtime) within this include...
asked by 02.12.2016 / 18:17
2
answers

How to create custom toolbar just like ACMarket

I want to create a Toolbar equal to ACMarket, but I do not want to use CollapsingToolbar , I just want to create a similar Toolbar, does anyone help? <android.support.v7.widget.Toolbarxmlns:android="http://schemas.android.com...
asked by 18.07.2016 / 15:42
2
answers

Toolbar is in front

I have a problem where my toolbar is in front of my view. I have a scroll view and when I slide up it stays like this. Follow the xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.androi...
asked by 18.07.2016 / 13:38
1
answer

How to make banner AdMob preecher wide width?

Hello, I made the padding of XML and put wrap_content , but the AdMob Code: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http:...
asked by 10.01.2017 / 15:19
1
answer

Split layout into 2 columns

I have my home screen code that needs to be split into two equal parts. How do I split a linear layout into two columns of equal size?     
asked by 23.11.2015 / 17:44
1
answer

Spinner to select Color

Good night,    I am developing a Personal Finance APP and in my Category register he has to select a color, and I would like to do the same as the image. Does anyone know how I can do or any tutorial that comes close to this. Thanks!     
asked by 11.06.2015 / 02:15
2
answers

How to change the color of the edittext line programmatically

I need to change the color of the EditText line programmatically, how do I? I tried to set an xml in the drawable folder, but it does not change the line color anyway ...     
asked by 11.11.2015 / 18:24
1
answer

Toolbar with tab at the bottom

I'm using Toolbar , but I wanted the bottom of it to have a line of another color that delimited it, as the image shows, To achieve this effect the only thing I remember is to use a ImageView . Is there any better way to do th...
asked by 11.05.2015 / 22:57
1
answer

How to customize an android toolbar?

How do I add more buttons to my toolbar?     
asked by 29.12.2016 / 20:55
1
answer

Change the text of a TextView that is inside an ArrayAdapter item

I made a% of% of that% of% of% with%. My layout contains only a set of Adapter , one below the other, very simple. I want any system event to be watched by my extends and that a certain item in the list is changed. For this I am...
asked by 26.08.2015 / 20:48