diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-09-02 10:50:45 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-09-02 10:50:45 +0200 |
commit | 26228306686bb37c18a48b25eba59c354379150c (patch) | |
tree | ef21e7cddcb48d2a1554579b9255026ae83de33f /app/src/main/res/layout/fragment_merchant_history.xml | |
parent | d783859b7928566090c88be05c6cf3871de6fbf2 (diff) | |
download | merchant-terminal-android-26228306686bb37c18a48b25eba59c354379150c.tar.gz merchant-terminal-android-26228306686bb37c18a48b25eba59c354379150c.tar.bz2 merchant-terminal-android-26228306686bb37c18a48b25eba59c354379150c.zip |
implement backend settings
Diffstat (limited to 'app/src/main/res/layout/fragment_merchant_history.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_merchant_history.xml | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/app/src/main/res/layout/fragment_merchant_history.xml b/app/src/main/res/layout/fragment_merchant_history.xml index 92abdf7..abb757c 100644 --- a/app/src/main/res/layout/fragment_merchant_history.xml +++ b/app/src/main/res/layout/fragment_merchant_history.xml @@ -1,32 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.core.widget.NestedScrollView - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" +<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/swiperefresh" android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_margin="15dp"> + android:layout_height="match_parent"> - <LinearLayout + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/list_history" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical"> + android:scrollbars="vertical" /> - <View - android:id="@+id/header" - android:layout_width="match_parent" - android:layout_height="wrap_content"/> - - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/list_history" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:scrollbars="vertical" - android:layout_marginTop="47dp" android:layout_marginEnd="75dp" - android:layout_marginBottom="17dp"/> - - <Button - android:text="Button" - android:layout_width="match_parent" - android:layout_height="wrap_content" android:id="@+id/button2"/> - </LinearLayout> -</androidx.core.widget.NestedScrollView> +</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |