Questions tagged as 'android-layout'

1
answer

How to create buttons with dynamic size in XML?

I'm creating a calculator for android just with the same basic functions. For this I am writing the Layout code directly in XML, however I can not make the buttons grow and occupy the screen both when turning the device and the normal I am hours...
asked by 22.09.2014 / 15:05
1
answer

Android GridView Layout

How to place rows between cells in a gridview. So it does not look like the items are floating. Example like columns and rows of an excel and if it is possible to change the color of some cell in a specific way.     
asked by 03.07.2014 / 22:39
0
answers

Apk after updating, logout

My app every time I update a version in Google console, it automatically logs out after completing the update on my phone. This harms me because not all users in my app remember the password you typed. Is there anything I can do to update...
asked by 21.12.2018 / 18:18
0
answers

Create RelativeLayout + childres via Xamarin.Android code

I have a problem with this, but I'm not sure what I'm trying to do. I'm not sure what I'd like to do. and I get the Rigth="ID" but it will not even a margin left is applied, I will post the code down to see if anyone thinks I'm wrong. LayoutPar...
asked by 19.12.2018 / 05:31
0
answers

Android - Views remain in the background of RecyclerView

I have an application that is basically a video player, in the gallery it happens that when I change the orientation of the screen or return of the player to the fragment the bottom of the RecyclerView gets "polluted": Asyoucansee,it'sasif...
asked by 14.12.2018 / 18:56
1
answer

What is the reason for the "This view is not constrained ..." error in ConstraintLayout?

What is the reason for this error?    This view is not constrained, it only has designtime positions, so it will jump to (0,0) unless you add constraints XML <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.Co...
asked by 22.06.2017 / 00:05
0
answers

How do I set the Navigation View menu by code?

For now I'm setting the menu through xml, this way: <android.support.design.widget.NavigationView android:id="@+id/navView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_gravity=...
asked by 11.12.2018 / 11:01
0
answers

Android - How to make this animation with parallax effect (see animation)

I have a big question, how can I do this animation (see below) on Android?   WhathaveItried?<?xmlversion="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/re...
asked by 30.11.2018 / 09:21
0
answers

Dynamic layout with multiple buttons inside - android

Good I have to do in android a layout that is a rectangle (with dynamic dimensions, received by parameters) where it has successive crosses inside that are in practice buttons that when carrying make several measurements. But I do not know if...
asked by 16.11.2018 / 23:27
0
answers

How to change the color of my SearchView course

For now it is white and I need to put it in black color, I found several tutorials, but I did not find one that works, how do I do this? Code: searchViewPesquisa = (SearchView) findViewById(R.id.searchViewPesquisa); EditText search...
asked by 16.11.2018 / 12:38