mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-01 22:58:57 +01:00
Show version (commit count) and build time in the 'about' section
This commit is contained in:
20
app/src/main/res/xml/pref_about.xml
Normal file
20
app/src/main/res/xml/pref_about.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="acra.enable"
|
||||
android:title="@string/pref_enable_acra"
|
||||
android:summary="@string/pref_acra_summary"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_version"
|
||||
android:title="@string/version"
|
||||
android:persistent="false" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_build_time"
|
||||
android:title="@string/build_time"
|
||||
android:persistent="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -21,10 +21,9 @@
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_cache" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="acra.enable"
|
||||
android:title="@string/pref_enable_acra"
|
||||
android:summary="@string/pref_acra_summary"
|
||||
android:defaultValue="false"/>
|
||||
<Preference
|
||||
android:key="@string/pref_category_about_key"
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_about" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user