Questions tagged [stackview]
214 questions
0
votes
1 answer
Extending StackView or AdapterViewAnimator seems impossible
I am attempting to make a custom implementation of Android's StackView by extending AdapterViewAnimator myself. There are several methods contained in AdapterViewAnimator which would prove useful to my subclass, and so I put my subclass in the same…

Matthew Runo
- 1,387
- 3
- 20
- 43
0
votes
1 answer
is it possible to make a stackView widget on api lower than 11?
i found some questions here about
StackView
and implement of the stackView on lower api , i cant use StackView even in my xml .
is it possible to make a stackView widget on api lower than 11 ?

Jesus Dimrix
- 4,378
- 4
- 28
- 62
0
votes
2 answers
Dynamically remove view from StackView Widget
Haven't found a successful way to remove a view from a StackView Widget. I'm working off of the basic StackView example that comes with the SDK.
Here's what I'm trying to do in the getViewAt(int position) function to a certain view that I do not…

Randy
- 955
- 9
- 16
0
votes
0 answers
How to change the OnClick color of the StackView in widget
I am building an android widget with the a StackView in it. Using pending intent I open my activity when the StackItem is clicked.
Whenever the StackView Item is clicked(i.e. Pressed), the background of the StackItem changes to default blue…

AabidMulani
- 2,325
- 1
- 28
- 47
0
votes
1 answer
Why does AdapterViewAnimator remove children in 2 phases?
I am studying StackView and AdapterViewAnimator.
And found that, in AdapterViewAnimator,
it does NOT remove children directly,
but put them into an array,
and does remove at next phase.
Could someone please explain what is the reason of this…

Henry
- 942
- 3
- 11
- 21
-1
votes
1 answer
Where is "scrollable stack view" in xcode?
I'm studying "scrollable stack view". I find that the sample code from Apple can directly drag and use the "scrollable stack view" control in window view.
The sample code link:…

I Love 404
- 1
- 3
-1
votes
1 answer
UITableView needs cell=nil to return cells correctly
My tableview fills from a new array created from a JSON NSURLSession. The array updates correctly, but the cell does not update correctly. I am using a horizontal stackview containing Labels1, 2 and 3.
Whatever is the first tableview displayed (lets…

cavuco
- 99
- 1
- 12
-1
votes
1 answer
Create custom UITableViewCell with using stack view and auto layout
I have 2 questions about constraints and auto layout:
How programmatically create a cell-like in the picture below? I didn't understand how to programmatically add auto-layout and constraints for my cell.
How to assign default Apple layout margins…

Bandyliuk
- 489
- 4
- 13
-1
votes
1 answer
Set alignment for one member in the stackView
I have a stack view that contains three item, 2 labels (one of them in the left side and another one in the right side), and one view as a separator in the middle.
How the configuration of the stackView should look like that the separator has a…

Pual
- 37
- 4
-1
votes
1 answer
Expanded button on whole stack view?
I drag out the stack view onto view controller and I tried out to put them a few objects like button , label and so on. My problem is: When I drag the button onto stack view, the button is completely resized and fill the whole stack view. What's…

motivated
- 53
- 8
-1
votes
1 answer
Swift : Is it possible to add an empty stackview inside a scrollview?
I have a fullscreen scrollview and inside a stackview that will be filled with elements at runtime. The problem is that I can't fix the missing constraints for the scrollview : Need constraints for Y position or height

Zagadkarus
- 11
- 2
-1
votes
2 answers
Communication between two adapters in android?
I have two views In a single activity StackView and Gridview and 2 corresponding adapters .when I clicked on StackView item it should flip the grid item in Gridview and vice versa?

Trinadh Koya
- 1,089
- 15
- 19
-1
votes
1 answer
Why does the assistant previewer differs from the real view?
See my image: https://postimg.org/image/7t1bb3hyx/ the real view is different than the view in the assistant preview... I used a stack view for the buttons. What am I doing wrong? Constrains: https://postimg.org/image/86ehdpkt9/

Petravd1994
- 893
- 1
- 8
- 24
-2
votes
1 answer
iOS UIKit StackView and handling device rotation properly
I'm working on an app that uses a Scrollview -> StackView -> button, imageview, textview view hierarchy. (I'm building the view programmatically rather than using storyboard. I'm using a scrollview as the top view so it will handle pinch/zoom for…

rdk
- 91
- 1
- 8
-2
votes
1 answer
How can I use auto height for tableview programmatically under scrollview and stackview?
My project use SnapKit to setup the constraint, and use tableview in stackview inner the scrollview.
First I set a scrollview for scroll the page, and then add a stackview inside the scrollview for position other view.
Second I set the tableview…

ives
- 1
- 2