Questions tagged [stacklayout]
87 questions
4
votes
2 answers
Ripple effect in StackLayout or Grid after click
How to achieve an effect of smooth change of background color in StackLayout or Grid after the click? If we create a button it has this effect out of the box - I showed that in an attached gif. The same is for ViewCell in ListView. It also has this…

ish1104
- 401
- 4
- 19
3
votes
0 answers
Flutter Webview scrolling is leggy or not so smooth
Note I have not added complete code.
In below code I am rendering CircularProgressIndicator and InAppWebView at once to avoid the white screen displayed (Apart from splash and launch screen) by the InAppWebView at the time of loading.
I am using…

atif shaikh
- 127
- 3
- 10
3
votes
1 answer
xamarin stacklayout child removes itself
I have a simple Stacklayout that shows Buttons.
I want to be able to let children remove itself from the stacklayout.
this project is just for testing purposes, so every button is linked to the same event-handler.
private void…

Phil Noderer
- 45
- 8
3
votes
2 answers
Adding Children in StackLayout using Binding in ViewModel, Xamarin.Forms
I am trying to implement MVVM in my Xamarin.Forms project.
This is my StackLayout with x:Name
And This is how I am populating Children in this StackLayout
StackLayout stack = new StackLayout();
…

Sameer Kamran
- 227
- 4
- 15
2
votes
1 answer
Stacklayout navigate using Item Id instead of currentIndex = #num
I am using StackLayout with many windows, instead of using the currentIndex = 0 for example I want to use the id for the Item itself. This way I will not need to care which order are the Items implemented in within the StackLayout, and the code will…

Anas AG
- 87
- 9
2
votes
5 answers
remove extra space in xamarin forms layout
Hi i'm trying to place 2 image in xamarin forms using stackLayout.But it adds some space at the top of the form.I Used Blank Project.
my code is

Anu Priya
- 87
- 1
- 2
- 10
2
votes
2 answers
Xamarin Forms buttons got flat inside Grid
Hi i'm trying to implement a bottom button bar without margins but the behaviour was not the expected.
My buttons got flat while in stackLayout they look good but with the margin.
Also you can see that in the first image the "D" image is cut on the…

Tiago_nes
- 843
- 7
- 30
2
votes
2 answers
Xaamrin Forms BoxView Width Too Long when using to Underline
I am using a BoxView to accomplish underlining in my app. I have a couple of labels that are very short - Text such as Yes or No etc. Here is the XAML for one of the labels with the BoxView for underlining:

George M Ceaser Jr
- 1,497
- 3
- 23
- 52
1
vote
0 answers
Xamarin radio buttons not displayed with Orientation = "horizontal"
Follow-on question to xamarin radio buttons not displaying.
I've created a public git repo at https://github.com/GrumpyPacker/HR to reproduce the issue. Since the data that I'm displaying in the radio buttons is determined from a database, there…

Lution
- 65
- 6
1
vote
1 answer
1
vote
1 answer
ListView in horizontal StackLayout - Nativescript Vue
I'm new on Nativescript with Vue and I'm trying to display a list of items with ListView in a StackLayout with horizontal orientation.
What I expect is that the three elements that the ListView will cycle, will be showed on the same line thanks to…

marco
- 13
- 2
1
vote
2 answers
Android: an easy way to alternate UI elements in one place
There is a dialogue, in one place of which I need to show either one element or another, depending on the situation. Example:
I would like to do this so that the elements below do not move. I want to keep the area occupied by alternating elements…

Andrey Epifantsev
- 976
- 1
- 11
- 27
1
vote
1 answer
Position 1st StackLayout on page at the bottom Xamarin.Forms
I am new to Xamarin and I am trying to position my first stacklayout of the page at the bottom of the screen and then scroll to see the remaining content.
Also, I have an image as background for my content page and I am trying to use scrollview for…

learningtocode2020
- 37
- 7
1
vote
0 answers
Masonry list style in Xamarin
I need to list the announcements on a content page just like masonry style (https://halcyon-theme.tumblr.com/) but I couldn't be successful on it. My problem is that the Scrollview doesn't cover whole the page when I use the Parent Stacklayout's…

Erdogan
- 952
- 12
- 26
1
vote
1 answer
Kivy: Screen containing ScrollView, StackLayout and Labels is all out of place
I am trying to have a screen which contains a StackLayout. This StackLayout contains several labels of short to long length. The whole content of the StackLayout should also be scrollable with ScrollView. I tried the setup below, but basically every…

gicanzo
- 69
- 8