pdHome added

parent 710e9f1b
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.EKetha"> android:theme="@style/Theme.EKetha">
<activity
android:name=".pdHome"
android:exported="false" />
<activity <activity
android:name=".WeedMain" android:name=".WeedMain"
android:exported="false"> android:exported="false">
......
...@@ -35,14 +35,14 @@ public class MainActivity extends AppCompatActivity { ...@@ -35,14 +35,14 @@ public class MainActivity extends AppCompatActivity {
finish(); finish();
} }
}); });
// cardView1.setOnClickListener(new View.OnClickListener() { cardView1.setOnClickListener(new View.OnClickListener() {
// @Override @Override
// public void onClick(View view) { public void onClick(View view) {
// Intent intent = new Intent(getApplicationContext(),pdHome.class); Intent intent = new Intent(getApplicationContext(),pdHome.class);
// startActivity(intent); startActivity(intent);
// } }
// }); });
//
cardView2.setOnClickListener(new View.OnClickListener() { cardView2.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
......
package com.example.eketha;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class pdHome extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_pd_home);
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".pdHome">
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment