Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-81
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-81
2022-81
Commits
2507d34e
Commit
2507d34e
authored
Nov 12, 2022
by
Salika Madhushanka W.J
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdHome added
parent
710e9f1b
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
8 deletions
+34
-8
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+3
-0
app/src/main/java/com/example/eketha/MainActivity.java
app/src/main/java/com/example/eketha/MainActivity.java
+8
-8
app/src/main/java/com/example/eketha/pdHome.java
app/src/main/java/com/example/eketha/pdHome.java
+14
-0
app/src/main/res/layout/activity_pd_home.xml
app/src/main/res/layout/activity_pd_home.xml
+9
-0
No files found.
app/src/main/AndroidManifest.xml
View file @
2507d34e
...
@@ -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"
>
...
...
app/src/main/java/com/example/eketha/MainActivity.java
View file @
2507d34e
...
@@ -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
)
{
...
...
app/src/main/java/com/example/eketha/pdHome.java
0 → 100644
View file @
2507d34e
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
app/src/main/res/layout/activity_pd_home.xml
0 → 100644
View file @
2507d34e
<?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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment