diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-03-02 12:08:46 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-11-10 17:40:55 +0100 |
commit | d1d4b77dccabb24d88cb3de78d6e9c374ddf5676 (patch) | |
tree | 213594b3435b002f2b92e99c6c833e82f360e236 /Android/05-UserInterface/UILab/res/layout/todo_item.xml | |
parent | 36280db96fe3e135b64e85365b346d387b5dba18 (diff) | |
download | coursera-d1d4b77dccabb24d88cb3de78d6e9c374ddf5676.zip coursera-d1d4b77dccabb24d88cb3de78d6e9c374ddf5676.tar.gz |
Android : 05-UserInterface: add
Diffstat (limited to 'Android/05-UserInterface/UILab/res/layout/todo_item.xml')
-rw-r--r-- | Android/05-UserInterface/UILab/res/layout/todo_item.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/Android/05-UserInterface/UILab/res/layout/todo_item.xml b/Android/05-UserInterface/UILab/res/layout/todo_item.xml new file mode 100644 index 0000000..44ef9fc --- /dev/null +++ b/Android/05-UserInterface/UILab/res/layout/todo_item.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/RelativeLayout1" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <TextView + android:id="@+id/titleView" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:textAppearance="?android:attr/textAppearanceLarge" > + </TextView> + + <TextView + android:id="@+id/StatusLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignBaseline="@+id/statusCheckBox" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:layout_marginTop="17dp" + android:text="@string/done_string" > + </TextView> + + <CheckBox + android:id="@+id/statusCheckBox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_marginTop="52dp" + android:layout_toRightOf="@+id/StatusLabel" > + </CheckBox> + + <TextView + android:id="@+id/PriorityLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignBaseline="@+id/statusCheckBox" + android:layout_alignTop="@+id/StatusLabel" + android:layout_toLeftOf="@+id/priorityView" + android:text="@string/priority_string" > + </TextView> + + <TextView + android:id="@+id/priorityView" + android:layout_width="50dip" + android:layout_height="wrap_content" + android:layout_alignBaseline="@+id/statusCheckBox" + android:layout_alignParentRight="true" + android:layout_alignTop="@+id/StatusLabel" > + </TextView> + + <TextView + android:id="@+id/DateLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_below="@+id/statusCheckBox" + android:text="@string/date_string" > + </TextView> + + <TextView + android:id="@+id/dateView" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignBaseline="@+id/DateLabel" + android:layout_toRightOf="@+id/DateLabel" > + </TextView> + +</RelativeLayout>
\ No newline at end of file |