Permalink
Browse files

UI of the todo list app seems to be ready now.

  • Loading branch information...
1 parent 0ef03ef commit 95d87ebb30ea6779528376a5318e10642e557edc @jaydeepw committed Jan 5, 2013
Showing with 35 additions and 91 deletions.
  1. +5 −0 .gitignore
  2. +0 −27 Android/Beginner/Demos/SQLOperationsCheatsheet/bin/AndroidManifest.xml
  3. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/SQLOperationsCheatsheet.apk
  4. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/TodoListCheatsheet.apk
  5. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/classes.dex
  6. BIN ...r/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/BuildConfig.class
  7. BIN .../Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/MainActivity.class
  8. BIN ...ginner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$attr.class
  9. BIN ...er/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$drawable.class
  10. BIN ...Beginner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$id.class
  11. BIN ...nner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$layout.class
  12. BIN ...ginner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$menu.class
  13. BIN ...nner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$string.class
  14. BIN ...inner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R$style.class
  15. BIN ...id/Beginner/Demos/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/R.class
  16. BIN ...os/SQLOperationsCheatsheet/bin/classes/com/example/sqloperationscheatsheet/TodoSQLiteHelper.class
  17. BIN ...mos/SQLOperationsCheatsheet/bin/dexedLibs/android-support-v4-77affe374a0296cd57303cf911343721.jar
  18. BIN ...nner/Demos/SQLOperationsCheatsheet/bin/dexedLibs/annotations-adc37f8b464cfffe585e57e3ede6e67a.jar
  19. +0 −3 Android/Beginner/Demos/SQLOperationsCheatsheet/bin/jarlist.cache
  20. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/res/drawable-hdpi/ic_launcher.png
  21. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/res/drawable-mdpi/ic_launcher.png
  22. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/res/drawable-xhdpi/ic_launcher.png
  23. BIN Android/Beginner/Demos/SQLOperationsCheatsheet/bin/resources.ap_
  24. +0 −6 ...d/Beginner/Demos/SQLOperationsCheatsheet/gen/com/example/sqloperationscheatsheet/BuildConfig.java
  25. +0 −48 Android/Beginner/Demos/SQLOperationsCheatsheet/gen/com/example/sqloperationscheatsheet/R.java
  26. +29 −4 Android/Beginner/Demos/SQLOperationsCheatsheet/res/layout/main.xml
  27. +1 −1 Android/Beginner/Demos/SQLOperationsCheatsheet/res/values/strings.xml
  28. +0 −2 .../Beginner/Demos/SQLOperationsCheatsheet/src/com/example/sqloperationscheatsheet/MainActivity.java
View
@@ -0,0 +1,5 @@
+Android/Beginner/Demos/SQLOperationsCheatsheet/bin/*
+Android/Beginner/Demos/SQLOperationsCheatsheet/gen/*
+
+Android/Beginner/Demos/MovieFinderCheatsheet/gen/*
+Android/Beginner/Demos/MovieFinderCheatsheet/bin/*
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.sqloperationscheatsheet"
- android:versionCode="1"
- android:versionName="1.0" >
-
- <uses-sdk
- android:minSdkVersion="10"
- android:targetSdkVersion="10" />
-
- <application
- android:allowBackup="true"
- android:icon="@drawable/ic_launcher"
- android:label="@string/app_name"
- android:theme="@style/AppTheme" >
- <activity
- android:name="com.example.sqloperationscheatsheet.MainActivity"
- android:label="@string/app_name" >
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
-
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
- </application>
-
-</manifest>
Binary file not shown.
@@ -1,3 +0,0 @@
-# cache for current jar dependecy. DO NOT EDIT.
-# format is <lastModified> <length> <SHA-1> <path>
-# Encoding is UTF-8
@@ -1,6 +0,0 @@
-/** Automatically generated file. DO NOT MODIFY */
-package com.example.sqloperationscheatsheet;
-
-public final class BuildConfig {
- public final static boolean DEBUG = true;
-}
@@ -1,48 +0,0 @@
-/* AUTO-GENERATED FILE. DO NOT MODIFY.
- *
- * This class was automatically generated by the
- * aapt tool from the resource data it found. It
- * should not be modified by hand.
- */
-
-package com.example.sqloperationscheatsheet;
-
-public final class R {
- public static final class attr {
- }
- public static final class drawable {
- public static final int ic_launcher=0x7f020000;
- }
- public static final class id {
- public static final int menu_settings=0x7f070001;
- public static final int todo_list=0x7f070000;
- }
- public static final class layout {
- public static final int main=0x7f030000;
- }
- public static final class menu {
- public static final int main=0x7f060000;
- }
- public static final class string {
- public static final int app_name=0x7f040000;
- public static final int hello_world=0x7f040001;
- public static final int menu_settings=0x7f040002;
- }
- public static final class style {
- /**
- Base application theme, dependent on API level. This theme is replaced
- by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-
-
- Theme customizations available in newer API levels can go in
- res/values-vXX/styles.xml, while customizations related to
- backward-compatibility can go here.
-
- */
- public static final int AppBaseTheme=0x7f050000;
- /** Application theme.
- All customizations that are NOT specific to a particular API-level can go here.
- */
- public static final int AppTheme=0x7f050001;
- }
-}
@@ -1,12 +1,37 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
- android:layout_height="fill_parent" >
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
<LinearLayout
- android:id="@+id/todo_list"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <EditText
+ android:id="@+id/todo_item"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:hint="Add item here" />
+
+ <Button
+ android:id="@+id/todo_add"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="4"
+ android:text="Add" />
</LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/todo_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical">
+ <TextView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="List items" />
+ </LinearLayout>
</LinearLayout>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name">SQLOperationsCheatsheet</string>
+ <string name="app_name">TodoListCheatsheet</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
@@ -13,8 +13,6 @@
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
-
- Log.i(TAG, "#onCreate this is working.");
}
}

0 comments on commit 95d87eb

Please sign in to comment.