Start building the theme fragment

This commit is contained in:
Finn M Glas 2020-05-22 18:03:37 +02:00
parent 16c180a725
commit 664e0a037e
No known key found for this signature in database
GPG key ID: 25037A2E81AB459C
4 changed files with 57 additions and 14 deletions

View file

@ -19,4 +19,43 @@
android:textAllCaps="false" /-->
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10sp"
android:theme="@style/finnmglasTheme">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorAccent">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Activate"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10sp"
android:theme="@style/darkTheme">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorAccent">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Activate"
app:layout_constraintEnd_toEndOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>