/*
 * Copyright (c) 2017 CMPUT301F17T15. This project is distributed under the MIT license.
 */

package com.cmput301.cia.activities;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.TextView;

import com.cmput301.cia.R;

/**
 * created by Tinghui
 */

public class HabitEventViewActivity extends AppCompatActivity {

    private TextView habitEventName;
    private TextView habitEventType;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_habit_event_view);
        habitEventName = (EditText) findViewById(R.id.EditHabitEventName);
        habitEventType = (EditText) findViewById(R.id.EditHabitEventType);
        Bundle bundle = getIntent().getExtras();
        habitEventType.setText(bundle.getString("HabitEventType"));
        habitEventName.setText(bundle.getString("HabitEventName"));



    }
}

@@ -321,16 +321,34 @@
  Tinghui
+.%0A * on 11/8/2017.
 %0A */%0A%0Apu
@@ -806,24 +806,26 @@
 EventType);%0A
+%0A%0A
         Bund

Add habit event view list activity