Add an option to use a bottom app bar. https://redmine.stoutner.com/issues/749
[PrivacyCell.git] / app / src / main / AndroidManifest.xml
index ab618bbf089a6952ca61a164b415aee2428b4a9f..a510530d9d551cd8b545baa2ec77d5a1ea9274ec 100644 (file)
         android:supportsRtl="true"
         android:theme="@style/Theme.PrivacyCell" >
 
-        <!-- The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
+        <!-- PrivacyCellActivity.  The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
             `android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent.
             It also makes it reuse an existing Privacy Cell activity if available instead of launching a new one. -->
         <activity
-            android:name=".activities.PrivacyCell"
+            android:name=".activities.PrivacyCellActivity"
             android:label="@string/cell"
             android:launchMode="singleTask"
             android:screenOrientation="fullUser"
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
+
+        <!-- Settings Activity.  The `parentActivityName` is used when restarting Privacy Cell.-->
+        <activity
+            android:name=".activities.SettingsActivity"
+            android:label="@string/settings"
+            android:screenOrientation="fullUser"
+            android:parentActivityName=".activities.PrivacyCellActivity" />
     </application>
 </manifest>
\ No newline at end of file