Created
February 14, 2018 16:50
-
-
Save pcdus/e18507cbb4c97b8533f07670c0eddf96 to your computer and use it in GitHub Desktop.
CircleButton control based on IconButton from Iconize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:IconizeCustomButton" | |
xmlns:controls="clr-namespace:IconizeCustomButton.Controls" | |
xmlns:iconize="clr-namespace:Plugin.Iconize;assembly=Plugin.Iconize" | |
x:Class="IconizeCustomButton.MainPage"> | |
<StackLayout> | |
<StackLayout Orientation="Horizontal"> | |
<Label Text="Iconize-IconButton" | |
VerticalOptions="FillAndExpand" HorizontalOptions="Start" | |
HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> | |
<iconize:IconButton HeightRequest="40" WidthRequest="40" | |
BorderRadius="20" | |
Text="fa-500px" TextColor="Red" FontSize="20" | |
BackgroundColor="Orange" BorderColor="Red" | |
BorderWidth="2" | |
VerticalOptions="Start" HorizontalOptions="Center"> | |
</iconize:IconButton> | |
</StackLayout> | |
<StackLayout Orientation="Horizontal"> | |
<Label Text="Custom-CircleIconButton" | |
VerticalOptions="FillAndExpand" HorizontalOptions="Start" | |
HorizontalTextAlignment="Start" VerticalTextAlignment="Center"/> | |
<controls:CircleIconButton HeightRequest="40" WidthRequest="40" | |
BorderRadius="20" | |
Text="fa-500px" TextColor="Red" FontSize="20" | |
BackgroundColor="Orange" BorderColor="Red" | |
BorderWidth="2" | |
VerticalOptions="Start" HorizontalOptions="Center"> | |
</controls:CircleIconButton> | |
</StackLayout> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment