diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ddb6c43..7b37e29 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -46,6 +46,13 @@
android:name=".MyFoodsActivity"
android:screenOrientation="portrait" >
+
+
\ No newline at end of file
diff --git a/libs/db4o-8.0.184.15484-all-java5.jar b/libs/db4o-8.0.184.15484-all-java5.jar
new file mode 100644
index 0000000..4aa2cd7
Binary files /dev/null and b/libs/db4o-8.0.184.15484-all-java5.jar differ
diff --git a/res/layout/my_foods_add_activity.xml b/res/layout/my_foods_add_activity.xml
new file mode 100644
index 0000000..99bbebb
--- /dev/null
+++ b/res/layout/my_foods_add_activity.xml
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/layout/my_foods_list_item.xml b/res/layout/my_foods_list_item.xml
index 415aca4..fb0090f 100644
--- a/res/layout/my_foods_list_item.xml
+++ b/res/layout/my_foods_list_item.xml
@@ -22,6 +22,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
+ android:layout_marginLeft="4dp"
android:layout_below="@id/TV_food_list_item_name"
android:text="@string/my_foods_list_item_kCal_label"
android:textSize="12sp"
@@ -31,6 +32,7 @@
android:id="@+id/TV_food_list_item_kCal_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_kCal_label"
android:layout_toLeftOf="@id/TV_food_list_item_kCal_label"
android:layout_below="@id/TV_food_list_item_name"
android:lines="1"
@@ -43,6 +45,7 @@
android:id="@+id/TV_food_list_item_serving_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_kCal_label"
android:layout_alignParentLeft="true"
android:layout_toLeftOf="@id/TV_food_list_item_kCal_value"
android:layout_below="@id/TV_food_list_item_name"
@@ -65,6 +68,9 @@
android:id="@+id/TV_food_list_item_protein_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_protein_value"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="4dp"
android:layout_toRightOf="@id/TV_food_list_item_protein_value"
android:layout_below="@id/TV_food_list_item_serving_size"
android:text="@string/my_foods_list_item_protein_label"
@@ -74,6 +80,7 @@
android:id="@+id/TV_food_list_item_carbs_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_protein_value"
android:layout_toRightOf="@id/TV_food_list_item_protein_label"
android:layout_below="@id/TV_food_list_item_serving_size"
android:text="1000"
@@ -84,6 +91,9 @@
android:id="@+id/TV_food_list_item_carbs_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_protein_value"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="4dp"
android:layout_toRightOf="@id/TV_food_list_item_carbs_value"
android:layout_below="@id/TV_food_list_item_serving_size"
android:text="@string/my_foods_list_item_carbs_label"
@@ -93,6 +103,7 @@
android:id="@+id/TV_food_list_item_fat_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_protein_value"
android:layout_toRightOf="@id/TV_food_list_item_carbs_label"
android:layout_below="@id/TV_food_list_item_serving_size"
android:text="9001"
@@ -103,6 +114,8 @@
android:id="@+id/TV_food_list_item_fat_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/TV_food_list_item_protein_value"
+ android:layout_marginLeft="4dp"
android:layout_toRightOf="@id/TV_food_list_item_fat_value"
android:layout_below="@id/TV_food_list_item_serving_size"
android:text="@string/my_foods_list_item_fat_label"
diff --git a/res/raw/default_foods.txt b/res/raw/default_foods.txt
index b6acbf6..aaf813c 100644
--- a/res/raw/default_foods.txt
+++ b/res/raw/default_foods.txt
@@ -46,3 +46,4 @@ Mixed vegetables
3
13
0
+
diff --git a/res/values/strings.xml b/res/values/strings.xml
index aecb6a9..c5e0391 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6,17 +6,22 @@
carbs
deficit
fat
+ grams
kCal
kCal/day
kCal/g
protein
Add
+ Add Food
Cancel
Import
Macros
Macro Conversions
Measurements
My Foods
+ Name
+ Save
+ Serving Size
Set
Your macros have been saved!
Today
@@ -24,10 +29,10 @@
My Foods
My Macros
Settings/Info/FAQ
- kCal
- g protein,
- g carbs,
- g fat
+ kCal
+ g protein,
+ g carbs,
+ g fat
Calculate my macros!
I know my macros!
You have not inputted or calculated your macros. Please select one of the buttons below to do so.
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 662b1e7..0af4a19 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -1,6 +1,10 @@
+
+