Giter VIP home page Giter VIP logo

Comments (7)

jerone avatar jerone commented on June 12, 2024

So it appeared to be some inconsistency between Xamarin.iOS and Xamarin.Android, because the following XAML code works:

	<AbsoluteLayout BackgroundColor="Yellow"
	                HorizontalOptions="Fill"
	                VerticalOptions="Fill">
		<StackLayout AbsoluteLayout.LayoutBounds="0,0,1,1"
		             AbsoluteLayout.LayoutFlags="All"
		             BackgroundColor="Blue"
		             HorizontalOptions="FillAndExpand"
		             VerticalOptions="FillAndExpand">
			<controls:CarouselViewControl x:Name="IntroCarousel"
			                              HorizontalOptions="FillAndExpand"
			                              ItemTemplate="{StaticResource myTemplateSelector}"
			                              ItemsSource="{Binding Pages}"
			                              Position="0"
			                              VerticalOptions="FillAndExpand" />
		</StackLayout>
		<StackLayout AbsoluteLayout.LayoutBounds="1,1,0.9,1"
		             AbsoluteLayout.LayoutFlags="All"
		             BackgroundColor="Red"
		             Orientation="Horizontal"
		             VerticalOptions="End">
			<Button x:Name="prevBtn"
			        IsVisible="false"
			        Style="{StaticResource IntroPreviousBtnStyle}"
			        Text="Previous" />
			<Button x:Name="nextBtn"
			        Style="{StaticResource IntroNextBtnStyle}"
			        Text="Next" />
		</StackLayout>

Thanks for the great control.

from carouselview.

alexrainman avatar alexrainman commented on June 12, 2024

Did you solved this?

from carouselview.

jerone avatar jerone commented on June 12, 2024

@alexrainman commented on 2 dec. 2016 18:26 CET:

Did you solved this?

Yeah, see code above. The trick was to use the LayoutBounds on both StackLayout.

from carouselview.

alexrainman avatar alexrainman commented on June 12, 2024

Yes, Forms has some problems in Android.

from carouselview.

jerone avatar jerone commented on June 12, 2024

I'm not sure which one was correct (iOS or Android), but still weird that they behave differently. 😞

from carouselview.

alexrainman avatar alexrainman commented on June 12, 2024

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/

from carouselview.

alexrainman avatar alexrainman commented on June 12, 2024

This is what i have done that is community visible:

  • Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
  • Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
  • One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (xamarin/Xamarin.Forms#853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
  • Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
  • Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
  • Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.

from carouselview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.