summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-03 14:42:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-03 14:42:32 +0100
commit80cd3c9d6d83798316a1222f3875d3a0e74ca278 (patch)
tree77bb114b1c47199d41d788c1e968c692eb07a727 /app/src/main/res/layout
parent87c1b63c4cf2b81963735feb0bce8b8f0b004dba (diff)
downloadwallet-android-80cd3c9d6d83798316a1222f3875d3a0e74ca278.tar.gz
wallet-android-80cd3c9d6d83798316a1222f3875d3a0e74ca278.tar.bz2
wallet-android-80cd3c9d6d83798316a1222f3875d3a0e74ca278.zip
UI tweaks
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_settings.xml4
-rw-r--r--app/src/main/res/layout/fragment_show_balance.xml13
-rw-r--r--app/src/main/res/layout/fragment_show_history.xml32
-rw-r--r--app/src/main/res/layout/history_row.xml15
-rw-r--r--app/src/main/res/layout/pending_row.xml15
5 files changed, 69 insertions, 10 deletions
diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml
index 5d9ac0a..a3aa93f 100644
--- a/app/src/main/res/layout/fragment_settings.xml
+++ b/app/src/main/res/layout/fragment_settings.xml
@@ -36,7 +36,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:text="0.6.0pre3 (Sat 02 Nov 2019)" />
+ android:text="0.6.0pre4 (Tue 03 Dec 2019)" />
</LinearLayout>
@@ -59,7 +59,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:text="0.6.0pre3 (Sat 02 Nov 2019, 70a2322940)" />
+ android:text="0.6.0pre4 (Tue 3 Dec 2019, 829acdd3d9)" />
</LinearLayout>
diff --git a/app/src/main/res/layout/fragment_show_balance.xml b/app/src/main/res/layout/fragment_show_balance.xml
index b93d2c2..57f9309 100644
--- a/app/src/main/res/layout/fragment_show_balance.xml
+++ b/app/src/main/res/layout/fragment_show_balance.xml
@@ -42,5 +42,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/button_pay_qr"/>
+
+ <TextView
+ android:id="@+id/pending_operations_label"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Pending Operations:" />
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/list_pending"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:scrollbars="vertical"/>
+
</LinearLayout>
</androidx.core.widget.NestedScrollView>
diff --git a/app/src/main/res/layout/fragment_show_history.xml b/app/src/main/res/layout/fragment_show_history.xml
index d730425..4ed11ac 100644
--- a/app/src/main/res/layout/fragment_show_history.xml
+++ b/app/src/main/res/layout/fragment_show_history.xml
@@ -1,13 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout 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"
- tools:context=".WalletHistory">
+<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"
+ android:layout_margin="15dp">
- <TextView
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:text="The history of wallet operations will eventually be shown here. Currently this feature isn't implemented, sorry!"/>
+ android:orientation="vertical">
-</FrameLayout> \ No newline at end of file
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/list_history"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:scrollbars="vertical"/>
+
+ <TextView
+ android:id="@+id/list_history_placeholder"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="The wallet history is empty"
+ tools:visibility="gone"/>
+ </LinearLayout>
+
+</androidx.core.widget.NestedScrollView> \ No newline at end of file
diff --git a/app/src/main/res/layout/history_row.xml b/app/src/main/res/layout/history_row.xml
new file mode 100644
index 0000000..864baa1
--- /dev/null
+++ b/app/src/main/res/layout/history_row.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/history_text"
+ android:textSize="24sp" tools:text="My History Event">
+ </TextView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/pending_row.xml b/app/src/main/res/layout/pending_row.xml
new file mode 100644
index 0000000..088ec99
--- /dev/null
+++ b/app/src/main/res/layout/pending_row.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/pending_text"
+ android:textSize="24sp" tools:text="My Pending Operation">
+ </TextView>
+
+</LinearLayout> \ No newline at end of file