aboutsummaryrefslogtreecommitdiff
blob: 3aea7966f881bc8408f166510d681345bea71645 (plain)
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
<?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"
    android:padding="8dp">

    <ImageView
        android:id="@+id/oli_photo"
        app:srcCompat="@drawable/ic_launcher_background"
        android:layout_width="60dp"
        android:layout_height="60dp" />

    <TextView
        android:id="@+id/oli_name"
        android:text="Bird name"
        android:textSize="20sp"
        android:layout_marginTop="8dp"
        android:maxLines="1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_toRightOf="@+id/oli_photo"
        android:layout_toEndOf="@+id/oli_photo"
        android:layout_marginLeft="12dp"
        android:layout_marginStart="12dp" />

    <TextView
        android:id="@+id/oli_date"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignLeft="@+id/oli_name"
        android:layout_alignStart="@+id/oli_name"
        android:layout_below="@+id/oli_name"
        android:maxLines="1"
        android:text="Date"
        android:textSize="14sp" />



</RelativeLayout>