Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
76 views

Yet another SO question about ConstraintLayout and positioning. I have been having trouble with a particular layout, so I decided to go back to the basics and see what I'm not understanding. Copied ...
Dan Davis's user avatar
  • 603
2 votes
1 answer
73 views

Even though ConstraintLayout in Android is not new, I have only begun to convert my older layouts over as I find time or when creating new layouts, so my experience with them is limited. They don't ...
Dan Davis's user avatar
  • 603
2 votes
1 answer
72 views

I'm using a ConstraintLayout and 2 vertical Guidelines to simulate a grid-like area within my Android activity. These Guidelines represent 'columns' inside the ConstraintLayout. I've also put 3 ...
Mehrbod Kazemi's user avatar
0 votes
0 answers
22 views

I'm building a layout using CoordinatorLayout with AppBarLayout and CollapsingToolbarLayout in Android. My goal is: Collapse the Earth background image on scroll. Keep the user info layout (...
VishV's user avatar
  • 427
0 votes
1 answer
27 views

In my layout i display a stream widget (the WidgetFPV one) which contains a surface onto which a camera stream is projected via DJI'S MSDK5 sdk. I also have a card mapCard which hosts a MapBox map ...
Stelios Papamichail's user avatar
0 votes
1 answer
74 views

I was following this document to find out how can use the decoupling api ConstraintLayout in Compose but unfortunately failed to build and run Here's the error I got I can't figure out why it's ...
Anas Ghareib's user avatar
0 votes
1 answer
151 views

I'm trying to use a Flow widget to replace a vertical orientation LinearLayout that I was just using inside of my ConstraintLayout. It needs to satisfy all of the following: The "containing"...
Mikey A. Leonetti's user avatar
0 votes
1 answer
57 views

This question may look similar to the following question, but I need help solving my use case. It provides explanations for adding constraints inside the XML file. I'm trying to migrate from ...
Maxim Kirilov's user avatar
2 votes
1 answer
408 views

I'm trying to use constraint layouts to lay down my elements, but they do not truly respect the constraint I gave to them when the content of this elements is bigger than the space available. Is this ...
Jose Navío's user avatar
0 votes
1 answer
84 views

I'm facing some sort of trouble setting constraint on a view on runtime with a margin. These are the y and margin coordinate when the view is displayed to the user I set the margin like that : ...
Shindra's user avatar
  • 95
0 votes
1 answer
53 views

I have a very simple yet frustrating issue: I have two views inside a layout. The layout can be any layout but I have been trying to use a ConstraintLayout. I want these two views on opposite sides ...
Chocos's user avatar
  • 3
0 votes
2 answers
411 views

The width of the TextView below needs to match it's content width (in a ConstraintLayout), however when the content includes a long text, it currently extends horizontally beyond the width of the ...
GK100's user avatar
  • 3,684
1 vote
0 answers
31 views

Problem Here is my layout file: activity_main.xml <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://...
Yatung Yü's user avatar
1 vote
0 answers
81 views

I've two fragments - IntroFragment DetailFragment Intro layout - <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&...
AndroidCoder's user avatar
  • 2,735
1 vote
0 answers
133 views

I am currently developing a Ludo game in Android Studio and have run into a significant issue regarding the movement of pawns across different devices. Project Setup: I have created a grid using ...
Jaydeep Kasture's user avatar

15 30 50 per page
1
2 3 4 5
217