gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-android] branch master updated: [wallet] Show text on float


From: gnunet
Subject: [taler-taler-android] branch master updated: [wallet] Show text on floating scan action button
Date: Tue, 11 Apr 2023 17:38:42 +0200

This is an automated email from the git hooks/post-receive script.

torsten-grote pushed a commit to branch master
in repository taler-android.

The following commit(s) were added to refs/heads/master by this push:
     new d9985f0  [wallet] Show text on floating scan action button
d9985f0 is described below

commit d9985f0db0c8c603a6814b332328b43b97d1d367
Author: Torsten Grote <t@grobox.de>
AuthorDate: Tue Apr 11 12:38:36 2023 -0300

    [wallet] Show text on floating scan action button
    
    hide on scroll behavior still needs to be fixed for multi currency mode
---
 wallet/src/main/res/layout/fragment_main.xml         | 5 +++--
 wallet/src/main/res/layout/fragment_transactions.xml | 5 +++--
 wallet/src/main/res/values/strings.xml               | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/wallet/src/main/res/layout/fragment_main.xml 
b/wallet/src/main/res/layout/fragment_main.xml
index 3f680ba..6f9e693 100644
--- a/wallet/src/main/res/layout/fragment_main.xml
+++ b/wallet/src/main/res/layout/fragment_main.xml
@@ -23,13 +23,14 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent" />
 
-    <com.google.android.material.floatingactionbutton.FloatingActionButton
+    
<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:src="@drawable/ic_scan_qr"
+        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
index 00bde32..8fa46f5 100644
--- a/wallet/src/main/res/layout/fragment_transactions.xml
+++ b/wallet/src/main/res/layout/fragment_transactions.xml
@@ -131,13 +131,14 @@
         app:layout_constraintTop_toBottomOf="@+id/divider"
         tools:visibility="visible" />
 
-    <com.google.android.material.floatingactionbutton.FloatingActionButton
+    
<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:src="@drawable/ic_scan_qr"
+        android:text="@string/button_scan_qr_code_label"
+        app:icon="@drawable/ic_scan_qr"
         
app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toEndOf="parent" />
diff --git a/wallet/src/main/res/values/strings.xml 
b/wallet/src/main/res/values/strings.xml
index cc0a31c..1a16a69 100644
--- a/wallet/src/main/res/values/strings.xml
+++ b/wallet/src/main/res/values/strings.xml
@@ -44,6 +44,7 @@ GNU Taler is immune against many types of fraud, such as 
phishing of credit card
 
     <string name="button_back">Go Back</string>
     <string name="button_scan_qr_code">Scan Taler QR Code</string>
+    <string name="button_scan_qr_code_label">Scan QR code</string>
     <string name="enter_uri">Enter Taler URI</string>
     <string name="copy" tools:override="true">Copy</string>
     <string name="copy_uri">Copy Taler URI</string>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]