Show version (commit count) and build time in the 'about' section

This commit is contained in:
inorichi
2015-12-12 02:08:47 +01:00
parent a571bb5637
commit 9c0abdeb81
7 changed files with 123 additions and 8 deletions

View 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>

View File

@@ -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>