<?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">
+ <uses-permission android:name="android.permission.INTERNET" />
+
<application
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:theme="@style/AppTheme"
- android:fullBackupContent="@xml/backup_descriptor">
+ android:name="net.ktnx.mobileledger.MobileLedgerApplication"
+ android:theme="@style/AppTheme">
<activity
- android:name=".LatestTransactions"
- android:label="@string/app_name"
+ android:name=".AccountSummary"
+ 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:label="@string/title_activity_settings"
- android:parentActivityName=".LatestTransactions">
+ android:parentActivityName=".AccountSummary">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
- android:value="net.ktnx.mobileledger.LatestTransactions" />
+ android:value="net.ktnx.mobileledger.AccountSummary" />
+ </activity>
+ <activity
+ android:name=".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>
</application>