package com.example.eketha;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.example.eketha.PaddyArea.PaddyAreaHome;

public class fertilizerHome extends AppCompatActivity {

    private LinearLayout layer1, layer2;

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

        layer1 = findViewById(R.id.layer2);
        layer2 = findViewById(R.id.layer3);

        layer1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getApplicationContext(),Fertilizer.class);
                startActivity(intent);
            }
        });

//        layer2.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View view) {
//                Intent intent = new Intent(getApplicationContext(), PaddyAreaHome.class);
//                startActivity(intent);
//            }
//        });
    }
}