diff --git a/My1/.gitignore b/My1/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/My1/.gitignore @@ -0,0 +1,15 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties diff --git a/My1/app/.gitignore b/My1/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/My1/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/My1/app/build.gradle.kts b/My1/app/build.gradle.kts new file mode 100644 index 0000000..25615ed --- /dev/null +++ b/My1/app/build.gradle.kts @@ -0,0 +1,48 @@ +plugins { + alias(libs.plugins.androidApplication) + alias(libs.plugins.jetbrainsKotlinAndroid) +} + +android { + namespace = "com.example.myapplication" + compileSdk = 34 + + defaultConfig { + applicationId = "com.example.myapplication" + minSdk = 24 + targetSdk = 34 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = "1.8" + } +} + +dependencies { + + implementation(libs.androidx.core.ktx) + implementation(libs.androidx.appcompat) + implementation(libs.material) + implementation(libs.androidx.activity) + implementation(libs.androidx.constraintlayout) + testImplementation(libs.junit) + androidTestImplementation(libs.androidx.junit) + androidTestImplementation(libs.androidx.espresso.core) +} \ No newline at end of file diff --git a/My1/app/proguard-rules.pro b/My1/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/My1/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/My1/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt b/My1/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..e9283cf --- /dev/null +++ b/My1/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.example.myapplication + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { + @Test + fun useAppContext() { + // Context of the app under test. + val appContext = InstrumentationRegistry.getInstrumentation().targetContext + assertEquals("com.example.myapplication", appContext.packageName) + } +} \ No newline at end of file diff --git a/My1/app/src/main/AndroidManifest.xml b/My1/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..c15c4ee --- /dev/null +++ b/My1/app/src/main/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/java/com/example/myapplication/MainActivity.java b/My1/app/src/main/java/com/example/myapplication/MainActivity.java new file mode 100644 index 0000000..1de9f0a --- /dev/null +++ b/My1/app/src/main/java/com/example/myapplication/MainActivity.java @@ -0,0 +1,66 @@ +package com.example.myapplication; + +import android.content.DialogInterface; +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.TextView; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; + + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + EdgeToEdge.enable(this); + setContentView(R.layout.activity_main); + /* ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.register), (v, insets) -> { + Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); + v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); + return insets; + });*/ + + + TextView button = (TextView) findViewById(R.id.register); + TextView button2 = (TextView) findViewById(R.id.button); + button.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + new AlertDialog.Builder(MainActivity.this).setTitle("系统提示") + .setMessage("确认数据") + .setPositiveButton("确定", new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + Intent intent = new Intent(MainActivity.this, registerActivity.class); + startActivity(intent); + } + }).show(); +// Intent intent=new Intent(MainActivity.this, MainActivity2.class); +// startActivity(intent); + + } + }); + button2.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + new AlertDialog.Builder(MainActivity.this).setTitle("登录") + .setMessage("确认数据") + .setPositiveButton("确定", new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + Intent intent2 = new Intent(MainActivity.this, MainActivity2.class); + intent2.putExtra("fragment_flag",1); + startActivity(intent2); + } + }).show(); +// Intent intent=new Intent(MainActivity.this, MainActivity2.class); +// startActivity(intent); + + } + }); + } +} \ No newline at end of file diff --git a/My1/app/src/main/java/com/example/myapplication/MainActivity2.java b/My1/app/src/main/java/com/example/myapplication/MainActivity2.java new file mode 100644 index 0000000..433367d --- /dev/null +++ b/My1/app/src/main/java/com/example/myapplication/MainActivity2.java @@ -0,0 +1,136 @@ +package com.example.myapplication; + +import android.annotation.SuppressLint; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; +import android.widget.RadioButton; +import android.widget.RadioGroup; + +import androidx.annotation.NonNull; +import androidx.appcompat.app.AppCompatActivity; +import androidx.viewpager.widget.PagerAdapter; +import androidx.viewpager.widget.ViewPager; + +import java.util.ArrayList; +import java.util.List; + +public class MainActivity2 extends AppCompatActivity { + + private ViewPager mViewPager; + private RadioGroup mRadioGroup; + private RadioButton tab1, tab2, tab3, tab4; //四个单选按钮 + private List mViews; //存放视图 + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main2); + + initView();//初始化数据 + //对单选按钮进行监听,选中、未选中 + mRadioGroup.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { + @SuppressLint("NonConstantResourceId") + @Override + public void onCheckedChanged(RadioGroup radioGroup, int i) { + if (i == R.id.rb_msg) { + mViewPager.setCurrentItem(0); + } else if (i == R.id.rb_people) { + mViewPager.setCurrentItem(1); + } else if (i == R.id.rb_find) { + mViewPager.setCurrentItem(2); + } else { + mViewPager.setCurrentItem(3); + } + } + }); + + } + + private void initView() { + //初始化控件 + mViewPager = findViewById(R.id.viewpager); + mRadioGroup = findViewById(R.id.rg_tab); + tab1 = findViewById(R.id.rb_msg); + tab2 = findViewById(R.id.rb_people); + tab3 = findViewById(R.id.rb_find); + tab4 = findViewById(R.id.rb_me); + + mViews = new ArrayList();//加载,添加视图 + mViews.add(LayoutInflater.from(this).inflate(R.layout.page1, null)); + mViews.add(LayoutInflater.from(this).inflate(R.layout.nearby_view, null)); + mViews.add(LayoutInflater.from(this).inflate(R.layout.page3, null)); + mViews.add(LayoutInflater.from(this).inflate(R.layout.page4, null)); + + mViewPager.setAdapter(new MyViewPagerAdapter());//设置一个适配器 + //对viewpager监听,让分页和底部图标保持一起滑动 + mViewPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() { + @Override + public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { + + } + + @Override //让viewpager滑动的时候,下面的图标跟着变动 + public void onPageSelected(int position) { + switch (position) { + case 0: + tab1.setChecked(true); + tab2.setChecked(false); + tab3.setChecked(false); + tab4.setChecked(false); + break; + case 1: + tab1.setChecked(false); + tab2.setChecked(true); + tab3.setChecked(false); + tab4.setChecked(false); + break; + case 2: + tab1.setChecked(false); + tab2.setChecked(false); + tab3.setChecked(true); + tab4.setChecked(false); + break; + case 3: + tab1.setChecked(false); + tab2.setChecked(false); + tab3.setChecked(false); + tab4.setChecked(true); + break; + } + } + + @Override + public void onPageScrollStateChanged(int state) { + + } + }); + } + + //ViewPager适配器 + private class MyViewPagerAdapter extends PagerAdapter { + @Override + public int getCount() { + return mViews.size(); + } + + + @Override + public boolean isViewFromObject(@NonNull View view, @NonNull Object object) { + return view == object; + } + + @Override + public void destroyItem(@NonNull ViewGroup container, int position, @NonNull Object object) { + container.removeView(mViews.get(position)); + } + + @NonNull + @Override + public Object instantiateItem(@NonNull ViewGroup container, int position) { + container.addView(mViews.get(position)); + return mViews.get(position); + } + } +} diff --git a/My1/app/src/main/java/com/example/myapplication/registerActivity.java b/My1/app/src/main/java/com/example/myapplication/registerActivity.java new file mode 100644 index 0000000..d391f3c --- /dev/null +++ b/My1/app/src/main/java/com/example/myapplication/registerActivity.java @@ -0,0 +1,63 @@ +package com.example.myapplication; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; + +import com.example.myapplication.R; + +public class registerActivity extends AppCompatActivity implements View.OnClickListener { + + private String name_str = ""; + private String phone_str = " "; + private String email_str = " "; + private String paswd_str = " "; + EditText name_edit, phone_edit, email_edit, paswd_edit; + Button button; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + EdgeToEdge.enable(this); + setContentView(R.layout.activity_register); + /* ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { + Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); + v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); + return insets; + });*/ + +// 组件初始化 + name_edit = (EditText) findViewById(R.id.nameEdit); + phone_edit = (EditText) findViewById(R.id.pnumEdit); + email_edit = (EditText) findViewById(R.id.userEdit); + paswd_edit = (EditText) findViewById(R.id.passEdit); + +// 添加监听事件 + button = (Button) findViewById(R.id.button); + button.setOnClickListener((View.OnClickListener) this); + } + + @Override + public void onClick(View view) { + if (view.getId() == R.id.button) { + name_str = name_edit.getText().toString(); + phone_str = phone_edit.getText().toString(); + email_str = email_edit.getText().toString(); + paswd_str = paswd_edit.getText().toString(); + Intent intent = new Intent(registerActivity.this, registerActivity2.class); + Bundle bundle = new Bundle(); + bundle.putString("name", name_str); + bundle.putString("phone", phone_str); + bundle.putString("email", email_str); + bundle.putString("paswd", paswd_str); + intent.putExtras(bundle); + startActivity(intent); + + } + } +} \ No newline at end of file diff --git a/My1/app/src/main/java/com/example/myapplication/registerActivity2.java b/My1/app/src/main/java/com/example/myapplication/registerActivity2.java new file mode 100644 index 0000000..eaff0aa --- /dev/null +++ b/My1/app/src/main/java/com/example/myapplication/registerActivity2.java @@ -0,0 +1,36 @@ +package com.example.myapplication; + +import android.content.Intent; +import android.os.Bundle; +import android.widget.TextView; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + +import com.example.myapplication.R; + +public class registerActivity2 extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + EdgeToEdge.enable(this); + setContentView(R.layout.activity_register2); +// ViewCompat.setOnApplyWindowInsetsListener(findViewById(R.id.main), (v, insets) -> { +// Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars()); +// v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom); +// return insets; +// }); + Intent intent = this.getIntent(); + Bundle bundle = intent.getExtras(); + String name = bundle.getString("name"); + String phone = bundle.getString("phone"); + String email = bundle.getString("email"); + String paswd = bundle.getString("paswd"); + TextView show_text = (TextView) findViewById(R.id.show_content); + show_text.setText("\n" + "用户名是:" + name + "\n\n\n" + "手机号是:" + phone + "\n\n\n" + "电子邮箱是:" + email + "\n\n\n" + "密码是:" + paswd + "\n\n\n"); + } +} \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/add.png b/My1/app/src/main/res/drawable/add.png new file mode 100644 index 0000000..ef9d9c7 Binary files /dev/null and b/My1/app/src/main/res/drawable/add.png differ diff --git a/My1/app/src/main/res/drawable/bookmark.png b/My1/app/src/main/res/drawable/bookmark.png new file mode 100644 index 0000000..39d5255 Binary files /dev/null and b/My1/app/src/main/res/drawable/bookmark.png differ diff --git a/My1/app/src/main/res/drawable/chat.png b/My1/app/src/main/res/drawable/chat.png new file mode 100644 index 0000000..ffc321f Binary files /dev/null and b/My1/app/src/main/res/drawable/chat.png differ diff --git a/My1/app/src/main/res/drawable/darkgreen_button_background.xml b/My1/app/src/main/res/drawable/darkgreen_button_background.xml new file mode 100644 index 0000000..b50816a --- /dev/null +++ b/My1/app/src/main/res/drawable/darkgreen_button_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/edittext_background.xml b/My1/app/src/main/res/drawable/edittext_background.xml new file mode 100644 index 0000000..d8cc039 --- /dev/null +++ b/My1/app/src/main/res/drawable/edittext_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/edittext_background2.xml b/My1/app/src/main/res/drawable/edittext_background2.xml new file mode 100644 index 0000000..43cd1b8 --- /dev/null +++ b/My1/app/src/main/res/drawable/edittext_background2.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/exit.png b/My1/app/src/main/res/drawable/exit.png new file mode 100644 index 0000000..5fd8696 Binary files /dev/null and b/My1/app/src/main/res/drawable/exit.png differ diff --git a/My1/app/src/main/res/drawable/facebook.png b/My1/app/src/main/res/drawable/facebook.png new file mode 100644 index 0000000..5a8d3ef Binary files /dev/null and b/My1/app/src/main/res/drawable/facebook.png differ diff --git a/My1/app/src/main/res/drawable/favorite.png b/My1/app/src/main/res/drawable/favorite.png new file mode 100644 index 0000000..444ac0a Binary files /dev/null and b/My1/app/src/main/res/drawable/favorite.png differ diff --git a/My1/app/src/main/res/drawable/favorite2.png b/My1/app/src/main/res/drawable/favorite2.png new file mode 100644 index 0000000..88dfab5 Binary files /dev/null and b/My1/app/src/main/res/drawable/favorite2.png differ diff --git a/My1/app/src/main/res/drawable/google.png b/My1/app/src/main/res/drawable/google.png new file mode 100644 index 0000000..17d2576 Binary files /dev/null and b/My1/app/src/main/res/drawable/google.png differ diff --git a/My1/app/src/main/res/drawable/grey_background.xml b/My1/app/src/main/res/drawable/grey_background.xml new file mode 100644 index 0000000..81458c2 --- /dev/null +++ b/My1/app/src/main/res/drawable/grey_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/home.png b/My1/app/src/main/res/drawable/home.png new file mode 100644 index 0000000..0428cf1 Binary files /dev/null and b/My1/app/src/main/res/drawable/home.png differ diff --git a/My1/app/src/main/res/drawable/home1.png b/My1/app/src/main/res/drawable/home1.png new file mode 100644 index 0000000..803878c Binary files /dev/null and b/My1/app/src/main/res/drawable/home1.png differ diff --git a/My1/app/src/main/res/drawable/ic_launcher_background.xml b/My1/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/My1/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/My1/app/src/main/res/drawable/ic_launcher_foreground.xml b/My1/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/My1/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/light_green_background.xml b/My1/app/src/main/res/drawable/light_green_background.xml new file mode 100644 index 0000000..a48e9f8 --- /dev/null +++ b/My1/app/src/main/res/drawable/light_green_background.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/location.png b/My1/app/src/main/res/drawable/location.png new file mode 100644 index 0000000..b125927 Binary files /dev/null and b/My1/app/src/main/res/drawable/location.png differ diff --git a/My1/app/src/main/res/drawable/login.png b/My1/app/src/main/res/drawable/login.png new file mode 100644 index 0000000..37a2da7 Binary files /dev/null and b/My1/app/src/main/res/drawable/login.png differ diff --git a/My1/app/src/main/res/drawable/menu.png b/My1/app/src/main/res/drawable/menu.png new file mode 100644 index 0000000..464608c Binary files /dev/null and b/My1/app/src/main/res/drawable/menu.png differ diff --git a/My1/app/src/main/res/drawable/pearson.png b/My1/app/src/main/res/drawable/pearson.png new file mode 100644 index 0000000..90cf0eb Binary files /dev/null and b/My1/app/src/main/res/drawable/pearson.png differ diff --git a/My1/app/src/main/res/drawable/product.png b/My1/app/src/main/res/drawable/product.png new file mode 100644 index 0000000..8f5cb21 Binary files /dev/null and b/My1/app/src/main/res/drawable/product.png differ diff --git a/My1/app/src/main/res/drawable/reg.png b/My1/app/src/main/res/drawable/reg.png new file mode 100644 index 0000000..6093b73 Binary files /dev/null and b/My1/app/src/main/res/drawable/reg.png differ diff --git a/My1/app/src/main/res/drawable/register.png b/My1/app/src/main/res/drawable/register.png new file mode 100644 index 0000000..e547ccd Binary files /dev/null and b/My1/app/src/main/res/drawable/register.png differ diff --git a/My1/app/src/main/res/drawable/register2.png b/My1/app/src/main/res/drawable/register2.png new file mode 100644 index 0000000..7faaaff Binary files /dev/null and b/My1/app/src/main/res/drawable/register2.png differ diff --git a/My1/app/src/main/res/drawable/search.png b/My1/app/src/main/res/drawable/search.png new file mode 100644 index 0000000..b7f7258 Binary files /dev/null and b/My1/app/src/main/res/drawable/search.png differ diff --git a/My1/app/src/main/res/drawable/setting.png b/My1/app/src/main/res/drawable/setting.png new file mode 100644 index 0000000..34c2f2f Binary files /dev/null and b/My1/app/src/main/res/drawable/setting.png differ diff --git a/My1/app/src/main/res/drawable/shoppingcart.png b/My1/app/src/main/res/drawable/shoppingcart.png new file mode 100644 index 0000000..76c06de Binary files /dev/null and b/My1/app/src/main/res/drawable/shoppingcart.png differ diff --git a/My1/app/src/main/res/drawable/star.png b/My1/app/src/main/res/drawable/star.png new file mode 100644 index 0000000..58d700e Binary files /dev/null and b/My1/app/src/main/res/drawable/star.png differ diff --git a/My1/app/src/main/res/drawable/submit_button.xml b/My1/app/src/main/res/drawable/submit_button.xml new file mode 100644 index 0000000..a170839 --- /dev/null +++ b/My1/app/src/main/res/drawable/submit_button.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/drawable/twitter.png b/My1/app/src/main/res/drawable/twitter.png new file mode 100644 index 0000000..77d7481 Binary files /dev/null and b/My1/app/src/main/res/drawable/twitter.png differ diff --git a/My1/app/src/main/res/layout/activity_main.xml b/My1/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..97f94c6 --- /dev/null +++ b/My1/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/layout/activity_main2.xml b/My1/app/src/main/res/layout/activity_main2.xml new file mode 100644 index 0000000..a67c361 --- /dev/null +++ b/My1/app/src/main/res/layout/activity_main2.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + diff --git a/My1/app/src/main/res/layout/activity_register.xml b/My1/app/src/main/res/layout/activity_register.xml new file mode 100644 index 0000000..044608d --- /dev/null +++ b/My1/app/src/main/res/layout/activity_register.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/layout/activity_register2.xml b/My1/app/src/main/res/layout/activity_register2.xml new file mode 100644 index 0000000..9c0c8a0 --- /dev/null +++ b/My1/app/src/main/res/layout/activity_register2.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/My1/app/src/main/res/layout/nearby_view.xml b/My1/app/src/main/res/layout/nearby_view.xml new file mode 100644 index 0000000..17a6801 --- /dev/null +++ b/My1/app/src/main/res/layout/nearby_view.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/My1/app/src/main/res/layout/page1.xml b/My1/app/src/main/res/layout/page1.xml new file mode 100644 index 0000000..d86bf74 --- /dev/null +++ b/My1/app/src/main/res/layout/page1.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/layout/page3.xml b/My1/app/src/main/res/layout/page3.xml new file mode 100644 index 0000000..f080980 --- /dev/null +++ b/My1/app/src/main/res/layout/page3.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/My1/app/src/main/res/layout/page4.xml b/My1/app/src/main/res/layout/page4.xml new file mode 100644 index 0000000..77e49a7 --- /dev/null +++ b/My1/app/src/main/res/layout/page4.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/My1/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/My1/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/My1/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/My1/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/My1/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/My1/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/My1/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/My1/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/My1/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/My1/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/My1/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/My1/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/My1/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/My1/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/My1/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/My1/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/My1/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/My1/app/src/main/res/values-night/themes.xml b/My1/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..d25b0f2 --- /dev/null +++ b/My1/app/src/main/res/values-night/themes.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/My1/app/src/main/res/values/colors.xml b/My1/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..60e2c8f --- /dev/null +++ b/My1/app/src/main/res/values/colors.xml @@ -0,0 +1,11 @@ + + + #FF000000 + #FFFFFFFF + #3D5943 + #62762f + #BB8A52 + #D7C3B8 + #FFBA00 + #F5F5F5 + \ No newline at end of file diff --git a/My1/app/src/main/res/values/strings.xml b/My1/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..65a3833 --- /dev/null +++ b/My1/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + 城市 + \ No newline at end of file diff --git a/My1/app/src/main/res/values/themes.xml b/My1/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..f20d1dc --- /dev/null +++ b/My1/app/src/main/res/values/themes.xml @@ -0,0 +1,9 @@ + + + + +