edit
This commit is contained in:
@@ -14,36 +14,42 @@
|
||||
</ContentPage.Resources>
|
||||
|
||||
<Grid>
|
||||
<!-- HybridWebView for book rendering -->
|
||||
<!-- Рендер книги -->
|
||||
<HybridWebView x:Name="ReaderWebView"
|
||||
RawMessageReceived="OnRawMessageReceived"
|
||||
DefaultFile="index.html"
|
||||
HorizontalOptions="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}"
|
||||
BackgroundColor="#88000000"
|
||||
InputTransparent="False">
|
||||
<Grid.GestureRecognizers>
|
||||
<TapGestureRecognizer Command="{Binding HideMenuCommand}" />
|
||||
</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-->
|
||||
<Frame VerticalOptions="Center"
|
||||
HorizontalOptions="Center"
|
||||
@@ -138,17 +144,26 @@
|
||||
</DataTemplate>
|
||||
</CollectionView.ItemTemplate>
|
||||
</CollectionView>
|
||||
|
||||
<!--Back Button-->
|
||||
<Button Text="← Back to Library"
|
||||
BackgroundColor="#D32F2F"
|
||||
TextColor="White"
|
||||
FontSize="14"
|
||||
CornerRadius="8"
|
||||
HeightRequest="45"
|
||||
Clicked="OnBackToLibrary" />
|
||||
</VerticalStackLayout>
|
||||
</Frame>
|
||||
</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>
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user