]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/AndroidManifest.xml
nice side-swipe switch between account summary and transaction list
[mobile-ledger.git] / app / src / main / AndroidManifest.xml
index 1cd74d149239563d72de0c1f28c0b56fe90ee35e..7171718a08c95f4d3ca86d74ec0989c2f5746508 100644 (file)
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ~ Copyright © 2018 Damyan Ivanov.
+<?xml version="1.0" encoding="utf-8"?><!--
+  ~ Copyright © 2019 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
   ~
   ~ 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">
 
     <uses-permission android:name="android.permission.INTERNET" />
 
     <application
+        android:name=".MobileLedgerApplication"
         android:allowBackup="true"
         android:fullBackupContent="@xml/backup_descriptor"
         android:icon="@mipmap/ic_launcher"
         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:label="@string/account_summary_title"
+            android:name=".ui.activity.MainActivity"
+            android:label="@string/app_name"
             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:parentActivityName=".ui.activity.MainActivity"
             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>
+                android:value="net.ktnx.mobileledger.ui.activity.MainActivity" />
         </activity>
     </application>