Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

ListView Bugs

$
0
0

Hi everybody,

Its me again and I have new awesome bugs for you ! :D

I want to achieve this layout:
image

HorizontalStackLayout with ScrollView (ImageScroller), and VerticalStackLayout (TextHolder)

-       VerticalScrollView with several Images, which use 1/3 of screen width
-       VerticalStackLayout with two simple Labes (title and text), which use 2/3 of screen width

It sounds and looks like 5 minutes of work BUT:

-       when you set WidthRequest to ScrollView, it shrinks ( +- 5% of screen width) and dont really work (screen below) - http://pastebin.com/VnYyzHxQ
-       when ScrollView is only thing in the page StackLayout, and you set WR it crash entire app  - http://pastebin.com/5Kgd3tNm

image

With no success with original idea, next idea appeared - Well, thirds are problem, so lets make it two halfs, it will be piece of cake.

I was WRONG!

You can use HorizontalStackLayout, make ImageScroller and TextHolder its Children and set their HorizontalOptions to FillAndExpand, but what happens ?

-       ImageScroller shrinks ( +- 5% of screen width), TextHolder Fill all space left, and again it dont work at all

(Im working with Android, but expecting the same layout crossplatform)

Any suggestions what to do ?

Im starting to regret that our company use Xamarin for this app..


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>