diff options
Diffstat (limited to 'res/layout/font_card.xml')
-rw-r--r-- | res/layout/font_card.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/res/layout/font_card.xml b/res/layout/font_card.xml new file mode 100644 index 0000000..59f08ca --- /dev/null +++ b/res/layout/font_card.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.cyngn.theme.chooser.ComponentCardView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/font_preview_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/collapsed_font_card_margin_top" + android:orientation="vertical" + android:padding="0dp" + android:background="@drawable/theme_component_bg_transition"> + <TextView + android:id="@+id/label" + android:layout_width="match_parent" + android:layout_height="24dp" + android:visibility="gone" + android:text="@string/font_label" + style="@style/card_label"/> + <TextView + android:id="@+id/font_preview" + android:layout_width="match_parent" + android:layout_height="48dp" + android:layout_gravity="center" + android:text="@string/font_preview_letters" + android:textColor="@color/font_preview_color" + android:shadowColor="@color/font_preview_shadow_color" + android:shadowDx="2" + android:shadowDy="2" + android:shadowRadius="4" + android:textSize="40sp" + android:gravity="center" + /> +</com.cyngn.theme.chooser.ComponentCardView> |