cleaning
This commit is contained in:
parent
52ddb2d559
commit
299f41e8fc
1 changed files with 12 additions and 30 deletions
|
|
@ -18,36 +18,18 @@
|
||||||
</Style>
|
</Style>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</ContentPage.Resources>
|
</ContentPage.Resources>
|
||||||
<ScrollView>
|
<ContentPage.Content>
|
||||||
<StackLayout Orientation="Vertical" >
|
<ScrollView>
|
||||||
<StackLayout>
|
<StackLayout BoxView.Color="{StaticResource ContentBackgroundColor}">
|
||||||
<lc:GesturesContentView ExcludeChildren="false" VisualElement.HeightRequest="{StaticResource BigUserAvatarSize}">
|
<Label Text="{Binding UserName}" Style="{StaticResource LabelPageHeadingStyle}"
|
||||||
<StackLayout>
|
HorizontalTextAlignment="Center"
|
||||||
<Label Text="{Binding UserName}" Style="{StaticResource LabelPageHeadingStyle}"
|
LineBreakMode="WordWrap" XAlign="Center"
|
||||||
HorizontalTextAlignment="Center"
|
|
||||||
LineBreakMode="WordWrap" XAlign="Center"
|
|
||||||
></Label>
|
></Label>
|
||||||
|
|
||||||
<Frame VisualElement.HeightRequest="{StaticResource BigUserAvatarSize}">
|
|
||||||
|
|
||||||
<lb:Gestures.Interests>
|
<Image Source="{Binding Avatar}"
|
||||||
<lb:GestureCollection>
|
|
||||||
<lb:GestureInterest GestureType="LongPress"
|
|
||||||
GestureCommand="{Binding UserNameGesture}"
|
|
||||||
/>
|
|
||||||
</lb:GestureCollection>
|
|
||||||
</lb:Gestures.Interests>
|
|
||||||
<Image Source="{Binding Avatar}" Aspect="AspectFit"
|
|
||||||
VisualElement.HeightRequest="{StaticResource BigUserAvatarSize}" />
|
VisualElement.HeightRequest="{StaticResource BigUserAvatarSize}" />
|
||||||
|
<views:RatingView Rating="{Binding Rating, Mode=TwoWay}" x:Name="ratingView" />
|
||||||
|
|
||||||
</Frame>
|
|
||||||
</StackLayout>
|
|
||||||
</lc:GesturesContentView>
|
|
||||||
<views:RatingView Rating="{Binding Rating, Mode=TwoWay}" x:Name="ratingView"/>
|
|
||||||
|
|
||||||
|
|
||||||
</StackLayout>
|
|
||||||
|
|
||||||
<Button Text="{Binding PerformerStatus}" Clicked="OnViewPerformerStatus" />
|
<Button Text="{Binding PerformerStatus}" Clicked="OnViewPerformerStatus" />
|
||||||
<Button Text="{Binding UserQueries}" Clicked="OnViewUserQueries"
|
<Button Text="{Binding UserQueries}" Clicked="OnViewUserQueries"
|
||||||
|
|
@ -63,11 +45,11 @@
|
||||||
<Switch HorizontalOptions="End" IsToggled="{Binding AllowUseMyPosition, Mode=TwoWay}"/>
|
<Switch HorizontalOptions="End" IsToggled="{Binding AllowUseMyPosition, Mode=TwoWay}"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout Orientation="Horizontal" VerticalOptions="Start"
|
<StackLayout Orientation="Horizontal" VerticalOptions="Start"
|
||||||
VisualElement.IsVisible="{Binding UserIsPro}">
|
VisualElement.IsVisible="{Binding UserIsPro}" >
|
||||||
<Label Text="Ne recevoir de demande de devis que de la part de professionnels uniquement"
|
<Label Text="Ne recevoir de demande de devis que de la part de professionnels uniquement" />
|
||||||
StyleClass="Header"/>
|
|
||||||
<Switch HorizontalOptions="End" IsToggled="{Binding AllowProBookingOnly, Mode=TwoWay}"/>
|
<Switch HorizontalOptions="End" IsToggled="{Binding AllowProBookingOnly, Mode=TwoWay}"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
</ContentPage.Content>
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue