taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

fragment_exchange_list.xml (2676B)


      1 <?xml version="1.0" encoding="utf-8"?><!--
      2   ~ This file is part of GNU Taler
      3   ~ (C) 2020 Taler Systems S.A.
      4   ~
      5   ~ GNU Taler is free software; you can redistribute it and/or modify it under the
      6   ~ terms of the GNU General Public License as published by the Free Software
      7   ~ Foundation; either version 3, or (at your option) any later version.
      8   ~
      9   ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
     10   ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     11   ~ A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12   ~
     13   ~ You should have received a copy of the GNU General Public License along with
     14   ~ GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15   -->
     16 
     17 <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     xmlns:app="http://schemas.android.com/apk/res-auto"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent">
     22 
     23     <androidx.recyclerview.widget.RecyclerView
     24         android:id="@+id/list"
     25         android:layout_width="match_parent"
     26         android:layout_height="match_parent"
     27         android:scrollbars="vertical"
     28         android:visibility="invisible"
     29         android:clipToPadding="false"
     30         app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
     31         tools:listitem="@layout/list_item_exchange"
     32         tools:visibility="visible" />
     33 
     34     <TextView
     35         android:id="@+id/emptyState"
     36         android:layout_width="wrap_content"
     37         android:layout_height="wrap_content"
     38         android:layout_gravity="center"
     39         android:gravity="center"
     40         android:text="@string/exchange_list_empty"
     41         android:visibility="invisible"
     42         tools:visibility="visible" />
     43 
     44     <ProgressBar
     45         android:id="@+id/progressBar"
     46         style="?android:progressBarStyleLarge"
     47         android:layout_width="wrap_content"
     48         android:layout_height="wrap_content"
     49         android:layout_gravity="center"
     50         android:visibility="invisible"
     51         tools:visibility="visible" />
     52 
     53     <com.google.android.material.floatingactionbutton.FloatingActionButton
     54         android:id="@+id/addExchangeFab"
     55         style="@style/FabStyle"
     56         android:layout_width="wrap_content"
     57         android:layout_height="wrap_content"
     58         android:contentDescription="@string/exchange_list_add"
     59         android:src="@drawable/ic_baseline_add"
     60         app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" />
     61 
     62 </androidx.coordinatorlayout.widget.CoordinatorLayout>