Iyon_Groznyy

Untitled

Jun 16th, 2022
1,449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.12 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <ContentView
  3.    x:Class="Ezoterium.Forms.UI.Pages.Main.Items.SpecialistItemComponent"
  4.    xmlns="http://xamarin.com/schemas/2014/forms"
  5.    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  6.    xmlns:common="clr-namespace:Ezoterium.Core.Common;assembly=Ezoterium.Core"
  7.    xmlns:controls="clr-namespace:Ezoterium.Forms.UI.Controls"
  8.    xmlns:effects="clr-namespace:Ezoterium.Forms.UI.Effects;assembly=Ezoterium.Forms"
  9.    xmlns:markup="clr-namespace:Ezoterium.Forms.Extensions.MarkupExtensions"
  10.    Padding="16,0,16,0">
  11.     <Grid
  12.        ColumnDefinitions="8,64,49,19,8"
  13.        ColumnSpacing="0"
  14.        HorizontalOptions="CenterAndExpand"
  15.        RowDefinitions="8,19,121,8,8,3.5,2,10,2,3.5,4,16,4,2,12,2,4,16"
  16.        RowSpacing="0">
  17.         <Frame
  18.            Grid.RowSpan="3"
  19.            Grid.ColumnSpan="5"
  20.            Padding="0"
  21.            CornerRadius="15"
  22.            HasShadow="False"
  23.            IsClippedToBounds="True">
  24.             <Image x:Name="AvatarImage" Aspect="AspectFill" />
  25.         </Frame>
  26.         <Label
  27.            x:Name="QualificationLabel"
  28.            Grid.Row="1"
  29.            Grid.Column="1"
  30.            Grid.ColumnSpan="2"
  31.            Padding="8,4,8,4"
  32.            effects:BorderEffect.BackgroundContentColor="{markup:AppColors Accent}"
  33.            effects:BorderEffect.Radius="10"
  34.            FontFamily="ArkhipBold"
  35.            FontSize="9"
  36.            HorizontalOptions="Start"
  37.            HorizontalTextAlignment="Start"
  38.            TextColor="{markup:AppColors White}"
  39.            VerticalOptions="Fill"
  40.            VerticalTextAlignment="Center" />
  41.         <ImageButton
  42.            x:Name="LikeImageButton"
  43.            Grid.Row="1"
  44.            Grid.Column="3"
  45.            WidthRequest="19"
  46.            HeightRequest="19"
  47.            BackgroundColor="{markup:AppColors Transparent}"
  48.            HorizontalOptions="Start"
  49.            Source="{x:Static common:Images.IconLike}" />
  50.         <Label
  51.            x:Name="FreeTimeLabel"
  52.            Grid.Row="2"
  53.            Grid.RowSpan="2"
  54.            Grid.Column="1"
  55.            Grid.ColumnSpan="3"
  56.            Padding="14.5,3,14.5,4"
  57.            effects:BorderEffect.BackgroundContentColor="{markup:AppColors AccentSecondary}"
  58.            effects:BorderEffect.Radius="9"
  59.            FontFamily="SourceSansProRegular"
  60.            FontSize="9"
  61.            HeightRequest="18"
  62.            HorizontalOptions="Center"
  63.            HorizontalTextAlignment="Center"
  64.            TextColor="{markup:AppColors White}"
  65.            VerticalOptions="End"
  66.            VerticalTextAlignment="Center" />
  67.         <Label
  68.            x:Name="RateLabel"
  69.            Grid.Row="5"
  70.            Grid.RowSpan="5"
  71.            Grid.ColumnSpan="3"
  72.            FontFamily="SourceSansProBold"
  73.            FontSize="10"
  74.            TextColor="{markup:AppColors Accent}"
  75.            VerticalOptions="Start"
  76.            VerticalTextAlignment="Start">
  77.             <Label.FormattedText>
  78.                 <FormattedString>
  79.                     <Span x:Name="RateSpan" FontSize="16" />
  80.                     <Span Text="/" />
  81.                     <Span Text="{markup:AppStrings Hour}" />
  82.                 </FormattedString>
  83.             </Label.FormattedText>
  84.         </Label>
  85.         <ImageButton
  86.            x:Name="ChatImageButton"
  87.            Grid.Row="6"
  88.            Grid.RowSpan="3"
  89.            Grid.ColumnSpan="3"
  90.            BackgroundColor="{markup:AppColors Transparent}"
  91.            HeightRequest="14"
  92.            HorizontalOptions="End"
  93.            Source="{x:Static common:Images.IconChat}"
  94.            VerticalOptions="Start"
  95.            WidthRequest="14" />
  96.         <ImageButton
  97.            x:Name="VideoChatImageButton"
  98.            Grid.Row="7"
  99.            Grid.Column="3"
  100.            Grid.ColumnSpan="2"
  101.            BackgroundColor="{markup:AppColors Transparent}"
  102.            HeightRequest="10"
  103.            Source="{x:Static common:Images.IconVideochat}"
  104.            VerticalOptions="Start"
  105.            WidthRequest="14" />
  106.         <Label
  107.            x:Name="NameLabel"
  108.            Grid.Row="11"
  109.            Grid.ColumnSpan="5"
  110.            FontFamily="LoraRegular"
  111.            FontSize="12"
  112.            TextColor="{markup:AppColors Gray}"
  113.            VerticalOptions="Start"
  114.            VerticalTextAlignment="Start" />
  115.         <controls:RatingControl
  116.            x:Name="RatingControl"
  117.            Grid.Row="14"
  118.            Grid.ColumnSpan="2" />
  119.         <Label
  120.            x:Name="ReviewsLabel"
  121.            Grid.Row="13"
  122.            Grid.RowSpan="3"
  123.            Grid.Column="2"
  124.            Grid.ColumnSpan="2"
  125.            Margin="4,0,0,0"
  126.            FontFamily="SourceSansProRegular"
  127.            FontSize="12"
  128.            TextColor="{markup:AppColors Gray}"
  129.            VerticalOptions="Start" />
  130.         <Label
  131.            x:Name="SessionsLabel"
  132.            Grid.Row="17"
  133.            Grid.ColumnSpan="2"
  134.            FontFamily="SourceSansProRegular"
  135.            FontSize="12"
  136.            TextColor="{markup:AppColors Gray}"
  137.            VerticalTextAlignment="Center" />
  138.     </Grid>
  139. </ContentView>
Advertisement
Add Comment
Please, Sign In to add comment