Questions tagged as 'android-layout'

1
answer

Custom RecyclerView white space

I'm having trouble with my custom list and it has too much item space for the other Following code <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="16dp">...
asked by 21.11.2017 / 18:13
2
answers

Activity does not return view

I'm trying to compile but it's not giving, my layoute looks like this: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:l...
asked by 22.05.2017 / 21:19
1
answer

FAB button does not stay in place [duplicate]

I do not know what's happening the FAB button goes up on top of another compile component, but in the preview it works fine. <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://s...
asked by 05.12.2017 / 14:13
1
answer

Layout weigth does not work Android

I'm willing to let my <button/> and%% <ImageButton/> the same size "equal weight" but the command android:layout_weight="1" does not work like leaving the size of each different. <?xmlversion="1.0" encoding="utf-8"?...
asked by 30.08.2017 / 17:41
1
answer

Button with text Android [duplicate]

I'm developing a mobile application and wanted to leave my application looking like this ButI'mnotabletoputthetextunderneaththebuttonandputagraybackgroundcoloronthebuttonbecauseI'malreadysettingthebackground-colorofthebuttonwithanimage. &l...
asked by 28.08.2017 / 00:02
1
answer

Insert ScrollView throughout Activity

Hello, I need to insert a ScrollView into the entire layout . But I can not. Here's my code. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http:/...
asked by 16.05.2017 / 18:53
1
answer

How to hide keyboard when exiting EditText? [closed]

I have three edittext, I want it when I click out of them or finish filling my keyboard sum. Being that they are a fragment. How to do this? My XML with the editText. <RelativeLayout android:layout_width="wrap_content" an...
asked by 09.06.2017 / 19:22
2
answers

Problem with animation in Android Studio

I created a Float Buttom to start an animation, but when I click on it, the animation does not occur. I've done the debug to check the method that starts the animation and it happens normally. I think it might be some XML problem. th...
asked by 13.06.2017 / 16:53
1
answer

Timepicker as a draggable bar

Is it possible to do a timepicker this way of the image? So I can put a range, hours. If so, is there an example or a library? If not, any suggestions? Image:     
asked by 28.03.2017 / 19:21
1
answer

Recovering information passed in a Bundle

I have a Fragment that calls another fragment passing login information to the other. I do this with the following code through the Bundle. Here is the code: ImageView editarBt = (ImageView) view.findViewById(R.id.editar); editarBt...
asked by 26.06.2017 / 17:44