Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Allowing the user to change the background colour

$
0
0

Hello, I've spent hours trying to figure this out myself and have visited many websites and tried many different things but I just can't figure out how to allow the user to select a background colour using Xamarin. I've tried the "setbackgroundcolor" and created new relative layouts and put colours in the string file etc etc but nothing seems to work. I'm doing it using a seekbar so the user can scroll through a selection of colours but I have no idea how I can actually code it in a function of my .cs file so that it will update the .xml file to allow the background change. Is it even possible? If not please tell me now so that I don't waste another 5 hours on this! Thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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