Created
April 12, 2018 14:52
-
-
Save icebeam7/d90ab4409be92201ee48e972d034a618 to your computer and use it in GitHub Desktop.
SentimentalTweets: PaginaAnalisisTweet.xaml
This file contains 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:labelTextColor="clr-namespace:SentimentalTweets.Helpers;assembly=SentimentalTweets" | |
x:Class="SentimentalTweets.Paginas.PaginaAnalisisTweet"> | |
<ContentPage.Resources> | |
<ResourceDictionary> | |
<labelTextColor:StringToColorConverter x:Key="StringToColorConverter"/> | |
</ResourceDictionary> | |
</ContentPage.Resources> | |
<ContentPage.Content> | |
<StackLayout BackgroundColor="White" Padding="10"> | |
<Label Text="Análisis" TextColor="Blue" FontSize="Large"/> | |
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/> | |
<Label Text="Tweet" FontSize="Small" TextColor="Gray"/> | |
<Label Text="{Binding Mensaje}" FontSize="Medium" LineBreakMode="WordWrap" | |
TextColor="{Binding Sentimiento, Converter={StaticResource StringToColorConverter}}"/> | |
<BoxView HeightRequest="3" Margin="10" /> | |
<Label Text="Palabras Clave" FontSize="Small" TextColor="Gray"/> | |
<Label Text="{Binding PalabrasClave}" FontSize="Medium" LineBreakMode="WordWrap" TextColor="Black"/> | |
<BoxView HeightRequest="3" Margin="10" /> | |
<Label Text="Idioma" FontSize="Small" TextColor="Gray"/> | |
<Label Text="{Binding Idioma}" FontSize="Medium" TextColor="Black"/> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment