List_row.xml
"1.0"
encoding=
"utf-8"
?>
"http://schemas.android.com/apk/res/android"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
android:id=
"@+id/icon"
android:layout_width=
"30dp"
android:layout_height=
"40dp"
android:layout_marginLeft=
"4dp"
android:layout_marginRight=
"8dp"
android:layout_marginTop=
"8dp"
android:src=
"@drawable/ic_launcher"
>
android:id=
"@+id/label"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:textColor=
"@color/black"
android:textSize=
"30sp"
>
android:id=
"@+id/kun"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:textColor=
"@color/black"
android:textSize=
"15sp"
>
Edit_main.xml
"1.0"
encoding=
"utf-8"
?>
"http://schemas.android.com/apk/res/android"
57
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:background=
"@color/listcolor"
android:orientation=
"vertical"
>
android:id=
"@+id/category"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:entries=
"@array/priorities"
>
android:id=
"@+id/LinearLayout01"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
>
android:id=
"@+id/todo_edit_summary"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:hint=
"Кратко"
>
android:id=
"@+id/todo_edit_description"
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:layout_weight=
"1"
android:gravity=
"top"
android:hint=
"Berilishi"
>
android:id=
"@+id/todo_edit_button"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/todo_confirm"
>
Main.xml
"1.0"
encoding=
"utf-8"
?>
"http://schemas.android.com/apk/res/android"
android:layout_width=
"fill_parent"
android:layout_height=
"fill_parent"
android:background=
"@color/listcolor"
android:orientation=
"vertical"
>
android:id=
"@+id/Kunlar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:entries=
"@array/priorities"
/>
android:id=
"@android:id/list"
58
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
android:id=
"@android:id/empty"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"@string/no_todos"
/>
|