Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1150 from cocoa-mhlw/feature/end-of-service-page-…
Browse files Browse the repository at this point in the history
…design

サービス終了(利用完了後)画面の作成
  • Loading branch information
cocoa-dev003 authored Sep 21, 2022
2 parents e6877cb + ee2c3a8 commit 7f2cc5c
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 7 deletions.
36 changes: 36 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1529,5 +1529,20 @@ COCOAのソースコードは次のURLから入手できます。</comment>
<value>設定を保存しました</value>
<comment>設定を保存しました</comment>
</data>

<data name="EndOfServicePageTitle" xml:space="preserve">
<value>サービス終了のお知らせ</value>
<comment>サービス終了のお知らせ</comment>
</data>
<data name="EndOfServicePageDescription1" xml:space="preserve">
<value>接触確認アプリ「COCOA」は2022年◯月◯日をもってサービスを終了します。</value>
<comment>接触確認アプリ「COCOA」は2022年◯月◯日をもってサービスを終了します。</comment>
</data>
<data name="EndOfServicePageDescription2" xml:space="preserve">
<value>ご利用ありがとうございました。</value>
<comment>ご利用ありがとうございました。</comment>
</data>
<data name="EndOfServicePageTextLink" xml:space="preserve">
<value>詳細を確認する</value>
<comment>詳細を確認する</comment>
</data>
</root>
17 changes: 16 additions & 1 deletion Covid19Radar/Covid19Radar/Resources/AppResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1636,5 +1636,20 @@ By collecting the number of notifications, we can use it to understand how many
<value>Setting was saved</value>
<comment>設定を保存しました</comment>
</data>

<data name="EndOfServicePageTitle" xml:space="preserve">
<value>TODO</value>
<comment>サービス終了のお知らせ</comment>
</data>
<data name="EndOfServicePageDescription1" xml:space="preserve">
<value>TODO</value>
<comment>接触確認アプリ「COCOA」は2022年◯月◯日をもってサービスを終了します。</comment>
</data>
<data name="EndOfServicePageDescription2" xml:space="preserve">
<value>TODO</value>
<comment>ご利用ありがとうございました。</comment>
</data>
<data name="EndOfServicePageTextLink" xml:space="preserve">
<value>TODO</value>
<comment>詳細を確認する</comment>
</data>
</root>
17 changes: 16 additions & 1 deletion Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1533,5 +1533,20 @@ COCOAのソースコードは次のURLから入手できます。</comment>
<value>设置已保存</value>
<comment>設定を保存しました</comment>
</data>

<data name="EndOfServicePageTitle" xml:space="preserve">
<value>TODO</value>
<comment>サービス終了のお知らせ</comment>
</data>
<data name="EndOfServicePageDescription1" xml:space="preserve">
<value>TODO</value>
<comment>接触確認アプリ「COCOA」は2022年◯月◯日をもってサービスを終了します。</comment>
</data>
<data name="EndOfServicePageDescription2" xml:space="preserve">
<value>TODO</value>
<comment>ご利用ありがとうございました。</comment>
</data>
<data name="EndOfServicePageTextLink" xml:space="preserve">
<value>TODO</value>
<comment>詳細を確認する</comment>
</data>
</root>
50 changes: 46 additions & 4 deletions Covid19Radar/Covid19Radar/Views/EndOfService/EndOfServicePage.xaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,52 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Covid19Radar.Views.EndOfService.EndOfServicePage">
<ContentPage.Content>
<Label Text="EndOfServicePage" />
</ContentPage.Content>
x:Class="Covid19Radar.Views.EndOfService.EndOfServicePage"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
xmlns:prism="http://prismlibrary.com"
xmlns:resources="clr-namespace:Covid19Radar.Resources;assembly=Covid19Radar"
Title="{x:Static resources:AppResources.EndOfServicePageTitle}"
ios:Page.UseSafeArea="true"
prism:ViewModelLocator.AutowireViewModel="True"
Style="{StaticResource DefaultPageStyle}"
Visual="Material">
<ContentView>
<ScrollView>
<StackLayout
Margin="20"
Spacing="20">
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultTitleLabel}"
Text="{x:Static resources:AppResources.EndOfServicePageTitle}" />
<Label
Margin="0, 10, 0, 0"
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabel}"
HorizontalTextAlignment="Center"
Text="{x:Static resources:AppResources.EndOfServicePageDescription1}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabel}"
HorizontalTextAlignment="Center"
Text="{x:Static resources:AppResources.EndOfServicePageDescription2}" />
<Label
Margin="0, 10, 0, 0"
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource LinkLabelStyleMedium}"
HorizontalTextAlignment="Center"
Text="{x:Static resources:AppResources.EndOfServicePageTextLink}">
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{Binding Path=OpenWebView}" />
</Label.GestureRecognizers>
</Label>
</StackLayout>
</ScrollView>
</ContentView>
</ContentPage>

0 comments on commit 7f2cc5c

Please sign in to comment.