* add activity tab empty placeholder strings * add activity layout * - Fix passing the required network than using default - add keyrings helper method * - #30277, #24384: use correct network for transaction and amounts - add keyring helper method and clean up * add activity tab title * add transaction fragment * add transaction fragment * add transaction fragment * show approve dialog and clean up * update string to reuse * create tx details UI and flow * show empty activity list message * - show tx details - formatting * - add progress bar - optimize flow * clean-up * updates per review * update empty tx list message * rebase master and update * implement shimmer loading * fix after pulling master * clean-up
67 lines
2.9 KiB
XML
67 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/wallet_bg"
|
|
android:fillViewport="true">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<org.chromium.chrome.browser.app.shimmer.ShimmerFrameLayout
|
|
android:id="@+id/frag_tx_shimmer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:shimmer_auto_start="false">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_shimmer_items"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" />
|
|
</org.chromium.chrome.browser.app.shimmer.ShimmerFrameLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/frag_tx_rv_transactions"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:visibility="gone"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/frag_tx_empty_label"
|
|
style="@style/BraveWalletTextViewTitle"
|
|
android:layout_marginTop="54dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:gravity="center"
|
|
android:text="@string/brave_wallet_no_transactions_yet"
|
|
android:textSize="16sp"
|
|
android:visibility="gone"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/frag_tx_empty_desc"
|
|
style="@style/BraveWalletTextView"
|
|
android:layout_marginTop="54dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:gravity="center"
|
|
android:text="@string/brave_wallet_no_transactions_yet_description"
|
|
android:visibility="gone"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/frag_tx_empty_label" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|