changeset 41:9231f1a41a59

Remove troublesome Up buttons; revise About text.
author David Barts <n5jrn@me.com>
date Thu, 08 Apr 2021 21:00:57 -0700
parents cfb19d4ccf78
children 45e4df5226c0
files app/src/main/AndroidManifest.xml app/src/main/assets/about_body.html app/src/main/java/com/bartsent/simpleresizer/SettingsActivity.kt
diffstat 3 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/app/src/main/AndroidManifest.xml	Mon Apr 05 09:08:31 2021 -0700
+++ b/app/src/main/AndroidManifest.xml	Thu Apr 08 21:00:57 2021 -0700
@@ -16,17 +16,11 @@
         <activity
             android:name=".About"
             android:label="@string/title_activity_about">
-            <meta-data
-                android:name="android.support.PARENT_ACTIVITY"
-                android:value=".EditImage" />
         </activity>
 
         <activity
             android:name=".SettingsActivity"
             android:label="@string/title_activity_settings">
-            <meta-data
-                android:name="android.support.PARENT_ACTIVITY"
-                android:value=".EditImage" />
             <intent-filter>
                 <action android:name="android.intent.action.APPLICATION_PREFERENCES" />
                 <category android:name="android.intent.category.PREFERENCE" />
--- a/app/src/main/assets/about_body.html	Mon Apr 05 09:08:31 2021 -0700
+++ b/app/src/main/assets/about_body.html	Thu Apr 08 21:00:57 2021 -0700
@@ -7,4 +7,6 @@
     privacy.</p>
 <p>It <i>does not</i> modify any existing files; it writes new files, leaving
     your original images alone.</p>
-<p>More information may be found <a href="https://bartsent.com/simple_resizer.pspx">here</a>.</p>
\ No newline at end of file
+<p>More information (including my
+    <a href="https://bartsent.com/simple_resizer.pspx#privacy">privacy policy</a>)
+    may be found <a href="https://bartsent.com/simple_resizer.pspx">here</a>.</p>
--- a/app/src/main/java/com/bartsent/simpleresizer/SettingsActivity.kt	Mon Apr 05 09:08:31 2021 -0700
+++ b/app/src/main/java/com/bartsent/simpleresizer/SettingsActivity.kt	Thu Apr 08 21:00:57 2021 -0700
@@ -16,7 +16,6 @@
                     .replace(R.id.settings, SettingsFragment())
                     .commit()
         }
-        supportActionBar?.setDisplayHomeAsUpEnabled(true)
         PreferenceManager.setDefaultValues(applicationContext, R.xml.root_preferences, false)
     }