android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
- app:backgroundTint="?colorAccent"
+ app:backgroundTint="?colorSecondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:maxImageSize="36dp"
- app:srcCompat="@drawable/ic_add_white_24dp" />
+ app:srcCompat="@drawable/ic_add_white_24dp"
+ android:contentDescription="@string/new_transaction_fab_description"
+ />
<androidx.drawerlayout.widget.DrawerLayout
android:id="@+id/drawer_layout"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/toolbar">
- <LinearLayout
- android:id="@+id/transactions_last_update_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:elevation="24dp"
- android:orientation="horizontal">
-
- <TextView
- android:id="@+id/transaction_last_update_label"
- android:textAppearance="@android:style/TextAppearance.Material.Small"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingStart="8dp"
- android:paddingEnd="8dp"
- android:text="@string/transactions_last_update_label"
- />
-
- <TextView
- android:id="@+id/transactions_last_update"
- android:textAppearance="@android:style/TextAppearance.Material.Small"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="\?"
- tools:ignore="HardcodedText" />
- </LinearLayout>
-
<LinearLayout
android:id="@+id/transaction_progress_layout"
android:layout_width="match_parent"
android:layout_weight="1"
android:indeterminate="true"
android:padding="0dp"
+ android:min="0"
android:progressTint="?colorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
android:background="@drawable/ic_clear_accent_24dp"
android:clickable="true"
android:focusable="true"
- android:onClick="onStopTransactionRefreshClick" />
+ />
</LinearLayout>
</LinearLayout>
- <androidx.viewpager.widget.ViewPager
+ <androidx.viewpager2.widget.ViewPager2
android:id="@+id/root_frame"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/main_header">
- </androidx.viewpager.widget.ViewPager>
+ </androidx.viewpager2.widget.ViewPager2>
<View
android:layout_width="0dp"
- android:layout_height="4dp"
+ android:layout_height="?attr/main_header_shadow_height"
android:background="@drawable/drop_shadow"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"