Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="appsmile.View.Approve">
- <ContentPage.Content>
- <StackLayout BackgroundColor="#a39898" >
- <AbsoluteLayout BackgroundColor="#ffffff" Padding="0,0,0,0" HeightRequest="150">
- <Image Source="logo"
- BackgroundColor="Transparent"
- HorizontalOptions="CenterAndExpand"
- VerticalOptions="CenterAndExpand"
- AbsoluteLayout.LayoutFlags="PositionProportional" AbsoluteLayout.LayoutBounds=".5,0,100,70" />
- <ImageButton Source="approve.png"
- FlexLayout.AlignSelf="Center"
- BackgroundColor="Transparent"
- HorizontalOptions="CenterAndExpand"
- VerticalOptions="CenterAndExpand"
- AbsoluteLayout.LayoutFlags="XProportional" AbsoluteLayout.LayoutBounds=".5,75,100,65" />
- </AbsoluteLayout>
- <AbsoluteLayout BackgroundColor="#ffffff" Padding="0,0,0,0" Margin="0,-10,0,0">
- <Grid HorizontalOptions="FillAndExpand" Margin="0,10,0,0"
- VerticalOptions="FillAndExpand"
- ColumnSpacing="0"
- RowSpacing="0"
- Padding="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <!-- Tab 1 -->
- <StackLayout Grid.Row="0" Grid.Column="0" VerticalOptions="FillAndExpand" >
- <Button Clicked="Tab1Clicked" Text="NEED APPROVAL" BackgroundColor="#ffffff"/>
- </StackLayout>
- <!-- Tab 2 -->
- <StackLayout Grid.Row="0" Grid.Column="1" VerticalOptions="FillAndExpand">
- <Button Clicked="Tab2Clicked" Text="APPROVED" BackgroundColor="#ffffff"/>
- </StackLayout>
- <!-- Tab 3 -->
- <StackLayout Grid.Row="0" Grid.Column="2" VerticalOptions="FillAndExpand">
- <Button Clicked="Tab3Clicked" Text="REJECT" BackgroundColor="#ffffff" />
- </StackLayout>
- <StackLayout Grid.Row="1" Grid.Column="0" VerticalOptions="FillAndExpand" x:Name="line1" IsVisible="true">
- <BoxView Color="Red" HeightRequest="2" />
- </StackLayout>
- <StackLayout Grid.Row="1" Grid.Column="1" VerticalOptions="FillAndExpand" x:Name="line2" IsVisible="false">
- <BoxView Color="Red" HeightRequest="2" />
- </StackLayout>
- <StackLayout Grid.Row="1" Grid.Column="2" VerticalOptions="FillAndExpand" x:Name="line3" IsVisible="false">
- <BoxView Color="Red" HeightRequest="2" />
- </StackLayout>
- <StackLayout x:Name="stkTab1" IsVisible="true">
- </StackLayout>
- <StackLayout x:Name="stkTab2" IsVisible="false">
- </StackLayout>
- <StackLayout x:Name="stkTab3" IsVisible="false">
- </StackLayout>
- </Grid>
- </AbsoluteLayout>
- </StackLayout>
- </ContentPage.Content>
- </ContentPage>
Add Comment
Please, Sign In to add comment