Show preview of theme in settings

This commit is contained in:
Moez Bhatti
2018-04-09 16:52:12 -04:00
parent a8b73b71e6
commit 0448348d90
5 changed files with 28 additions and 1 deletions
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingStart="8dp"
android:paddingEnd="8dp">
<View
android:id="@+id/themePreview"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center"
android:background="@drawable/circle"
tools:backgroundTint="@color/tools_theme" />
</FrameLayout>