crystal-wallet-android/app/src/main/res/layout/fragment_transactions.xml
Severiano Jaramillo ed7dc5424e - Simplified TransactionsFragment view hierarchy and removed unused files.
- Improved TextViews that appear in both Contacts and Transactions when there are no items to display.
- Cleaned some unused code in different parts of the app.
2018-10-15 16:51:48 -05:00

57 lines
2.3 KiB
XML

<android.support.constraint.ConstraintLayout 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"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="cy.agorise.crystalwallet.fragments.TransactionsFragment">
<RelativeLayout
android:id="@+id/rlTransactionToolsHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<EditText
android:id="@+id/etTransactionSearch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/btnTransactionsFilterDisplay" />
<Button
android:id="@+id/btnTransactionsFilterDisplay"
android:layout_width="40dip"
android:layout_height="40dip"
android:layout_alignParentTop="true"
android:layout_toStartOf="@+id/spTransactionsOrder"
android:visibility="gone" />
<Spinner
android:id="@+id/spTransactionsOrder"
android:layout_width="40dip"
android:layout_height="40dip"
android:layout_alignParentEnd="true"
android:background="@drawable/sort_transactions_icon"/>
</RelativeLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/rvTransactions"
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="4dp"
android:clipToPadding="false"
app:layout_constraintTop_toBottomOf="@id/rlTransactionToolsHeader"
app:layout_constraintBottom_toBottomOf="parent"
tools:listitem="@layout/transaction_list_item" />
<TextView
android:id="@+id/tvNoTransactions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/You_dont_have_transactions"
android:textColor="@color/gray"
android:textSize="15sp"
android:textAlignment="center"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
</android.support.constraint.ConstraintLayout>