]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/AndroidManifest.xml
more pronounced day/month delimiters in the transaction list
[mobile-ledger.git] / app / src / main / AndroidManifest.xml
index deefabf17f889ef9267ad14e9dbbaa1cde22f7b2..b17a1ecfcacfaec410eee37f6be145c34c967ac7 100644 (file)
@@ -1,57 +1,66 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?><!--
+  ~ Copyright © 2024 Damyan Ivanov.
+  ~ This file is part of MoLe.
+  ~ MoLe is free software: you can distribute it and/or modify it
+  ~ under the term of the GNU General Public License as published by
+  ~ the Free Software Foundation, either version 3 of the License, or
+  ~ (at your opinion), any later version.
+  ~
+  ~ MoLe is distributed in the hope that it will be useful,
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+  ~ GNU General Public License terms for details.
+  ~
+  ~ You should have received a copy of the GNU General Public License
+  ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
+  -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="net.ktnx.mobileledger">
+    xmlns:tools="http://schemas.android.com/tools">
 
     <uses-permission android:name="android.permission.INTERNET" />
 
     <application
+        android:name=".App"
         android:allowBackup="true"
-        android:fullBackupContent="@xml/backup_descriptor"
-        android:icon="@mipmap/ic_launcher"
+        android:appCategory="productivity"
+        android:icon="@drawable/app_icon"
         android:label="@string/app_name"
-        android:roundIcon="@mipmap/ic_launcher_round"
+        android:networkSecurityConfig="@xml/network_security_config"
+        android:roundIcon="@drawable/app_icon_round"
         android:supportsRtl="true"
-        android:theme="@style/AppTheme">
+        android:backupAgent=".backup.MobileLedgerBackupAgent"
+        tools:ignore="GoogleAppIndexingWarning">
         <activity
-            android:name=".AccountSummary"
-            android:label="@string/account_summary_title"
-            android:theme="@style/AppTheme.NoActionBar">
+            android:name=".BackupsActivity"
+            android:label="@string/backups_activity_label"
+            android:theme="@style/AppTheme.default" />
+        <activity
+            android:name=".ui.templates.TemplatesActivity"
+            android:label="@string/title_activity_templates"
+            android:theme="@style/AppTheme.default" />
+        <activity
+            android:name=".ui.activity.SplashActivity"
+            android:exported="true"
+            android:theme="@style/AppTheme.default">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
-
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
         <activity
-            android:name=".SettingsActivity"
-            android:label="@string/title_activity_settings"
-            android:parentActivityName=".AccountSummary">
-            <meta-data
-                android:name="android.support.PARENT_ACTIVITY"
-                android:value="net.ktnx.mobileledger.AccountSummary" />
-        </activity>
+            android:name=".ui.activity.MainActivity"
+            android:theme="@style/AppTheme.default" />
         <activity
-            android:name=".NewTransactionActivity"
+            android:name=".ui.new_transaction.NewTransactionActivity"
             android:label="@string/title_activity_new_transaction"
-            android:parentActivityName=".AccountSummary"
-            android:theme="@style/AppTheme.NoActionBar">
-            <meta-data
-                android:name="android.support.PARENT_ACTIVITY"
-                android:value="net.ktnx.mobileledger.AccountSummary" />
-        </activity>
-        <activity android:name=".TransactionListActivity"
-            android:label="@string/title_activity_transaction_list"
-            android:parentActivityName=".AccountSummary"
-            android:theme="@style/AppTheme.NoActionBar">
-            <meta-data
-                android:name="android.support.PARENT_ACTIVITY"
-                android:value="net.ktnx.mobileledger.AccountSummary" />
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-
-                <category android:name="android.intent.category.LAUNCHER" />
-            </intent-filter>
-        </activity>
+            android:parentActivityName=".ui.activity.MainActivity"
+            android:theme="@style/AppTheme.default"
+            android:windowSoftInputMode="stateVisible|adjustResize" />
+        <activity
+            android:name=".ui.profiles.ProfileDetailActivity"
+            android:label="@string/title_profile_details"
+            android:parentActivityName=".ui.activity.MainActivity"
+            android:windowSoftInputMode="stateVisible|adjustResize" />
     </application>
 
 </manifest>
\ No newline at end of file