]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_main.xml
use colors by reference (makes the theme-aware) and reduce redundant colors
[mobile-ledger.git] / app / src / main / res / layout / activity_main.xml
index a1782e14de434f9b6636cd343a72438f5eeadb7b..9c0fb62b26beae7b2365ccef7f83b58be00c3087 100644 (file)
@@ -27,7 +27,7 @@
         android:id="@+id/toolbar"
         android:layout_width="match_parent"
         android:layout_height="?attr/actionBarSize"
-        android:background="@color/colorPrimary"
+        android:background="?colorPrimary"
         app:popupTheme="@style/AppTheme.PopupOverlay" />
 
     <android.support.v4.widget.DrawerLayout
@@ -51,7 +51,7 @@
                     android:layout_height="wrap_content"
                     android:layout_gravity="bottom|end"
                     android:layout_margin="@dimen/fab_margin"
-                    app:backgroundTint="@color/colorAccent"
+                    app:backgroundTint="?colorAccent"
                     app:layout_constraintBottom_toBottomOf="parent"
                     app:layout_constraintEnd_toEndOf="parent"
                     app:srcCompat="@drawable/svg_thick_plus_white" />
                             android:layout_weight="1"
                             android:indeterminate="true"
                             android:padding="0dp"
-                            android:progressTint="@color/colorPrimary"
+                            android:progressTint="?colorPrimary"
                             app:layout_constraintEnd_toEndOf="parent"
                             app:layout_constraintStart_toStartOf="parent" />