-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnearby_places_custom.xml
29 lines (27 loc) · 1.06 KB
/
nearby_places_custom.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/place_image"
android:layout_width="180dp"
android:layout_height="160dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="10dp"
android:layout_marginTop="10dp"
app:srcCompat="@color/colorPrimaryDark" />
<TextView
android:id="@+id/tvName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@+id/place_image"
android:layout_below="@+id/place_image"
android:layout_marginTop="10dp"
android:text="Radisson"
android:textStyle="bold"
android:textSize="20sp"
android:textColor="@android:color/black"/>
</RelativeLayout>