Questions tagged [stackview]

214 questions
2
votes
0 answers

Android StackView inside ScrollView

I try to make StackView touchtable inside ScrollView. Finnaly I make CustomStackView which extends StackView and override dispatchTouchEvent where I disallow touch event in parent (which is ScrollView). public class CustomStackView extends…
Leśniakiewicz
  • 874
  • 1
  • 10
  • 21
2
votes
0 answers

Vertical Stacked Views

I'm struggling for the past 2 days to find/implement an working solution for my UI requirements for an on boarding flow. This is how the UI should look like: These pages should be scrollable vertically only. As you can see, the pages should be…
Ionut Negru
  • 6,186
  • 4
  • 48
  • 78
2
votes
0 answers

Multiline label in stackview in cell

I have been struggling for more than two hours with this problem : how to get my cell to grow according to my label embedded in a stack view As you can see I have a fully constrained horizontal UIStackView. Inside I have a vertical UIStackView. My…
Guillaume L.
  • 979
  • 8
  • 15
2
votes
2 answers

Arrange image views in flippable stack view as in viewpager

Images like fragments in FlippableStackView library. I want stack in right side.
alan
  • 21
  • 1
2
votes
0 answers

Android / AppWidget - how to load different content to StackView by clicking on different buttons?

Assume that I have a app-widget which contains an stack-view and four buttons. I want to load different data into stack-view by clicking on each of those four buttons. Things I know: I know how to populate an stack view in app-widget by fetching…
2
votes
0 answers

QML StackView mangles strings after a few pushes

I'm creating a QML application for sports bookmaking. I have a StackView that shows various competitions and markets. Previously, I used one View to e.g. display various matches in soccer, and then depending on the data I got, I simply changed the…
John Magistr
  • 872
  • 3
  • 9
  • 22
2
votes
1 answer

QML ReferenceError: is not defined from Js function called from a qml file

Ok definitely not know what to do so I ask for help, I've looked everywhere and can not find solution. This is a long question involved the following files: sizeCalc.js, main.qml, MainForm.ui.qml, VentPrinc.qml and menuPrincElement.qml, the problem…
Fabian Menco
  • 112
  • 4
  • 12
2
votes
1 answer

StackView like gallery in android

I want to create view like stack-view as shown in below image.Can any buddy know that how to implement this type of custom gallery view ? Thanks
kyogs
  • 6,766
  • 1
  • 34
  • 50
2
votes
1 answer

Android ListView with main View - timeline effect - possible?

How can I create something like this? I want to have the "selected image" as the main view, and then a time line effect at the bottom; something like a Gallery would work, but that has been deprecated. I'm thinking a HorizontalScrollView at the…
marienke
  • 2,465
  • 4
  • 34
  • 66
2
votes
0 answers

How to make item of stackview auto resized for resizable widget?

I tested stackwidget from android developer sample and I modified the widget to be resizable. But what happened is, when I resize the widget, the item is not resized but only add more space between items. How do I make item size to adapt resizable…
wrajaka
  • 31
  • 4
2
votes
2 answers

Set onClick events inside StackView widget items

I have a widget with collection (this is important!). It looks like this: I based my code on official Android documentation: Android App Widgets. So for widget I use collection with custom Objects inside StackView collection. This collection is…
dGorod
  • 21
  • 4
1
vote
2 answers

StackView and OnItemSelectedListener (Android 3.0+)

In Stackview, it seems that OnItemSelectedListener (from superclass "AdapterView") is never called... How can I trigger some event when the view on top of the stack is changed by the user ? I want to display some text to show the position of the…
Christine
  • 15
  • 4
1
vote
1 answer

creating stackView inside of view controller crashes with 'Unable to activate constraint with anchors'

I am trying to create a very simple stackView in my viewcontroller. I want the stackView to cover the entire screen. How I am creating the stackView is import UIKit import Firebase class Vc: UIViewController { var scrollView: UIScrollView…
Zach Wilcox
  • 233
  • 2
  • 7
1
vote
1 answer

Duplicating UIViews in StackView when scrolling TableView Swift

Issue: When I scroll the tableView, my configureCell() method appends too many views to the stackView inside the cell. When the cell is first displayed, and I press the UIButton, the stack is unhidden and first shows the right amount of views, after…
jayskev
  • 23
  • 4
1
vote
1 answer

scrollView not working in stackView, How to programmatically scroll a stackView

I added to the ScrollView stackView and added some labels to the stackView, but there is no scroll, why is there no scrolling? I tried adding scrollView in stackView, it didn't work, please, help me, code attached below class ViewController:…
Pavel
  • 35
  • 3