Created
November 19, 2020 00:27
-
-
Save EduardoReisDev/7cb8ff2e43d83ca28e2359f5c6c7b426 to your computer and use it in GitHub Desktop.
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="Pokedex.View.BuscarPokemon" | |
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" ios:Page.UseSafeArea="true" | |
BackgroundColor="#C32D2F" | |
NavigationPage.HasNavigationBar="False"> | |
<ScrollView> | |
<StackLayout> | |
<StackLayout Margin="20"> | |
<Image Source="pokedex_logo.png" | |
WidthRequest="200"/> | |
<Frame Padding="2" | |
CornerRadius="10" | |
HasShadow="False" | |
BackgroundColor="#931F21"> | |
<Entry Placeholder="Digite o nome do pokemon" | |
PlaceholderColor="Gray" | |
BackgroundColor="#931F21" | |
x:Name="entry_pokemon" | |
TextColor="#FFFFFF"/> | |
</Frame> | |
<Button Text="Buscar" | |
TextColor="#FFFFFF" | |
BackgroundColor="#931F21" | |
x:Name="button_pokemon" | |
CornerRadius="10"/> | |
<Frame BorderColor="#931F21" | |
BackgroundColor="#C32D2F" | |
HasShadow="False" | |
Margin="10" | |
CornerRadius="10"> | |
<Grid RowSpacing="10" ColumnSpacing="10"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="40"/> | |
<RowDefinition Height="200"/> | |
<RowDefinition Height="40"/> | |
<RowDefinition Height="40"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition/> | |
<ColumnDefinition/> | |
</Grid.ColumnDefinitions> | |
<Label Grid.Column="0" | |
Grid.Row="0" | |
Text="" | |
x:Name="id_pokemon" | |
HorizontalTextAlignment="Center" | |
VerticalTextAlignment="Center" | |
TextColor="#FFFFFF"/> | |
<Label Grid.Column="1" | |
Grid.Row="0" | |
Text="" | |
x:Name="nome_pokemon" | |
HorizontalTextAlignment="Center" | |
VerticalTextAlignment="Center" | |
TextColor="#FFFFFF"/> | |
<Image HeightRequest="20" | |
Grid.ColumnSpan="2" | |
Grid.Row="1" | |
Source="" | |
x:Name="imagem"> | |
</Image> | |
<Label Grid.ColumnSpan="2" | |
Grid.Row="2" | |
x:Name="experiencia_pokemon" | |
HorizontalTextAlignment="Center" | |
VerticalTextAlignment="Center" | |
TextColor="#FFFFFF"/> | |
<Label Grid.Column="0" | |
Grid.Row="3" | |
x:Name="altura_pokemon" | |
HorizontalTextAlignment="Center" | |
VerticalTextAlignment="Center" | |
TextColor="#FFFFFF"/> | |
<Label Grid.Column="1" | |
Grid.Row="3" | |
x:Name="peso_pokemon" | |
HorizontalTextAlignment="Center" | |
VerticalTextAlignment="Center" | |
TextColor="#FFFFFF"/> | |
</Grid> | |
</Frame> | |
</StackLayout> | |
</StackLayout> | |
</ScrollView> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment