MyPage #26

Merged t-matsui merged 4 commits into nitta-lab-2023:master from nitta-lab-2023:MyPage on 6 Jun 2023
Showing 10 changed files
View
3
■■
.idea/misc.xml
<map>
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_main.xml" value="0.228125" />
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_maps.xml" value="0.17074275362318841" />
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_post.xml" value="0.33" />
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_friend.xml" value="0.3515625" />
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_main.xml" value="0.14722222222222223" />
<entry key="..\:/Users/student/StudioProjects/NemophilaClient/app/src/main/res/layout/activity_mypage.xml" value="0.375" />
</map>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK">
View
9
app/src/main/AndroidManifest.xml
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
<!-- </intent-filter>-->
</activity>
<activity
android:name=".RequestedActivity"
android:exported="false" />
<activity
android:name=".MyPageEditorActivity"
android:exported="false" />
<activity
android:name=".FriendActivity"
android:exported="false" />
<activity
android:name=".MyPageActivity"
android:exported="true"
android:label="@string/title_activity_my_page">
<!-- <intent-filter>-->
View
14
app/src/main/java/com/example/nemophila/FriendActivity.java 0 → 100644
package com.example.nemophila;
 
import androidx.appcompat.app.AppCompatActivity;
 
import android.os.Bundle;
 
public class FriendActivity extends AppCompatActivity {
 
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_friend);
}
}
View
27
app/src/main/java/com/example/nemophila/MyPageActivity.java
package com.example.nemophila;
 
import androidx.appcompat.app.AppCompatActivity;
 
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
 
public class MyPageActivity extends AppCompatActivity {
 
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mypage);
Button friendButton = (Button)findViewById(R.id.friend);
friendButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent(MyPageActivity.this,FriendActivity.class);
startActivity(intent);
 
}
});
Button changeMyPageButton = (Button)findViewById(R.id.changeMyPage);
changeMyPageButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent(MyPageActivity.this,MyPageEditorActivity.class);
startActivity(intent);
 
}
});
Button requestedButton = (Button)findViewById(R.id.requested);
requestedButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent(MyPageActivity.this,RequestedActivity.class);
startActivity(intent);
 
}
});
}
}
View
14
app/src/main/java/com/example/nemophila/MyPageEditorActivity.java 0 → 100644
package com.example.nemophila;
 
import androidx.appcompat.app.AppCompatActivity;
 
import android.os.Bundle;
 
public class MyPageEditorActivity extends AppCompatActivity {
 
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_my_page_editor);
}
}
View
app/src/main/java/com/example/nemophila/RequestedActivity.java 0 → 100644
View
app/src/main/res/layout/activity_friend.xml 0 → 100644
View
app/src/main/res/layout/activity_my_page_editor.xml 0 → 100644
View
app/src/main/res/layout/activity_mypage.xml
View
app/src/main/res/layout/activity_requested.xml 0 → 100644