<?xml version="1.0" encoding="UTF-8"?>
<ContentView 
	xmlns="http://xamarin.com/schemas/2014/forms" 
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
	x:Name="Root"
	xmlns:effects="clr-namespace:UXDivers.Effects;assembly=UXDivers.Effects"
	x:Class="inutralia.RoundedLabel"
	Padding="0">
	
	<ContentView.Content>
		<AbsoluteLayout 
			effects:Effects.CornerRadius="{ Binding Source={ x:Reference Root }, Path=RoundedLabelCornerRadius }"
			BackgroundColor="{ Binding Source={ x:Reference Root }, Path=RoundedLabelBackgroundColor }"
		>
			
			<Label 
				VerticalOptions="Center"
				LineBreakMode="TailTruncation"
				Margin="{ Binding Source={ x:Reference Root }, Path=RoundedLabelPadding }"
				FontSize="{ Binding Source={ x:Reference Root }, Path=RoundedLabelFontSize }"
				Text="{ Binding Source={ x:Reference Root }, Path=RoundedLabelText }" 
				TextColor="{ Binding Source={ x:Reference Root }, Path=RoundedLabelTextColor }"
				AbsoluteLayout.LayoutBounds="0, 0.5, AutoSize, AutoSize"
				AbsoluteLayout.LayoutFlags="XProportional, YProportional" />
			
		</AbsoluteLayout>
	</ContentView.Content>
	
</ContentView>
