package com.mood.jenaPlus;

import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.media.Image;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.annotation.NonNull;
import android.support.design.internal.BottomNavigationItemView;
import android.support.design.widget.BottomNavigationView;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.PopupMenu;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.view.WindowManager;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.GridView;
import android.widget.ImageView;
import android.widget.Toast;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;

public class EditMoodActivity extends AppCompatActivity {

    private Button addButton;
    private EditText message;
    private Button socialPopup;
    private GridView gridview;
    private ImageView image;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.edit_mood_interface);

    }

}

@@ -1054,57 +1054,47 @@
 ds A
-ppCompatActivity %7B%0A%0A    private Button addButton;
+ctivity implements MPView%3CMoodPlus%3E %7B%0A%0A
 %0A   
@@ -1156,39 +1156,8 @@
 up;%0A
-    private GridView gridview;%0A
     
@@ -1351,16 +1351,350 @@
 rface);%0A
+        getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);%0A%0A        MoodPlus moodPlus = MoodPlusApplication.getMoodPlus();%0A        moodPlus.addView(this);%0A%0A        message = (EditText) findViewById(R.id.message);%0A%0A%0A    %7D%0A%0A    public void update(MoodPlus moodPlus)%7B%0A        // TODO implements update method
 %0A    %7D%0A%0A

edit activity updated