]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_main.xml
add missiing accessibility hint
[mobile-ledger.git] / app / src / main / res / layout / activity_main.xml
index 8e14e9a24670686accf6367e2df0855ecdf7e585..625a3af21f214acbca51754a33135223f20df9e5 100644 (file)
             android:layout_width="match_parent"
             android:layout_height="match_parent">
 
+            <include layout="@layout/loading" />
+
             <androidx.constraintlayout.widget.ConstraintLayout
+                android:visibility="gone"
                 android:id="@+id/pager_layout"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent">
@@ -52,9 +55,9 @@
                     android:layout_gravity="bottom|end"
                     android:layout_margin="@dimen/fab_margin"
                     app:backgroundTint="?colorAccent"
-                    app:maxImageSize="36dp"
                     app:layout_constraintBottom_toBottomOf="parent"
                     app:layout_constraintEnd_toEndOf="parent"
+                    app:maxImageSize="36dp"
                     app:srcCompat="@drawable/ic_add_white_24dp" />
 
                 <LinearLayout
@@ -62,7 +65,6 @@
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:orientation="vertical"
-                    android:theme="@style/AppTheme"
                     app:layout_constraintEnd_toEndOf="parent"
                     app:layout_constraintStart_toStartOf="parent"
                     app:layout_constraintTop_toTopOf="parent">
@@ -72,6 +74,7 @@
                         android:layout_width="match_parent"
                         android:layout_height="match_parent"
                         android:orientation="horizontal"
+                        android:theme="@style/ThemeOverlay.AppCompat.Light"
                         android:visibility="gone">
 
                         <TextView
@@ -82,6 +85,8 @@
                         <AutoCompleteTextView
                             android:id="@+id/transaction_filter_account_name"
                             android:layout_width="0dp"
+                            android:textColor="?textColor"
+                            android:hint="@string/new_transaction_account_hint"
                             android:layout_height="wrap_content"
                             android:layout_weight="1" />
 
                     android:id="@+id/root_frame"
                     android:layout_width="match_parent"
                     android:layout_height="0dp"
-                    app:layout_behavior="@string/appbar_scrolling_view_behavior"
                     app:layout_constraintBottom_toBottomOf="parent"
                     app:layout_constraintTop_toBottomOf="@+id/main_header">