edit
This commit is contained in:
@@ -14,36 +14,42 @@
|
|||||||
</ContentPage.Resources>
|
</ContentPage.Resources>
|
||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<!-- HybridWebView for book rendering -->
|
<!-- Рендер книги -->
|
||||||
<HybridWebView x:Name="ReaderWebView"
|
<HybridWebView x:Name="ReaderWebView"
|
||||||
RawMessageReceived="OnRawMessageReceived"
|
RawMessageReceived="OnRawMessageReceived"
|
||||||
DefaultFile="index.html"
|
DefaultFile="index.html"
|
||||||
HorizontalOptions="Fill"
|
HorizontalOptions="Fill"
|
||||||
VerticalOptions="Fill" />
|
VerticalOptions="Fill" />
|
||||||
<VerticalStackLayout VerticalOptions="End"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
Padding="10"
|
|
||||||
InputTransparent="True">
|
|
||||||
<Frame BackgroundColor="#AA000000"
|
|
||||||
CornerRadius="15"
|
|
||||||
Padding="10,2"
|
|
||||||
BorderColor="Transparent"
|
|
||||||
HasShadow="False">
|
|
||||||
<Label Text="{Binding ChapterProgressText}"
|
|
||||||
TextColor="White"
|
|
||||||
FontSize="12"
|
|
||||||
HorizontalTextAlignment="Center" />
|
|
||||||
</Frame>
|
|
||||||
</VerticalStackLayout>
|
|
||||||
|
|
||||||
<!-- Overlay Menu -->
|
<!-- Всплывающее меню -->
|
||||||
<Grid IsVisible="{Binding IsMenuVisible}"
|
<Grid IsVisible="{Binding IsMenuVisible}"
|
||||||
BackgroundColor="#88000000"
|
BackgroundColor="#88000000"
|
||||||
InputTransparent="False">
|
InputTransparent="False">
|
||||||
<Grid.GestureRecognizers>
|
<Grid.GestureRecognizers>
|
||||||
<TapGestureRecognizer Command="{Binding HideMenuCommand}" />
|
<TapGestureRecognizer Command="{Binding HideMenuCommand}" />
|
||||||
</Grid.GestureRecognizers>
|
</Grid.GestureRecognizers>
|
||||||
|
<!-- Верхняя всплывающая панель -->
|
||||||
|
<Frame BackgroundColor="#2C2C2C"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
HorizontalOptions="FillAndExpand"
|
||||||
|
Padding="20"
|
||||||
|
HasShadow="True"
|
||||||
|
BorderColor="Transparent">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<Label Text="{Binding ChapterProgressText}"
|
||||||
|
TextColor="White"
|
||||||
|
FontSize="12"
|
||||||
|
HorizontalTextAlignment="Center" />
|
||||||
|
<!--Back Button-->
|
||||||
|
<Button Text="← Back to Library"
|
||||||
|
BackgroundColor="#D32F2F"
|
||||||
|
TextColor="White"
|
||||||
|
FontSize="14"
|
||||||
|
CornerRadius="8"
|
||||||
|
HeightRequest="45"
|
||||||
|
Clicked="OnBackToLibrary" />
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</Frame>
|
||||||
<!--Menu Panel-->
|
<!--Menu Panel-->
|
||||||
<Frame VerticalOptions="Center"
|
<Frame VerticalOptions="Center"
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
@@ -138,17 +144,26 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</CollectionView.ItemTemplate>
|
</CollectionView.ItemTemplate>
|
||||||
</CollectionView>
|
</CollectionView>
|
||||||
|
|
||||||
<!--Back Button-->
|
|
||||||
<Button Text="← Back to Library"
|
|
||||||
BackgroundColor="#D32F2F"
|
|
||||||
TextColor="White"
|
|
||||||
FontSize="14"
|
|
||||||
CornerRadius="8"
|
|
||||||
HeightRequest="45"
|
|
||||||
Clicked="OnBackToLibrary" />
|
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
|
<!-- Нижняя постоянная панель отображает прогресс чтения -->
|
||||||
|
<VerticalStackLayout VerticalOptions="End"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Padding="10"
|
||||||
|
InputTransparent="True">
|
||||||
|
|
||||||
|
<Frame BackgroundColor="#AA000000"
|
||||||
|
CornerRadius="15"
|
||||||
|
Padding="10,2"
|
||||||
|
BorderColor="Transparent"
|
||||||
|
HasShadow="False">
|
||||||
|
<Label Text="{Binding ChapterProgressText}"
|
||||||
|
TextColor="White"
|
||||||
|
FontSize="12"
|
||||||
|
HorizontalTextAlignment="Center" />
|
||||||
|
</Frame>
|
||||||
|
</VerticalStackLayout>
|
||||||
</Grid>
|
</Grid>
|
||||||
</ContentPage>
|
</ContentPage>
|
||||||
Reference in New Issue
Block a user