Questions tagged as 'android-layout'

3
answers

Animating Floating Action Button (slide up, down) depending on the Scroll

In this link there is the solution to ocular and show the fab button FloatingActionButton depending on the scroll But I would like it when I hide and show the fab button I did it with an animation slide Up and Down:     
asked by 03.06.2016 / 12:44
1
answer

Send a Boolean from an adapter to its fragment

I have a problem, maybe you can help me, in the onclick event of a recycler I want to send a boolean to its fragment to update a method, but I do not know how to do it. before I had done it but not with an adapter from a fragment, this is the...
asked by 25.10.2018 / 02:24
1
answer

Blocked components, piled up on the left - Android Studio

When adding components to the design, they appear stacked in a pixel in the upper left corner and can not be moved or resized. I already tried several ways to fix it that they suggested in other publications and reinstalling after deleting the f...
asked by 03.07.2018 / 14:03
1
answer

Can I make an adapter with an activity?

I'm a novice programmer and I'm practicing creating screens and other things, including a ListView. The case is that I created 3 activities, the second screen (Activity) is linked to a third one that says nothing and I wanted to take advantage o...
asked by 05.12.2017 / 02:59
1
answer

How to use a sharePreferences with a tableLayout

I am creating an application that subtracts two dates from me and shows me the number of days, but the result I want to show it to me in another layout. the sharePrefereneces could show me two results in a linear way, but I want to keep the day,...
asked by 27.11.2017 / 15:28
1
answer

How to fix It does not allow me to modify android: layout_height in a LinearLayout

I'm trying to change the height of the rows that would be displayed in a ExpandableListView , but I've modified the android: layout_height attribute with different values, when emulating changes are not noticed, it is as if it were always "w...
asked by 28.10.2017 / 22:32
1
answer

Error Key Hashes login with facebook

I have to login to facebook with a button and followed the instructions given to you in facebook developers and when I tried the application the first time if it worked correctly, but when I tried it again I got this error And the keys tha...
asked by 14.09.2017 / 16:42
1
answer

Center icon to the available space on Android

I want to create a layout for the elements of grid in a regilla way, its base is an icon, title and total Now what I have is more or less like the following image The layout: <?xml version="1.0" encoding="utf-8"?> <...
asked by 08.09.2017 / 15:02
1
answer

Access layout elements loaded with pager view

I have an activity with three layout. activity_welcome.xml activity_detalle_refaccion.xml visor_de_imagenes.xml What I charge with this code in a ViewPager : public class DetalleRefaccion extends UtilidadesActividades { priv...
asked by 09.11.2017 / 21:16
1
answer

How to get the id (int) of several layouts with variables listed in Android?

Good, I would like to know how to get the id of a series of layouts that have names of similar variables, in this case their suffix is a number. I want to store your IDs in an array. But obviously I can not change the number by a concatenatio...
asked by 20.06.2017 / 00:54