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

Change text backround color in XAML

$
0
0

Hello coming from Windows Form I'm totally newbie in XAML but
I've the feeling to get back in the eighties spending more energy to work with the user interface than the business logic itself
I'm trying to figure out how to change the background color of a Text element in the XAML
I've tryed something like this in the xaml code but there is no effect at all

<TextView
    android:text="Bonjour nouveau monde"
    android:textAppearance="?android:attr/textAppearanceLarge"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    BackgroundColor="#00FF00" 
    android:id="@+id/textView1" />

thanks for any help


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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