diff --git a/UserLoginRegistration/AAD b/UserLoginRegistration/AAD new file mode 160000 index 0000000..ea5dd85 --- /dev/null +++ b/UserLoginRegistration/AAD @@ -0,0 +1 @@ +Subproject commit ea5dd858de7c87285a80d7672d2c9bef8bc850a8 diff --git a/UserLoginRegistration/UserInformation/.gitignore b/UserLoginRegistration/UserInformation/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/UserLoginRegistration/UserInformation/.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/UserLoginRegistration/UserInformation/.idea/.gitignore b/UserLoginRegistration/UserInformation/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/UserLoginRegistration/UserInformation/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/UserLoginRegistration/UserInformation/.idea/compiler.xml b/UserLoginRegistration/UserInformation/.idea/compiler.xml new file mode 100644 index 0000000..fb7f4a8 --- /dev/null +++ b/UserLoginRegistration/UserInformation/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/.idea/gradle.xml b/UserLoginRegistration/UserInformation/.idea/gradle.xml new file mode 100644 index 0000000..a2d7c21 --- /dev/null +++ b/UserLoginRegistration/UserInformation/.idea/gradle.xml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/.idea/misc.xml b/UserLoginRegistration/UserInformation/.idea/misc.xml new file mode 100644 index 0000000..bdd9278 --- /dev/null +++ b/UserLoginRegistration/UserInformation/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/.gitignore b/UserLoginRegistration/UserInformation/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/build.gradle b/UserLoginRegistration/UserInformation/app/build.gradle new file mode 100644 index 0000000..61da772 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/build.gradle @@ -0,0 +1,40 @@ +plugins { + id 'com.android.application' +} + +android { + namespace 'com.example.userinformation' + compileSdk 33 + + defaultConfig { + applicationId "com.example.userinformation" + minSdk 24 + targetSdk 33 + versionCode 1 + versionName "1.0" + + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } +} + +dependencies { + + implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'com.google.android.material:material:1.5.0' + implementation 'androidx.constraintlayout:constraintlayout:2.1.3' + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + implementation 'liji.library.dev:citypickerview:1.1.0' +} \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/proguard-rules.pro b/UserLoginRegistration/UserInformation/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/UserLoginRegistration/UserInformation/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/UserLoginRegistration/UserInformation/app/src/androidTest/java/com/example/userinformation/ExampleInstrumentedTest.java b/UserLoginRegistration/UserInformation/app/src/androidTest/java/com/example/userinformation/ExampleInstrumentedTest.java new file mode 100644 index 0000000..bf211e6 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/androidTest/java/com/example/userinformation/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.userinformation; + +import android.content.Context; + +import androidx.test.platform.app.InstrumentationRegistry; +import androidx.test.ext.junit.runners.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumented test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); + assertEquals("com.example.userinformation", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/AndroidManifest.xml b/UserLoginRegistration/UserInformation/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..a8e09a6 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/MainActivity.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/MainActivity.java new file mode 100644 index 0000000..220ea0c --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/MainActivity.java @@ -0,0 +1,45 @@ +package com.example.userinformation; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; + +import androidx.appcompat.app.AppCompatActivity; + +import com.example.userinformation.activity.RegisterActivity; + +public class MainActivity extends AppCompatActivity implements View.OnClickListener { + private Button registerButton, loginButton; + private EditText usernameText, paswdEdit; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.user_login); + init(); + } + + @Override + public void onClick(View v) { + switch (v.getId()) { + case R.id.register: + Intent intent = new Intent(MainActivity.this, RegisterActivity.class); + startActivity(intent); + break; + case R.id.login: + break; + } + } + + //界面组件初始化 + private void init() { + usernameText = findViewById(R.id.username); + paswdEdit = findViewById(R.id.password); + loginButton = findViewById(R.id.login); + loginButton.setOnClickListener(this); + registerButton = findViewById(R.id.register); + registerButton.setOnClickListener(this); + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/FragmentActivity.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/FragmentActivity.java new file mode 100644 index 0000000..aeccc4e --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/FragmentActivity.java @@ -0,0 +1,16 @@ +package com.example.userinformation.activity; + +import android.os.Bundle; + +import androidx.annotation.Nullable; +import androidx.appcompat.app.AppCompatActivity; + +import com.example.userinformation.R; + +public class FragmentActivity extends AppCompatActivity { + @Override + protected void onCreate(@Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.content_user); + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/RegisterActivity.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/RegisterActivity.java new file mode 100644 index 0000000..20c8880 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/RegisterActivity.java @@ -0,0 +1,148 @@ +package com.example.userinformation.activity; + +import android.content.Intent; +import android.graphics.Color; +import android.os.Bundle; +import android.view.View; +import android.widget.Adapter; +import android.widget.AdapterView; +import android.widget.Button; +import android.widget.EditText; +import android.widget.RadioGroup; +import android.widget.TextView; +import android.widget.Toast; +import com.example.userinformation.R; +import com.lljjcoder.citypickerview.widget.CityPicker; + +import androidx.annotation.Nullable; +import androidx.appcompat.app.AppCompatActivity; + + + +public abstract class RegisterActivity extends AppCompatActivity implements View.OnClickListener, RadioGroup.OnCheckedChangeListener,Adapter { + private EditText usernameEdit, passwordEdit, surePasswordEdit; + private TextView cityText; + private CityPicker cityPicker; + private Button regButton; + private RadioGroup sexGroup; + private String sexStr="男"; + + + @Override + protected void onCreate(@Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.user_register); + init(); + + } + + /** + * 界面组件初始化 + */ + private void init() { + cityText = findViewById(R.id.reg_province); + cityText.setOnClickListener(this); + usernameEdit = findViewById(R.id.reg_username); + passwordEdit = findViewById(R.id.reg_password); + surePasswordEdit = findViewById(R.id.reg_sure_password); + regButton = findViewById(R.id.reg_register); + regButton.setOnClickListener(this); + sexGroup = findViewById(R.id.sex); + sexGroup.setOnCheckedChangeListener(this); + } + + @Override + public void onClick(View v) { + switch (v.getId()) { + case R.id.reg_province: + initCityPicker(); + cityPicker.show(); + break; + case R.id.reg_register: + //注册验证方法 + validateRegister(); + break; + + } + } + + /** + * 初始化城市选择器 + */ + public void initCityPicker() { + cityPicker = new CityPicker.Builder(RegisterActivity.this) + .textSize(16) + .title("地址选择") + .backgroundPop(0xa0fffff) + .titleBackgroundColor("#EFB81C") + .titleTextColor("#000000") + .backgroundPop(0xa0000000) + .confirTextColor("#696969") + .cancelTextColor("#696969") + .province("湖南省") + .city("常德市") + .district("武陵区") + .textColor(Color.parseColor("#000000")) + .provinceCyclic(true) + .cityCyclic(false) + .districtCyclic(false) + .visibleItemsCount(7) + .itemPadding(10) + .onlyShowProvinceAndCity(false) + .build(); + cityPicker.setOnCityItemClickListener(new CityPicker.OnCityItemClickListener() { + @Override + public void onSelected(String... strings) { + String province = strings[0]; + String city = strings[1]; + String district = strings[2]; + cityText.setText(String.format("%s %s %s", province, city, district)); + } + + @Override + public void onCancel() { + } + }); + + } + + /** + * 注册验证 + */ + public void validateRegister() { + Intent intent = new Intent(RegisterActivity.this, UserActivity.class); + String username = usernameEdit.getText().toString(); + String password = passwordEdit.getText().toString(); + String surePassword = surePasswordEdit.getText().toString(); + String city = cityText.getText().toString(); + //判断两次密码是否输入一致 + if (password.equals(surePassword)) { + //这里也可以再进行其它的验证,如是否符合要求等,符合就进行插入数据库操作 + if (!username.equals("") || !password.equals("")) { + if (!city.equals("")) { + Bundle bundle = new Bundle(); + bundle.putString("username", username); + bundle.putString("password", password); + bundle.putString("sex", sexStr); + bundle.putString("city", city); + intent.putExtras(bundle); + startActivity(intent); + } else { + Toast.makeText(RegisterActivity.this, "请选择地址", Toast.LENGTH_SHORT).show(); + } + } else { + Toast.makeText(RegisterActivity.this, "账号或密码未填写", Toast.LENGTH_SHORT).show(); + } + } else { + Toast.makeText(RegisterActivity.this, "两次密码输入不一致", Toast.LENGTH_SHORT).show(); + } + + + } + + @Override + public void onCheckedChanged(RadioGroup group, int checkedId) { + //根据用户选择来改变sex的值 + sexStr = checkedId == R.id.reg_man ? "男" : "女"; + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/UserActivity.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/UserActivity.java new file mode 100644 index 0000000..e94cd84 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/UserActivity.java @@ -0,0 +1,67 @@ +package com.example.userinformation.activity; + +import android.app.Activity; +import android.content.Intent; +import android.os.Bundle; +import android.util.Log; +import android.view.View; +import android.widget.ImageView; +import android.widget.LinearLayout; +import android.widget.TextView; + +import com.example.userinformation.MainActivity; +import com.example.userinformation.R; +import androidx.annotation.Nullable; + +public class UserActivity extends Activity { + private ImageView userIconImage; + private TextView usernameText, userSexText, userCityText; + private LinearLayout usernameLine, userSexline, userCityLine, userPayLine, userSettingLine, userGeneralLine; + + @Override + protected void onCreate(@Nullable Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.content_user); + init(); + } + + /** + * 组件初始化 + */ + private void init() { + userIconImage = findViewById(R.id.user_icon); + usernameText = findViewById(R.id.user_username); + userSexText = findViewById(R.id.user_sex); + userCityText = findViewById(R.id.user_city); + usernameLine = findViewById(R.id.user_username_line); + userSexline = findViewById(R.id.user_sex_line); + userCityLine = findViewById(R.id.user_city_line); + userPayLine = findViewById(R.id.user_pay); + userSettingLine = findViewById(R.id.user_setting); + userGeneralLine = findViewById(R.id.user_general); + setData(); + } + + /** + * 组件赋值 + */ + private void setData() { + Intent intent = UserActivity.this.getIntent(); + Bundle bundle = intent.getExtras(); + usernameText.setText(String.format("用户名:%s", bundle.getString("username"))); + userSexText.setText(String.format("性别:%s", bundle.getString("sex"))); + userCityText.setText(String.format("城市:%s", bundle.getString("city"))); + } + public void onClick1(View view) + { + Log.i("Click","点击了退回按钮"); + //Toast.makeText(this,"按下登录按钮", Toast); + Intent intent = new Intent(this, MainActivity.class); + //intent.putExtra("小明",10); + startActivity(intent); + } + public void onClick_user(View view) + { + + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/city.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/city.java new file mode 100644 index 0000000..fb94991 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/activity/city.java @@ -0,0 +1,4 @@ +package com.example.userinformation.activity; + +public class city { +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/data_sqlite/DataBase.java b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/data_sqlite/DataBase.java new file mode 100644 index 0000000..8cdb6a0 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/com/example/userinformation/data_sqlite/DataBase.java @@ -0,0 +1,58 @@ +package com.example.userinformation.data_sqlite; + +import android.content.ContentValues; +import android.content.Context; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.database.sqlite.SQLiteOpenHelper; +import android.os.Bundle; + +import androidx.annotation.Nullable; + +public class DataBase extends SQLiteOpenHelper { + public DataBase(@Nullable Context context) { + super(context, "user_db", null, 1); + } + + @Override + public void onCreate(SQLiteDatabase sqLiteDatabase) { + String sql = "create table User_db_table1(id integer primary key autoincrement, username varchar(50), password varchar(50),sex varchar(10),city carchar(50))"; + sqLiteDatabase.execSQL(sql); + } + + @Override + public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) { + + } + + public void insertUser(SQLiteDatabase sqLiteDatabase, String username, String password, String sex, String city) { + ContentValues contentValues = new ContentValues(); + contentValues.put("username", username); + contentValues.put("password", password); + contentValues.put("sex", sex); + contentValues.put("city", city); + sqLiteDatabase.insert("user_db_table1", null, contentValues); + sqLiteDatabase.close(); + } + + /** + * 查询数据 + * + * @param sqLiteDatabase + * @param bundle + * @return + */ + public Bundle queryUserInfo(SQLiteDatabase sqLiteDatabase, Bundle bundle) { + String username = bundle.getString("username"); + Cursor cursor = sqLiteDatabase.rawQuery("select * from user_db_table1 where username=?", new String[]{username}); + if (cursor != null) { + while (cursor.moveToNext()) { + bundle.putString("sex", cursor.getString(3)); + bundle.putString("city", cursor.getString(4)); + } + } + cursor.close(); + sqLiteDatabase.close(); + return bundle; + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/entity/OrangeUser.java b/UserLoginRegistration/UserInformation/app/src/main/java/entity/OrangeUser.java new file mode 100644 index 0000000..e241dc8 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/entity/OrangeUser.java @@ -0,0 +1,59 @@ +package entity; + +public class OrangeUser { + private Integer id; + private String username; + private String password; + private String sex; + private String city; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getSex() { + return sex; + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + @Override + public String toString() { + return "OrangeUser{" + + "username='" + username + '\'' + + ", password='" + password + '\'' + + ", sex='" + sex + '\'' + + ", city='" + city + '\'' + + '}'; + } +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/java/entity/Product.java b/UserLoginRegistration/UserInformation/app/src/main/java/entity/Product.java new file mode 100644 index 0000000..3ae924b --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/java/entity/Product.java @@ -0,0 +1,34 @@ +package entity; + +import java.math.BigDecimal; + +public class Product { + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public BigDecimal getProductPrice() { + return productPrice; + } + + public void setProductPrice(BigDecimal productPrice) { + this.productPrice = productPrice; + } + + public Integer getImageUrlId() { + return imageUrlId; + } + + public void setImageUrlId(Integer imageUrlId) { + this.imageUrlId = imageUrlId; + } + + private Integer imageUrlId; + private String productName; + private BigDecimal productPrice; +} diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/a.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/a.xml new file mode 100644 index 0000000..daa343d --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/a.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/address.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/address.png new file mode 100644 index 0000000..7318be0 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/address.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_down.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_down.png new file mode 100644 index 0000000..6d95bb5 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_down.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_left.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_left.png new file mode 100644 index 0000000..365afe0 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_left.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_right.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_right.png new file mode 100644 index 0000000..84ded85 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/arrow_right.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_login.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_login.xml new file mode 100644 index 0000000..d093f1b --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_login.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_register.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_register.xml new file mode 100644 index 0000000..3eb0673 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/button_register.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/chengzi.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/chengzi.png new file mode 100644 index 0000000..fff0306 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/chengzi.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/city.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/city.png new file mode 100644 index 0000000..790fb2b Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/city.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_background.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 0000000..0d025f9 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..1f6bb29 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/juzi.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/juzi.png new file mode 100644 index 0000000..106df92 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/juzi.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/orange.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/orange.png new file mode 100644 index 0000000..70e8db8 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/orange.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/password.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/password.png new file mode 100644 index 0000000..1c6c4f5 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/password.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/search.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/search.png new file mode 100644 index 0000000..a8b5ac0 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/search.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/setting.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/setting.png new file mode 100644 index 0000000..34c2f2f Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/setting.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sex.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sex.png new file mode 100644 index 0000000..acb8197 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sex.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spinner_drop_down_shape.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spinner_drop_down_shape.xml new file mode 100644 index 0000000..64306b1 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spinner_drop_down_shape.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spot.jpg b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spot.jpg new file mode 100644 index 0000000..03706f9 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/spot.jpg differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sure_apssword.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sure_apssword.png new file mode 100644 index 0000000..0e7cee9 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/sure_apssword.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user.png new file mode 100644 index 0000000..aa2a7c5 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_account.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_account.png new file mode 100644 index 0000000..e70142a Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_account.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_general.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_general.png new file mode 100644 index 0000000..cf57947 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_general.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_icon.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_icon.png new file mode 100644 index 0000000..d5309b1 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_icon.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_pay.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_pay.png new file mode 100644 index 0000000..3fd6f50 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_pay.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_sex.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_sex.png new file mode 100644 index 0000000..da0e318 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/user_sex.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/youzi.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/youzi.png new file mode 100644 index 0000000..53df959 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable-v24/youzi.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable/ic_launcher_background.xml b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable/jiantou.png b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/jiantou.png new file mode 100644 index 0000000..d90c504 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/jiantou.png differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/drawable/rc.jpg b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/rc.jpg new file mode 100644 index 0000000..eb9c269 Binary files /dev/null and b/UserLoginRegistration/UserInformation/app/src/main/res/drawable/rc.jpg differ diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_fragment.xml b/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_fragment.xml new file mode 100644 index 0000000..8a67f6b --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_fragment.xml @@ -0,0 +1,27 @@ + + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_main.xml b/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..4fc2444 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/UserLoginRegistration/UserInformation/app/src/main/res/layout/content_user.xml b/UserLoginRegistration/UserInformation/app/src/main/res/layout/content_user.xml new file mode 100644 index 0000000..1246415 --- /dev/null +++ b/UserLoginRegistration/UserInformation/app/src/main/res/layout/content_user.xml @@ -0,0 +1,242 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +