Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<Page
    x:Class="SmartCharging.NewReviewPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SmartCharging"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    
    <Border Background="White">
        <Grid x:Name="LayoutRoot" Background="White" VerticalAlignment="Stretch" MinHeight="650">

            <Grid.ChildrenTransitions>
                <TransitionCollection>
                    <EntranceThemeTransition/>
                </TransitionCollection>
            </Grid.ChildrenTransitions>

            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="30"></ColumnDefinition>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="30"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <Ellipse Grid.Row="0" Grid.Column="1"  Height="90" Width="90" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,40,0,0">
                <Ellipse.Fill>
                    <ImageBrush  ImageSource="{Binding IconImageUrl}" >
                    </ImageBrush>
                </Ellipse.Fill>
            </Ellipse>

            <TextBlock Text="{Binding Name}" Grid.Row="1" Grid.Column="1" Foreground="#FF666666" FontSize="22" FontWeight="SemiBold" Padding="10,20,10,10" TextWrapping="WrapWholeWords" HorizontalAlignment="Center"></TextBlock>
            <TextBlock Text="{Binding TypeLabel}" Grid.Row="2" Grid.Column="1" Foreground="#FF666666" FontSize="18" Padding="8,0,8,8" IsHoldingEnabled="False" IsRightTapEnabled="False" IsHitTestVisible="False" IsTapEnabled="False" IsDoubleTapEnabled="False" IsColorFontEnabled="False" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>

            <local:ChargeRating x:Name="RatingControl" Grid.Row="3"  Grid.Column="1" Margin="0,20" HorizontalAlignment="Center" Editable="true" Value="1"></local:ChargeRating>
            <TextBox PlaceholderText="Scrivi la recensione..." x:Uid="ReviewTextBox" x:Name="ReviewDescriptionTextBox" Grid.Row="4" Grid.Column="1" MinHeight="200" Style="{StaticResource TextBoxStyleDefault}" TextWrapping="Wrap"/>

            <Button x:ConnectionId='1' x:Name="SubmitReviewButton" x:Uid="SubmitReviewButton" Grid.Row="5" Grid.Column="1"  BorderBrush="#FF564966" Content="Invia" Foreground="#FF564966" Margin="0,35,0,0" Height="64" Style="{StaticResource ButtonStyleFlat}" VerticalAlignment="Bottom"                                     />

            <ProgressRing x:Name="Loader" IsActive="True" Grid.RowSpan="100" Grid.ColumnSpan="100" Background="#99000000" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsHitTestVisible="True" Foreground="#FF2CDAFF" Visibility="Collapsed" />

        </Grid>

    </Border>
    </Page>

Commits for Nextrek/Android/SmartCharging/SmartCharging_WP/SmartCharging/obj/Release/NewReviewPage.xaml

Diff revisions: vs.
Revision Author Commited Message
799 JMBauan picture JMBauan Thu 08 Oct, 2015 13:36:32 +0000