Skip to content

Commit 71f1d1d

Browse files
committed
Add android layout
1 parent 815b68d commit 71f1d1d

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<layout xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
5+
xmlns:tools="http://schemas.android.com/tools"
6+
tools:ignore="HardcodedText">
7+
8+
<data>
9+
10+
<!--ENTITY_VARIABLE-->
11+
</data>
12+
13+
<!-- Generated with list form template named "Simple Collection" -->
14+
15+
<androidx.constraintlayout.widget.ConstraintLayout
16+
android:layout_width="match_parent"
17+
android:layout_height="200dp"
18+
android:layout_margin="4dp">
19+
20+
<!-- START EDITING HERE -->
21+
22+
<ImageView
23+
android:id="@+id/__SPECIFIC_ID_1__"
24+
android:layout_width="0dp"
25+
android:layout_height="0dp"
26+
android:contentDescription="Image"
27+
android:scaleType="centerCrop"
28+
app:imageUrl="__IMAGE_1__"
29+
app:layout_constraintBottom_toBottomOf="parent"
30+
app:layout_constraintEnd_toEndOf="parent"
31+
app:layout_constraintStart_toStartOf="parent"
32+
app:layout_constraintTop_toTopOf="parent"
33+
tools:background="@tools:sample/avatars" />
34+
35+
<TextView
36+
android:id="@+id/__SPECIFIC_ID_2__"
37+
android:layout_width="0dp"
38+
android:layout_height="wrap_content"
39+
android:layout_marginStart="8dp"
40+
android:layout_marginTop="8dp"
41+
android:layout_marginEnd="8dp"
42+
android:gravity="bottom"
43+
android:maxLines="2"
44+
android:scrollbars="none"
45+
android:text="__TEXT_2__"
46+
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
47+
android:textColor="@color/white"
48+
app:layout_constraintBottom_toTopOf="@+id/__SPECIFIC_ID_3__"
49+
app:layout_constraintEnd_toEndOf="@+id/__SPECIFIC_ID_1__"
50+
app:layout_constraintStart_toStartOf="@+id/__SPECIFIC_ID_1__"
51+
tools:text="My field 2" />
52+
53+
<TextView
54+
android:id="@+id/__SPECIFIC_ID_3__"
55+
android:layout_width="0dp"
56+
android:layout_height="wrap_content"
57+
android:layout_marginStart="8dp"
58+
android:layout_marginEnd="8dp"
59+
android:layout_marginBottom="8dp"
60+
android:maxLines="2"
61+
android:scrollbars="none"
62+
android:text="__TEXT_3__"
63+
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
64+
android:textColor="@color/white"
65+
app:layout_constraintBottom_toBottomOf="@+id/__SPECIFIC_ID_1__"
66+
app:layout_constraintEnd_toEndOf="@+id/__SPECIFIC_ID_1__"
67+
app:layout_constraintStart_toStartOf="@+id/__SPECIFIC_ID_1__"
68+
tools:text="My field 3" />
69+
70+
</androidx.constraintlayout.widget.ConstraintLayout>
71+
72+
</layout>

0 commit comments

Comments
 (0)