Questions tagged as 'android-layout'

1
answer

Toolbar with alpha gradient in Android

How a gradient can be applied to the Toolbar but only when it is extended if it belongs within a CollapsingToolbarLayout . That is, I have a Toolbar that below it an image is displayed, which expands to the Statusbar...
asked by 15.03.2017 / 20:29
1
answer

Do I have to create a Values / dimens.xml for each types of screen in android?

I have all these measures: 7 "screens - mdpi 3.2 "screens - mdpi. Therefore I try to create directories for each type of screen, but not all respond to their respective description, for example, in the case of tablets that are 1024px an...
asked by 29.01.2017 / 17:42
1
answer

RatingBar Android Studio - GoogleMaps API

[] Hi, I would like to add a rating to each bookmark, the second picture is the layout where the RatingBar is and the third I want to change the value of the stars but it gives me null I wait for their answers. Thanks     
asked by 08.12.2016 / 22:04
0
answers

How to make a hidden layout slide in my application with a gesture

I have been learning android for a short time and would like to implement that functionality, here is an example: the initial screen is the one on the right and when I touch the cyan-colored bar I move the sub-menu, covering a certain area...
asked by 19.10.2016 / 20:00
0
answers

Fit element between appBar and inferiror bar in Android

I try to make the following design CoordinatorLayout --Toolbar con imagen flexible de fondo --Recyclerview (ajustado entre toolbar y barra inferior) --Barra inferior I have the following:      <android.support.design.widget.AppB...
asked by 24.08.2016 / 13:54
1
answer

PdfDocument layout [closed]

Hello, I want to generate a PDF with the Android PdfDocument class of the size from a letter sheet. The layout I need must have a form and image. With data aligned in the corners such as date, signatures, sections in boxes, footer, etc....
asked by 17.06.2016 / 16:13
0
answers

Create or integrate a ChangeLog system on Android

Normally I use the android-change-log library to integrate a changelog system in my apps, but I think it's already very obsolete, it does not correspond to the Material Design guidelines. Can you force the dialog box you use, be it Mat...
asked by 20.06.2016 / 10:46
2
answers

Expand background image completely in a RelativeLayout

I want an image to completely occupy the background of the entire screen and for that I use the attribute background of the RelativeLayout principal The layout corresponding to Activity is the following: <?xml version=...
asked by 30.05.2016 / 16:04
0
answers

Android error when moving to another Intent [closed]

I have an error in my application that occurs when going from one Intent to another. I get the message that the application has had to close. This always happens to me when I put the background of the layout of the first Intent and the images of...
asked by 15.05.2016 / 20:06
1
answer

Problem # 17 layout_height

This error is already looking for it and all the solutions do not work for me, I do not understand what the problem is: Binary XML file line # 17: You must supply to layout_height attribute. I summarize, I have a BaseActivity class where I ha...
asked by 10.05.2017 / 22:57