1
0

Add about section in settings (#99)

This commit is contained in:
Mikołaj Pich
2018-05-07 16:05:57 +02:00
committed by Rafał Borcz
parent dd2c69601a
commit f29689c6cd
11 changed files with 161 additions and 8 deletions

View File

@ -135,6 +135,18 @@
<string name="pref_services_interval">Interwał między odświeżaniem danych</string>
<string name="pref_services_mobile_data">Synchronizacja tylko przez WiFi</string>
<string name="pref_about_header">O aplikacji</string>
<string name="pref_about">Informacje o Wulkanowym</string>
<string name="pref_about_summary">Wulkanowy to nieoficjalny klient dziennika VULCAN UONET+</string>
<string name="pref_about_version">Wersja</string>
<string name="pref_about_osl">Licencje open source</string>
<string name="pref_about_osl_summary">Szczegóły licencji na oprogramowanie open source</string>
<string name="pref_about_support">Kod źródłowy i feedback</string>
<string name="about_programmer_step1">Nie, nie zostaniesz programistą!</string>
<string name="about_programmer_step2">Musisz bardziej się postarać!</string>
<string name="about_programmer_step3">Kliknij jeszcze parę razy</string>
<string name="about_programmer">Odwiedź zakładkę Kod źródłowy i pokaż jaki z ciebie programista!</string>
<string name="notify_grade_channel">Nowe oceny</string>
<string name="widget_timetable_no_lesson">Brak lekcji</string>
<string name="widget_timetable_today">Dziś</string>

View File

@ -130,6 +130,18 @@
<string name="pref_services_interval">Interval between data refreshing</string>
<string name="pref_services_mobile_data">Synchronization via WiFi only</string>
<string name="pref_about_header">About</string>
<string name="pref_about">About Wulkanowy</string>
<string name="pref_about_summary">Wulkanowy is an unofficial VULCAN UONET+ log client</string>
<string name="pref_about_version">Version</string>
<string name="pref_about_osl">Open source licenses</string>
<string name="pref_about_osl_summary">License details for open source software</string>
<string name="pref_about_support">Source code &amp; feedback</string>
<string name="about_programmer_step1">No, you will not become a programmer!</string>
<string name="about_programmer_step2">You must try harder!</string>
<string name="about_programmer_step3">Click a few more times</string>
<string name="about_programmer">Visit the Source code tab and show how good a programmer you are!</string>
<string name="notify_grade_channel">New grades</string>
<string name="widget_timetable_no_lesson">No lessons</string>
<string name="widget_timetable_today">Today</string>

View File

@ -6,7 +6,7 @@
<item name="colorAccent">@color/colorPrimary</item>
<item name="actionMenuTextColor">@android:color/primary_text_dark</item>
<item name="android:textColorPrimary">@android:color/primary_text_light</item>
<item name="android:textColorSecondary">@android:color/primary_text_light</item>
<item name="android:textColorSecondary">@android:color/secondary_text_light</item>
<item name="android:textColorSecondaryInverse">@android:color/primary_text_dark</item>
<item name="android:textColorTertiary">@android:color/primary_text_light</item>
<item name="android:textColorTertiaryInverse">@android:color/primary_text_dark</item>
@ -16,7 +16,7 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
</style>
<style name="WulkanowyTheme.LoginTheme" parent="@style/Theme.AppCompat.Light">
<style name="WulkanowyTheme.LoginTheme" parent="@style/Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorPrimary</item>

View File

@ -45,4 +45,27 @@
android:key="notify_enable"
android:title="@string/pref_notify_switch" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_about_header">
<PreferenceScreen
android:key="pref_about"
android:title="@string/pref_about"
android:persistent="false">
<PreferenceCategory android:title="@string/pref_about">
<Preference
android:selectable="false"
android:summary="@string/pref_about_summary"/>
<Preference
android:key="about_version"
android:title="@string/pref_about_version"/>
<Preference
android:key="about_osl"
android:title="@string/pref_about_osl"
android:summary="@string/pref_about_osl_summary"/>
<Preference
android:key="about_repo"
android:title="@string/pref_about_support">
</Preference>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>