/
noteview.xml
33 lines (31 loc) · 1.15 KB
/
noteview.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10sp">
<TextView
android:layout_width="match_parent"
android:background="@android:color/black"
android:textColor="@android:color/white"
android:layout_height="wrap_content"
android:textSize="40sp"
android:textAlignment="center"
android:layout_centerHorizontal="true"
android:text="World"
android:id="@id/noteTitleView"/>
<ImageView
android:layout_width="40sp"
android:layout_height="40sp"
android:layout_marginRight="10sp"
android:id="@id/deleteNoteImage"
android:layout_alignParentEnd="true"
android:layout_marginTop="5dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="hello"
android:textSize="30sp"
android:id="@id/noteDescriptionView"
android:paddingLeft="5sp"
android:layout_marginTop="50sp"/>
</RelativeLayout>