ntvinhdev / P5-MyToDoApp

Homework Project 1 at P5
0 stars 0 forks source link

[Android Training] Simple To Do App - Completed #1

Open ntvinhdev opened 8 years ago

ntvinhdev commented 8 years ago

Hi /cc @vuminhkhang1995, I have already completed my Simple To Do App. Please give me a review. I found that I forgot a lot in SQL, Anyway, processing in SQL is better than file, so that now I take time to learn it again to switch from using file to SQL.
Thank you.

minhkhang1795 commented 8 years ago

Hi,

Thank you for your submission

In general

Details & Suggestions:

<?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="8dp"
    android:orientation="vertical">

    <TextView
        android:id="@+id/text_task_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:padding="8dp"
        android:text="Task Name"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:textColor="@color/colorText" />

    <TextView
        android:id="@+id/text_task_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:padding="4dp"
        android:text="MMM DD, YYYY"
        android:textStyle="italic" />

    <TextView
        android:id="@+id/text_task_priority"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:layout_below="@+id/text_task_date"
        android:padding="4dp"
        android:text="PRIORITY"
        android:textAllCaps="true"
        android:textStyle="bold" />

</RelativeLayout>
ntvinhdev commented 8 years ago

Thanks for your detailed review. I changed from using text-file storage to SQL storage. Everything works well now.