]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/AndroidManifest.xml
major refactor, make account summary and transaction list fragments, part of the...
[mobile-ledger.git] / app / src / main / AndroidManifest.xml
index deefabf17f889ef9267ad14e9dbbaa1cde22f7b2..5ab5cdc6207e7a74ce2c72bd32f56705621b63c0 100644 (file)
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Copyright © 2018 Damyan Ivanov.
+  ~ This file is part of Mobile-Ledger.
+  ~ Mobile-Ledger 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.
+  ~
+  ~ Mobile-Ledger 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 Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
+  -->
+
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="net.ktnx.mobileledger">
 
         android:label="@string/app_name"
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
+        android:name="net.ktnx.mobileledger.MobileLedgerApplication"
         android:theme="@style/AppTheme">
         <activity
-            android:name=".AccountSummary"
+            android:name=".ui.activity.MainActivity"
             android:label="@string/account_summary_title"
             android:theme="@style/AppTheme.NoActionBar">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
-
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
         </activity>
         <activity
-            android:name=".SettingsActivity"
+            android:name=".ui.activity.SettingsActivity"
             android:label="@string/title_activity_settings"
-            android:parentActivityName=".AccountSummary">
+            android:parentActivityName=".ui.activity.MainActivity">
             <meta-data
                 android:name="android.support.PARENT_ACTIVITY"
-                android:value="net.ktnx.mobileledger.AccountSummary" />
+                android:value="net.ktnx.mobileledger.ui.activity.MainActivity" />
         </activity>
         <activity
-            android:name=".NewTransactionActivity"
+            android:name=".ui.activity.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:parentActivityName=".ui.activity.MainActivity"
             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>
+                android:value="net.ktnx.mobileledger.ui.activity.MainActivity" />
         </activity>
     </application>