commit 6553a42ac1760cbb201a3877fc7a2fe10f5df60f parent 7c62001a58b0de0b8259c73ccca8e2e740d6f525 Author: Iván Ávalos <avalos@disroot.org> Date: Thu, 31 Oct 2024 14:59:54 +0100 [wallet] XML cleanup Diffstat:
| M | merchant-terminal/src/main/res/layout/activity_main.xml | | | 9 | --------- |
| D | wallet/src/main/res/layout/balance_actions.xml | | | 151 | ------------------------------------------------------------------------------ |
| D | wallet/src/main/res/layout/fragment_balances.xml | | | 43 | ------------------------------------------- |
| D | wallet/src/main/res/layout/fragment_main.xml | | | 36 | ------------------------------------ |
| D | wallet/src/main/res/layout/fragment_transactions.xml | | | 87 | ------------------------------------------------------------------------------- |
| D | wallet/src/main/res/layout/list_item_balance.xml | | | 60 | ------------------------------------------------------------ |
| D | wallet/src/main/res/layout/list_item_transaction.xml | | | 107 | ------------------------------------------------------------------------------- |
| D | wallet/src/main/res/layout/nav_header_main.xml | | | 75 | --------------------------------------------------------------------------- |
| D | wallet/src/main/res/menu/transactions_action_mode.xml | | | 26 | -------------------------- |
| M | wallet/src/main/res/navigation/nav_graph.xml | | | 3 | +-- |
10 files changed, 1 insertion(+), 596 deletions(-)
diff --git a/merchant-terminal/src/main/res/layout/activity_main.xml b/merchant-terminal/src/main/res/layout/activity_main.xml @@ -29,13 +29,4 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> - <com.google.android.material.navigation.NavigationView - android:id="@+id/nav_view" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_gravity="start" - android:fitsSystemWindows="true" - app:headerLayout="@layout/nav_header_main" - app:menu="@menu/activity_main_drawer" /> - </androidx.drawerlayout.widget.DrawerLayout> diff --git a/wallet/src/main/res/layout/balance_actions.xml b/wallet/src/main/res/layout/balance_actions.xml @@ -1,150 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2024 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools"> - - <com.google.android.material.card.MaterialCardView - android:id="@+id/currencyCard" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_margin="9dp" - app:contentPadding="15dp" - app:contentPaddingLeft="18dp" - android:elevation="10dp" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/amountBarrier" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toTopOf="@id/topBarrier" - style="@style/Widget.Material3.CardView.Outlined" - android:clickable="true" - android:focusable="true" - android:background="?selectableItemBackground"> - <androidx.constraintlayout.widget.ConstraintLayout - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <TextView - android:id="@+id/currencyLabel" - android:layout_width="0dp" - android:layout_height="wrap_content" - style="@style/TextAppearance.Material3.TitleMedium" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/dropdownIcon" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toTopOf="@id/exchangeLabel" - tools:text="Euro (€)"/> - - <TextView - android:id="@+id/exchangeLabel" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:paddingTop="3dp" - style="@style/TextAppearance.Material3.BodySmall" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/dropdownIcon" - app:layout_constraintBottom_toBottomOf="parent" - android:visibility="gone" - tools:text="exchange.demo.taler.net" - tools:visibility="visible"/> - -<!-- <ImageButton--> -<!-- android:id="@+id/backButton"--> -<!-- android:layout_width="wrap_content"--> -<!-- android:layout_height="wrap_content"--> -<!-- android:padding="6dp"--> -<!-- android:layout_marginStart="9dp"--> -<!-- android:src="@drawable/ic_dropdown"--> -<!-- app:layout_constraintStart_toStartOf="parent"--> -<!-- app:layout_constraintTop_toTopOf="parent"--> -<!-- app:layout_constraintBottom_toBottomOf="parent"--> -<!-- android:contentDescription="@string/button_back"--> -<!-- android:background="?android:selectableItemBackground"/>--> - - <ImageView - android:id="@+id/dropdownIcon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_dropdown" - android:contentDescription="@string/button_back" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" /> - - </androidx.constraintlayout.widget.ConstraintLayout> - </com.google.android.material.card.MaterialCardView> - - <androidx.constraintlayout.widget.Barrier - android:id="@+id/amountBarrier" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toTopOf="@id/divider" - app:barrierDirection="start"/> - - <LinearLayout - android:id="@+id/amountLayout" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:orientation="vertical" - android:gravity="end" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toTopOf="@id/divider" - app:layout_constraintStart_toEndOf="@id/amountBarrier"> - - <TextView - android:id="@+id/balanceLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginEnd="16dp" - android:text="@string/transactions_balance" - android:textSize="14sp" /> - - <TextView - android:id="@+id/amount" - style="@style/TextAppearance.Material3.TitleLarge" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginEnd="16dp" - android:layout_marginBottom="8dp" - android:textStyle="bold" - tools:text="23.42" - tools:visibility="visible" /> - - </LinearLayout> - - <androidx.constraintlayout.widget.Barrier - android:id="@+id/topBarrier" - android:layout_width="match_parent" - android:layout_height="wrap_content" - app:barrierDirection="bottom" - app:constraint_referenced_ids="currencyCard" /> - - <com.google.android.material.divider.MaterialDivider - android:id="@+id/divider" - android:layout_width="match_parent" - android:layout_height="1dp" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/topBarrier" /> - -</androidx.constraintlayout.widget.ConstraintLayout> -\ No newline at end of file diff --git a/wallet/src/main/res/layout/fragment_balances.xml b/wallet/src/main/res/layout/fragment_balances.xml @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/mainList" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="invisible" - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" - tools:listitem="@layout/list_item_balance" - tools:visibility="visible" /> - - <TextView - android:id="@+id/mainEmptyState" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:autoLink="web" - android:gravity="center" - android:padding="16dp" - android:text="@string/balances_empty_state" - android:textSize="18sp" - android:visibility="invisible" - tools:visibility="visible" /> - -</FrameLayout> diff --git a/wallet/src/main/res/layout/fragment_main.xml b/wallet/src/main/res/layout/fragment_main.xml @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> -<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <androidx.fragment.app.FragmentContainerView - android:id="@+id/mainFragmentContainer" - android:layout_width="match_parent" - android:layout_height="match_parent" /> - - <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton - android:id="@+id/mainFab" - style="@style/FabStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:contentDescription="@string/button_scan_qr_code" - android:text="@string/button_scan_qr_code_label" - app:icon="@drawable/ic_scan_qr" - app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" /> - -</androidx.coordinatorlayout.widget.CoordinatorLayout> diff --git a/wallet/src/main/res/layout/fragment_transactions.xml b/wallet/src/main/res/layout/fragment_transactions.xml @@ -1,87 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <androidx.core.widget.NestedScrollView - android:layout_width="match_parent" - android:layout_height="match_parent"> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> - - <FrameLayout - android:id="@+id/actionsFrame" - android:layout_height="wrap_content" - android:layout_width="match_parent"> - <include - android:id="@+id/actionsBar" - layout="@layout/balance_actions" - android:layout_height="wrap_content" - android:layout_width="match_parent"/> - </FrameLayout> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/list" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:nestedScrollingEnabled="false" - android:scrollbars="vertical" - android:visibility="invisible" - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" - tools:listitem="@layout/list_item_transaction" - tools:visibility="visible" /> - - </LinearLayout> - - </androidx.core.widget.NestedScrollView> - - <TextView - android:id="@+id/emptyState" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_margin="16dp" - android:gravity="center" - android:text="@string/transactions_empty" - android:textSize="16sp" - android:visibility="invisible" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - tools:visibility="visible" /> - - <ProgressBar - android:id="@+id/progressBar" - style="?android:progressBarStyleLarge" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="invisible" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - tools:visibility="visible" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/wallet/src/main/res/layout/list_item_balance.xml b/wallet/src/main/res/layout/list_item_balance.xml @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="?attr/selectableItemBackground" - android:padding="16dp"> - - <TextView - android:id="@+id/balanceAmountView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="?textAppearanceDisplaySmall" - tools:text="100.50" /> - - <TextView - android:id="@+id/scopeView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="8dp" - style="?textAppearanceBodyMedium" - android:visibility="gone" - tools:text="@string/balance_scope_exchange" - tools:visibility="visible"/> - - <TextView - android:id="@+id/balanceInboundAmount" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="@color/green" - style="?textAppearanceBodyLarge" - tools:text="+10 TESTKUDOS inbound" - tools:visibility="visible" /> - - <TextView - android:id="@+id/balanceOutboundAmount" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="?colorError" - style="?textAppearanceBodyLarge" - tools:text="-10 TESTKUDOS outbound" - tools:visibility="visible" /> - -</LinearLayout> diff --git a/wallet/src/main/res/layout/list_item_transaction.xml b/wallet/src/main/res/layout/list_item_transaction.xml @@ -1,107 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/root" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="?attr/selectableItemBackground" - android:paddingStart="16dp" - android:paddingTop="12dp" - android:paddingEnd="16dp" - android:paddingBottom="12dp"> - - <ImageView - android:id="@+id/icon" - android:layout_width="32dp" - android:layout_height="32dp" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - tools:ignore="ContentDescription" - tools:src="@drawable/ic_cash_usd_outline" /> - - <TextView - android:id="@+id/title" - style="@style/TransactionTitle" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:layout_marginEnd="8dp" - app:layout_constraintEnd_toStartOf="@+id/barrier" - app:layout_constraintStart_toEndOf="@+id/icon" - app:layout_constraintTop_toTopOf="parent" - tools:text="@string/payment_title" /> - - <TextView - android:id="@+id/extraInfoView" - style="@style/TransactionSubtitle" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginEnd="8dp" - android:visibility="gone" - app:layout_constraintEnd_toStartOf="@+id/barrier" - app:layout_constraintStart_toStartOf="@+id/title" - app:layout_constraintTop_toBottomOf="@+id/title" - tools:text="@string/withdraw_waiting_confirm" - tools:visibility="visible" /> - - <TextView - android:id="@+id/time" - style="@style/TransactionTimestamp" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:layout_marginEnd="8dp" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toStartOf="@+id/barrier" - app:layout_constraintStart_toStartOf="@+id/title" - app:layout_constraintTop_toBottomOf="@+id/extraInfoView" - tools:text="23 min ago" /> - - <androidx.constraintlayout.widget.Barrier - android:id="@+id/barrier" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:barrierDirection="start" - app:constraint_referenced_ids="amount,pendingView" /> - - <TextView - android:id="@+id/amount" - style="@style/TransactionAmount" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - app:layout_constraintBottom_toTopOf="@+id/pendingView" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" - tools:text="- 1337.23" /> - - <TextView - android:id="@+id/pendingView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/transaction_pending" - android:textSize="14sp" - android:visibility="gone" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toBottomOf="@+id/amount" - tools:visibility="visible" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/wallet/src/main/res/layout/nav_header_main.xml b/wallet/src/main/res/layout/nav_header_main.xml @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@drawable/side_nav_bar" - android:theme="@style/ThemeOverlay.AppCompat.Dark"> - - <ImageView - android:id="@+id/talerLogoView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_margin="16dp" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:srcCompat="@mipmap/ic_launcher_round" /> - - <TextView - android:id="@+id/gnuView" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:layout_marginTop="8dp" - android:layout_marginEnd="16dp" - android:text="@string/nav_header_title" - android:textAppearance="@style/TextAppearance.Material3.BodyLarge" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/talerLogoView" /> - - <TextView - android:id="@+id/walletView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:layout_marginTop="4dp" - android:layout_marginBottom="16dp" - android:text="@string/nav_header_subtitle" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/gnuView" /> - - <TextView - android:id="@+id/versionView" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginStart="8dp" - android:layout_marginEnd="16dp" - android:ellipsize="end" - android:maxLines="1" - android:singleLine="true" - app:layout_constraintBottom_toBottomOf="@+id/walletView" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintHorizontal_bias="0.0" - app:layout_constraintStart_toEndOf="@+id/walletView" - app:layout_constraintTop_toTopOf="@+id/walletView" - tools:text="0.6.9-pre15 (eae45ae4e3) (1231242342352245345345345345)" /> - -</androidx.constraintlayout.widget.ConstraintLayout> diff --git a/wallet/src/main/res/menu/transactions_action_mode.xml b/wallet/src/main/res/menu/transactions_action_mode.xml @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><!-- - ~ This file is part of GNU Taler - ~ (C) 2020 Taler Systems S.A. - ~ - ~ GNU Taler is free software; you can redistribute it and/or modify it under the - ~ terms of the GNU General Public License as published by the Free Software - ~ Foundation; either version 3, or (at your option) any later version. - ~ - ~ GNU Taler 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 for more details. - ~ - ~ You should have received a copy of the GNU General Public License along with - ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android"> - <item - android:id="@+id/transaction_select_all" - android:icon="@drawable/ic_select_all" - android:title="@string/transactions_select_all" /> - <item - android:id="@+id/transaction_delete" - android:icon="@drawable/ic_delete" - android:title="@string/transactions_delete" /> -</menu> diff --git a/wallet/src/main/res/navigation/nav_graph.xml b/wallet/src/main/res/navigation/nav_graph.xml @@ -23,8 +23,7 @@ <fragment android:id="@+id/nav_main" android:name="net.taler.wallet.MainFragment" - android:label="@string/balances_title" - tools:layout="@layout/fragment_balances"> + android:label="@string/balances_title"> <action android:id="@+id/action_nav_main_to_nav_uri_input" app:destination="@id/nav_uri_input" />