diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-08-27 08:46:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-08-27 08:46:46 +0000 |
commit | 3b0eb15646cc9ac60a7661cf25d5a1a528bae404 (patch) | |
tree | 51061820cd68d27e7024061a71aed026d141f3ac /app/src/main/java/Settings/AboutPreferenceFragment.java | |
parent | fe82b5686e271183771bb801e99f24f88c872fbe (diff) | |
download | infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.gz infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.bz2 infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.lz infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.xz infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.zst infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.zip |
This app now has an icon (finally)git statusgit statusgit status Add a credits page in settings. Use another error view and no comment placeholder.
Diffstat (limited to 'app/src/main/java/Settings/AboutPreferenceFragment.java')
-rw-r--r-- | app/src/main/java/Settings/AboutPreferenceFragment.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/java/Settings/AboutPreferenceFragment.java b/app/src/main/java/Settings/AboutPreferenceFragment.java new file mode 100644 index 00000000..40873284 --- /dev/null +++ b/app/src/main/java/Settings/AboutPreferenceFragment.java @@ -0,0 +1,19 @@ +package Settings; + + +import android.os.Bundle; + +import androidx.preference.PreferenceFragmentCompat; + +import ml.docilealligator.infinityforreddit.R; + +/** + * A simple {@link PreferenceFragmentCompat} subclass. + */ +public class AboutPreferenceFragment extends PreferenceFragmentCompat { + + @Override + public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { + setPreferencesFromResource(R.xml.about_preferences, rootKey); + } +} |