Ver código fonte

Created basic create screen. Work in Progress.

Zachary Hatton 9 anos atrás
pai
commit
c585810c3e

+ 12 - 0
.idea/libraries/android_about_page_1_2_1.xml

@@ -0,0 +1,12 @@
+<component name="libraryTable">
+  <library name="android-about-page-1.2.1">
+    <CLASSES>
+      <root url="jar://$USER_HOME$/.android/build-cache/df96387f6fddcb50615fe4ab189ad9632000b4f5/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/df96387f6fddcb50615fe4ab189ad9632000b4f5/output/res" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES>
+      <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.github.medyo/android-about-page/1.2.1/8e85ecb490641219bc1c84ee726507396965b785/android-about-page-1.2.1-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>

+ 2 - 2
.idea/libraries/animated_vector_drawable_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="animated-vector-drawable-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/9ef508617706f05a4a39df5a69388aa022a0f719/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/9ef508617706f05a4a39df5a69388aa022a0f719/output/res" />
+      <root url="file://$USER_HOME$/.android/build-cache/bd7cabad640334ec59ff8f652d4ad3be0cbc6ca2/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/bd7cabad640334ec59ff8f652d4ad3be0cbc6ca2/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/appcompat_v7_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="appcompat-v7-25.3.1">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/a29c9d3de6a3255b5a26f20e052d82a9013e8404/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/a29c9d3de6a3255b5a26f20e052d82a9013e8404/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/4ece9611f778a1e3ea5252b8a5bddf073db342eb/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/4ece9611f778a1e3ea5252b8a5bddf073db342eb/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/constraint_layout_1_0_2.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="constraint-layout-1.0.2">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/84d8b0acb3b99a15f3c692ebc0f0141b582f6aae/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/84d8b0acb3b99a15f3c692ebc0f0141b582f6aae/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/0e4e3ad1ead514d8aa3fc3786b8cb679b0b4b49d/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/0e4e3ad1ead514d8aa3fc3786b8cb679b0b4b49d/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES />

+ 1 - 1
.idea/libraries/constraint_layout_solver_1_0_2.xml

@@ -1,7 +1,7 @@
 <component name="libraryTable">
   <library name="constraint-layout-solver-1.0.2">
     <CLASSES>
-      <root url="jar://$USER_HOME$/Library/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2/constraint-layout-solver-1.0.2.jar!/" />
+      <root url="jar://$USER_HOME$/AppData/Local/Android/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2/constraint-layout-solver-1.0.2.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES />

+ 2 - 2
.idea/libraries/design_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="design-25.3.1">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/4928cc90af4ce9eae6a56a5155256a75bc64192c/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/4928cc90af4ce9eae6a56a5155256a75bc64192c/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/a7da00b8be25a1038a8db3c4569ba3d9187454bf/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/a7da00b8be25a1038a8db3c4569ba3d9187454bf/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/espresso_core_2_2_2.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="espresso-core-2.2.2">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/581e34eb1ee5319fe3fff8ee3ba3882557c764a0/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/581e34eb1ee5319fe3fff8ee3ba3882557c764a0/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/6ac5863065920c83f915fe6f8adab4b617613476/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/6ac5863065920c83f915fe6f8adab4b617613476/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/espresso_idling_resource_2_2_2.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="espresso-idling-resource-2.2.2">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/0532832cd7a84b5263b3eb19be1fd0477feca440/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/0532832cd7a84b5263b3eb19be1fd0477feca440/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/1efe6db008cf579ef575df71513738678946ac47/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/1efe6db008cf579ef575df71513738678946ac47/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/exposed_instrumentation_api_publish_0_5.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="exposed-instrumentation-api-publish-0.5">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/87289e24842179f3998ffc1ea1eb8aebfd5fc0e0/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/87289e24842179f3998ffc1ea1eb8aebfd5fc0e0/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/112ff42879fea98857a969b1b6da27587a65117c/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/112ff42879fea98857a969b1b6da27587a65117c/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/recyclerview_v7_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="recyclerview-v7-25.3.1">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/4224ad7eb41271b9c3afefdebb61b08b578ed1e2/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/4224ad7eb41271b9c3afefdebb61b08b578ed1e2/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/817d26429fc89bd427d802305ccbfa3d61d93400/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/817d26429fc89bd427d802305ccbfa3d61d93400/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/rules_0_5.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="rules-0.5">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/a50c16e8537e05868eb31a8deeb79499427c568e/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/a50c16e8537e05868eb31a8deeb79499427c568e/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/ec0f32b3073487eba04f5a64047ab5540d92c7e1/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/ec0f32b3073487eba04f5a64047ab5540d92c7e1/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/runner_0_5.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="runner-0.5">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/dc7208c049b1eec62b41c20ece9920f097da95c5/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/dc7208c049b1eec62b41c20ece9920f097da95c5/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/01c7ae1d02f8e4520644a925423ff02ac9c5baf6/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/01c7ae1d02f8e4520644a925423ff02ac9c5baf6/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 1 - 1
.idea/libraries/support_annotations_25_3_1.xml

