Created
April 12, 2018 14:51
-
-
Save icebeam7/1eb980d64eb3ee9396f2a9db88848967 to your computer and use it in GitHub Desktop.
Sentimental Tweets: PaginaTweets.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" | |
x:Class="SentimentalTweets.Paginas.PaginaTweets"> | |
<ContentPage.Content> | |
<StackLayout BackgroundColor="White" Padding="10"> | |
<Label Text="Tweets" TextColor="Blue" FontSize="Large"/> | |
<Entry x:Name="txtBusqueda" TextColor="White" Placeholder="Introduce el término de búsqueda" | |
PlaceholderColor="LightGray" BackgroundColor="Black" FontSize="Medium"/> | |
<Button x:Name="btnBuscar" Text="Buscar tweets" TextColor="White" | |
BackgroundColor="#0072BD" FontSize="Medium" Clicked="btnBuscar_Clicked"/> | |
<ActivityIndicator x:Name="indicator" Color="Green" VerticalOptions="Center" HorizontalOptions="Center"/> | |
<ListView x:Name="lsvTweets" ItemSelected="lsvTweets_ItemSelected" HasUnevenRows="True"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<ViewCell> | |
<Label Text="{Binding Mensaje}" FontSize="Medium" | |
LineBreakMode="WordWrap" TextColor="Black" Margin="10"/> | |
</ViewCell> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
</ListView> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment