Skip to content

wislon/xfdemos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic demo xamarin forms app base - actual demo apps/functions will be built into or forked from this.

Custom Switch - Change Colour Based on On/Off State

See CustomControlPage example. I wrote a blog post about it.

Android implementation

Before implementation on Android. Note that you can't see the track of the Switch when it's off ('false').

Android - Before implementation

After adding some garish colours:

Android - After implementation

iOS implementation

Just proving the concept on iOS. Before...

iOS - Before implementation

...and after.

iOS - After implementation


ListView Item Selection - Change its background colour:

See ListViewDemoPage example. I also wrote a short blog post about it.

(Apologies for the janky iOS gifs, they were done from the simulator running over a long-distance wifi connection)

iOS implementation

Before implementing on iOS. Note that you can't tell when an item is selected.

iOS - Before implementation

After implementing on iOS (change selected colour to teal)

iOS - After implementation

Android implementation

Before implementing on Android (ugh orange, from the default theme)

Android - Before implementation

After implementing on Android (better, teal)

Android - After implementation

About

Simple Xamarin.Forms demos and how-tos

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages