- Fix balance hiding not working properly after restarting the app - An error is displayed when no proper password is entered for backup encryption - Add Watchlist, Manual entries and API keys backup and restore options - Add wipe old data for Watchlist, Manual entries and API keys option - Add encode checker to know whether or not the backup is encrypted - Fix unproper import/export labels - Add round corners to the top of each main layout (Holdings/Watchlist/MarketCap/List)
81 lines
2.7 KiB
XML
81 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_gravity="center"
|
|
android:theme="@style/AppTheme"
|
|
android:padding="5dp"
|
|
android:focusableInTouchMode="true">
|
|
|
|
<TextView
|
|
android:id="@+id/textViewFilePath"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/background_filepath"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxRestoreEntries"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/restore_manual_entries"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxWipeManualEntries"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wipe_manual_entries"
|
|
android:layout_marginStart="10dp"
|
|
android:visibility="gone"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxRestoreWatchlist"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/restore_watchlist"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxWipeWatchlist"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wipe_watchlist"
|
|
android:layout_marginStart="10dp"
|
|
android:visibility="gone"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxRestoreKeys"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/restore_keys"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxWipeAPIKeys"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/wipe_api_keys"
|
|
android:layout_marginStart="10dp"
|
|
android:visibility="gone"/>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkboxEnterPassword"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/enter_password"/>
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/textInputLayoutPassword"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<EditText
|
|
android:id="@+id/editTextPassword"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/password"
|
|
android:inputType="textPassword"/>
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
</LinearLayout> |