@@ -1,7 +1,7 @@
 <component name="libraryTable">
   <library name="support-annotations-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/25.3.1/support-annotations-25.3.1.jar!/" />
+      <root url="jar://$USER_HOME$/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/25.3.1/support-annotations-25.3.1.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_compat_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-compat-25.3.1">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/8123731923848cddedf740b3920f5393233d413b/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/8123731923848cddedf740b3920f5393233d413b/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/6d218a0d73795c309497535a81dca60f321f6006/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/6d218a0d73795c309497535a81dca60f321f6006/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_core_ui_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-core-ui-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/d4fdf103f6e55daf7b5676b5014bc508c45b9f82/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/d4fdf103f6e55daf7b5676b5014bc508c45b9f82/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/8dca6055387462406e72ba31be40754b918572b9/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/8dca6055387462406e72ba31be40754b918572b9/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_core_utils_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-core-utils-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/eaa44d38a8ef19954cbf78a8b8d5972c6d54fffe/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/eaa44d38a8ef19954cbf78a8b8d5972c6d54fffe/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/fb4e83f8c8f961f6942d7b994f1d99edc82a7e6a/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/fb4e83f8c8f961f6942d7b994f1d99edc82a7e6a/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_fragment_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-fragment-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/7c84456c189812dd43c6494793a41441235dbc8f/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/7c84456c189812dd43c6494793a41441235dbc8f/output/res" />
+      <root url="file://$USER_HOME$/.android/build-cache/fe329dcb016429f3580381a4ab848a2a45d2d092/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/fe329dcb016429f3580381a4ab848a2a45d2d092/output/jars/classes.jar!/" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_media_compat_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-media-compat-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/b828ab7fc7ea8d06486b6c7161fca8e30e7ae412/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/b828ab7fc7ea8d06486b6c7161fca8e30e7ae412/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/42536c67d4af45410351738f3895e74d6ad18e95/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/42536c67d4af45410351738f3895e74d6ad18e95/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/support_v4_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-v4-25.3.1">
     <CLASSES>
-      <root url="file://$USER_HOME$/.android/build-cache/e793779c2a6cdf245642d405a2ebfff42ab01a0a/output/res" />
-      <root url="jar://$USER_HOME$/.android/build-cache/e793779c2a6cdf245642d405a2ebfff42ab01a0a/output/jars/classes.jar!/" />
+      <root url="jar://$USER_HOME$/.android/build-cache/b6d3707f44a12d18f5d9a0bfabf79fcdd0c42f50/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/b6d3707f44a12d18f5d9a0bfabf79fcdd0c42f50/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES />

