]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/no_profiles.xml
migrate to AndroidX
[mobile-ledger.git] / app / src / main / res / layout / no_profiles.xml
index 7be276856df0cce95e8d4808ccdac068fa34723d..97b47726443ed51b97065cc176e4a6b65018a119 100644 (file)
   ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
   -->
 
-<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     android:id="@+id/no_profiles_layout"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/colorPrimaryDark"
-    tools:showIn="@layout/activity_main">
+    android:background="?table_row_dark_bg"
+    >
 
     <TextView
         android:id="@+id/textView"
@@ -31,6 +31,7 @@
         android:layout_marginTop="48dp"
         android:text="@string/text_welcome"
         android:textSize="52sp"
+        android:textColor="?textColor"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toTopOf="parent" />
@@ -44,6 +45,7 @@
         android:layout_marginEnd="8dp"
         android:text="@string/text_welcome_profile_needed"
         android:textSize="20sp"
+        android:textColor="?textColor"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/textView" />
         android:layout_marginTop="24dp"
         android:layout_marginEnd="8dp"
         android:layout_marginBottom="8dp"
-        android:backgroundTint="@color/colorPrimary"
+        android:backgroundTint="?colorAccent"
         android:drawablePadding="16dp"
         android:text="@string/create_profile_label"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/textView3" />
-</android.support.constraint.ConstraintLayout>
\ No newline at end of file
+</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file