Skip to content

Commit cca5186

Browse files
committed
Added sample for small content and overlay
1 parent 57d986d commit cca5186

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sample/src/main/res/layout/item_tourist_spot_card.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xmlns:app="http://schemas.android.com/apk/res-auto"
66
xmlns:card_view="http://schemas.android.com/apk/res-auto"
77
android:layout_width="match_parent"
8-
android:layout_height="match_parent"
8+
android:layout_height="400dp"
99
app:cardUseCompatPadding="true"
1010
card_view:cardCornerRadius="8dp"
1111
card_view:cardBackgroundColor="@android:color/white">

sample/src/main/res/layout/overlay_left.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:app="http://schemas.android.com/apk/res-auto"
66
android:layout_width="match_parent"
7-
android:layout_height="match_parent"
7+
android:layout_height="400dp"
88
app:cardBackgroundColor="#88000000"
99
app:cardCornerRadius="8dp"
1010
app:cardElevation="0dp"

sample/src/main/res/layout/overlay_right.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:android="http://schemas.android.com/apk/res/android"
55
xmlns:app="http://schemas.android.com/apk/res-auto"
66
android:layout_width="match_parent"
7-
android:layout_height="match_parent"
7+
android:layout_height="400dp"
88
app:cardBackgroundColor="#88000000"
99
app:cardCornerRadius="8dp"
1010
app:cardElevation="0dp"

sample/src/main/res/layout/overlay_top.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
xmlns:app="http://schemas.android.com/apk/res-auto"
55
android:layout_width="match_parent"
6-
android:layout_height="match_parent"
6+
android:layout_height="400dp"
77
app:cardBackgroundColor="#88000000"
88
app:cardCornerRadius="8dp"
99
app:cardElevation="0dp"

0 commit comments

Comments
 (0)