-
Notifications
You must be signed in to change notification settings - Fork 97
/
category_card.xml
61 lines (53 loc) · 2.29 KB
/
category_card.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView 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"
style="@style/CardViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="@color/twenty_percent_transparency_black">
<com.etiennelawlor.loop.ui.DynamicHeightImageView
android:id="@+id/thumbnail_iv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_gravity="center"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:background="@color/fifty_percent_transparency_white" />
<com.etiennelawlor.loop.ui.CustomFontTextView
android:id="@+id/title_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:gravity="center"
android:shadowColor="@color/ninty_five_percent_transparency_black"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="8"
android:textAllCaps="true"
android:textColor="@color/primary_text_light"
android:textSize="16sp"
tools:text="@string/comedy"
app:textFont="ubuntu_bold"/>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp"
android:background="@color/fifty_percent_transparency_white" />
</LinearLayout>
</android.support.v7.widget.CardView>