python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to contrain a view programmatically to parent in ConstraintLayout
I would like to create a TextView (or any other view) programatically using the constraint layout. The textView would look like this in XML:
<TextView
android:id="@+id/textView_Test"
...

VanessaF
Votes: 0
Answers: 1
Why does the imageButton not getting accurately placed here?
I am trying to place an imageButton (imagebutton4) here like this (in top left):
And here is the XML for this:
<ImageView
android:id="@+id/imageView5"
android:layout_width=...
John Doe
Votes: 0
Answers: 1
Constraint layout with top title, recycler view and bottom button
I am trying to implement a layout, which will contain the top title, recycler view and bottom button.
Looks simple, but I need to have a wrap_content height for constraint layout to make it scalable d...

Daria
Votes: 0
Answers: 3
Android. ConstraintLayout marginBottom not working
I hava ConstraintLayout with image and two text. I need to add goneMarginBottom for ConstraintLayout. Here is my code:
<androidx.constraintlayout.widget.ConstraintLayout
android:lay...
testivanivan
Votes: 0
Answers: 0