summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_show_balance.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-02-21 16:32:08 -0300
committerTorsten Grote <t@grobox.de>2020-02-21 16:32:08 -0300
commit5f57c48b526f7f297e307851135fc52a5ea23ab3 (patch)
treeb54e02fdd8cd27553897f079e09dda3e4a9ed1c6 /app/src/main/res/layout/fragment_show_balance.xml
parent9b07cda04a02f5e8f685feb505db251006fd45fd (diff)
downloadwallet-android-5f57c48b526f7f297e307851135fc52a5ea23ab3.tar.gz
wallet-android-5f57c48b526f7f297e307851135fc52a5ea23ab3.tar.bz2
wallet-android-5f57c48b526f7f297e307851135fc52a5ea23ab3.zip
Fix lint and make all strings translatable
Diffstat (limited to 'app/src/main/res/layout/fragment_show_balance.xml')
-rw-r--r--app/src/main/res/layout/fragment_show_balance.xml30
1 files changed, 15 insertions, 15 deletions
diff --git a/app/src/main/res/layout/fragment_show_balance.xml b/app/src/main/res/layout/fragment_show_balance.xml
index 8fc483b..af003eb 100644
--- a/app/src/main/res/layout/fragment_show_balance.xml
+++ b/app/src/main/res/layout/fragment_show_balance.xml
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of GNU Taler
~ (C) 2020 Taler Systems S.A.
~
@@ -15,8 +14,7 @@
~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
-->
-<androidx.core.widget.NestedScrollView
- xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -30,47 +28,49 @@
<View
android:id="@+id/header"
android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ android:layout_height="wrap_content" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_balances"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:scrollbars="vertical"/>
+ android:scrollbars="vertical" />
<TextView
android:id="@+id/list_balances_placeholder"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:text="There is no digital cash in your wallet."
- tools:visibility="gone"/>
+ android:text="@string/balance_no_cash"
+ tools:visibility="gone" />
- <Space android:layout_width="match_parent" android:layout_height="20dp"/>
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20dp" />
<Button
- android:text="Withdraw TESTKUDOS"
+ android:id="@+id/button_withdraw_testkudos"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:id="@+id/button_withdraw_testkudos"/>
+ android:text="@string/withdraw_button_testkudos" />
<Button
- android:text="Scan Taler QR Code"
+ android:id="@+id/button_pay_qr"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:id="@+id/button_pay_qr"/>
+ android:text="@string/button_scan_qr_code" />
<TextView
android:id="@+id/pending_operations_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="Pending Operations:" />
+ android:text="@string/pending_operations_label" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_pending"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:scrollbars="vertical"/>
+ android:scrollbars="vertical" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>