+ 2 - 2
.idea/libraries/support_vector_drawable_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="support-vector-drawable-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/dc18df144373d02f631d73095c96596fd2ecd878/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/dc18df144373d02f631d73095c96596fd2ecd878/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/d8871c69ed5029093ae5ef349e7a8880196e0fad/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/d8871c69ed5029093ae5ef349e7a8880196e0fad/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 2 - 2
.idea/libraries/transition_25_3_1.xml

@@ -1,8 +1,8 @@
 <component name="libraryTable">
   <library name="transition-25.3.1">
     <CLASSES>
-      <root url="jar://$USER_HOME$/.android/build-cache/1154836952d287f7f77e7c9f81a5da5291d7218f/output/jars/classes.jar!/" />
-      <root url="file://$USER_HOME$/.android/build-cache/1154836952d287f7f77e7c9f81a5da5291d7218f/output/res" />
+      <root url="jar://$USER_HOME$/.android/build-cache/fdb734aa57d88526ff807fcef3a5398989ab839a/output/jars/classes.jar!/" />
+      <root url="file://$USER_HOME$/.android/build-cache/fdb734aa57d88526ff807fcef3a5398989ab839a/output/res" />
     </CLASSES>
     <JAVADOC />
     <SOURCES>

+ 1 - 0
.idea/modules.xml

@@ -4,6 +4,7 @@
     <modules>
       <module fileurl="file://$PROJECT_DIR$/FreeFoodFinder.iml" filepath="$PROJECT_DIR$/FreeFoodFinder.iml" />
       <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
+      <module fileurl="file://$PROJECT_DIR$/trunk.iml" filepath="$PROJECT_DIR$/trunk.iml" />
     </modules>
   </component>
 </project>

+ 1 - 1
.idea/vcs.xml

@@ -2,6 +2,6 @@
 <project version="4">
   <component name="VcsDirectoryMappings">
     <mapping directory="" vcs="svn" />
-    <mapping directory="$PROJECT_DIR$" vcs="Git" />
+    <mapping directory="$PROJECT_DIR$" vcs="svn" />
   </component>
 </project>

+ 47 - 0
app/src/main/java/com/example/yiupang/freefoodfinder/CreateEventScreen.java

@@ -0,0 +1,47 @@
+package com.example.yiupang.freefoodfinder;
+
+/**
+ * Created by Acer on 5/26/2017.
+ */
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.support.annotation.Nullable;
+import android.view.KeyEvent;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.EditText;
+import android.widget.TextView;
+
+
+import java.util.ArrayList;
+
+public class CreateEventScreen extends android.support.v4.app.Fragment{
+
+    @Nullable
+    @Override
+    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)
+    {
+        View view = inflater.inflate(R.layout.create_event, container, false);
+        Event newEvent = new Event();
+
+        EditText editText = (EditText) view.findViewById(R.id.box1);
+        editText.setOnEditorActionListener(new EditText.OnEditorActionListener() {
+            @Override
+            public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
+                boolean handled = false;
+                int i = 0;
+                handled = true;
+                return handled;
+            }
+        });
+
+        return view;
+    }
+
+
+
+
+
+}

+ 14 - 0
app/src/main/res/layout/create_event.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent">
+
+    <EditText
+        android:id = "@+id/box1"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:inputType="text"
+        android:imeOptions = "actionSend"/>
+
+
+</LinearLayout>

+ 2 - 1
app/src/main/res/layout/events_screen.xml

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:orientation="vertical" android:layout_width="match_parent"
+    android:orientation="vertical"
+    android:layout_width="match_parent"
     android:layout_height="match_parent">
 
     <TextView android:layout_width="match_parent"

+ 3 - 2
app/src/main/res/layout/myevent_screen.xml

@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-android:orientation="vertical" android:layout_width="match_parent"
-android:layout_height="match_parent">
+    android:orientation="vertical"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent">
 
 <TextView android:layout_width="match_parent"
     android:layout_height="match_parent"