Added Android code
[wl-app.git] / Android / folioreader / res / layout / dialog_edit_notes.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     android:layout_width="290dp"
5     android:layout_height="250dp"
6     android:gravity="center"
7     android:background="@android:color/transparent"
8     android:orientation="vertical">
9     <RelativeLayout
10         android:layout_width="290dp"
11         android:layout_height="250dp"
12         android:padding="10dp"
13         android:background="@color/white">
14         <TextView
15             android:id="@+id/lbl_heading"
16             android:layout_width="wrap_content"
17             android:layout_height="wrap_content"
18             android:layout_centerHorizontal="true"
19             android:text="@string/edit_notes"
20             android:textSize="23sp" />
21         <EditText
22             android:id="@+id/edit_note"
23             android:layout_width="match_parent"
24             android:layout_height="wrap_content"
25             android:lines="5"
26             android:gravity="start"
27             android:layout_below="@id/lbl_heading"
28             android:inputType="textMultiLine"
29             android:scrollbars="vertical"
30             android:layout_marginTop="16dp"
31             android:background="@drawable/note_edittext_background"
32             android:padding="10dp"
33             android:textColor="@android:color/black" />
34         <Button
35             android:id="@+id/btn_save_note"
36             android:layout_width="match_parent"
37             android:layout_height="wrap_content"
38             android:layout_below="@id/edit_note"
39             android:layout_marginTop="8dp"
40             android:text="@string/save_note"
41             android:textColor="@android:color/white"
42             android:background="@color/app_green"
43             android:textAllCaps="false"
44             android:textSize="16sp" />
45     </RelativeLayout>
46 </RelativeLayout>