diff --git a/App12-second-ttt/.gitignore b/App12-second-ttt/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/App12-second-ttt/.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/App12-second-ttt/.idea/.gitignore b/App12-second-ttt/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/App12-second-ttt/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/App12-second-ttt/.idea/.name b/App12-second-ttt/.idea/.name new file mode 100644 index 0000000..9e13355 --- /dev/null +++ b/App12-second-ttt/.idea/.name @@ -0,0 +1 @@ +App1 \ No newline at end of file diff --git a/App12-second-ttt/.idea/compiler.xml b/App12-second-ttt/.idea/compiler.xml new file mode 100644 index 0000000..b589d56 --- /dev/null +++ b/App12-second-ttt/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/.idea/deploymentTargetDropDown.xml b/App12-second-ttt/.idea/deploymentTargetDropDown.xml new file mode 100644 index 0000000..5bef849 --- /dev/null +++ b/App12-second-ttt/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/.idea/gradle.xml b/App12-second-ttt/.idea/gradle.xml new file mode 100644 index 0000000..0897082 --- /dev/null +++ b/App12-second-ttt/.idea/gradle.xml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/.idea/migrations.xml b/App12-second-ttt/.idea/migrations.xml new file mode 100644 index 0000000..f8051a6 --- /dev/null +++ b/App12-second-ttt/.idea/migrations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/.idea/misc.xml b/App12-second-ttt/.idea/misc.xml new file mode 100644 index 0000000..412f4ec --- /dev/null +++ b/App12-second-ttt/.idea/misc.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/.gitignore b/App12-second-ttt/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/App12-second-ttt/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/App12-second-ttt/app/build.gradle b/App12-second-ttt/app/build.gradle new file mode 100644 index 0000000..3788724 --- /dev/null +++ b/App12-second-ttt/app/build.gradle @@ -0,0 +1,40 @@ +plugins { + alias(libs.plugins.androidApplication) +} + +android { + namespace 'com.example.app1' + compileSdk 34 + + defaultConfig { + applicationId "com.example.app1" + minSdk 21 + targetSdk 34 + 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 libs.appcompat + implementation libs.material + implementation libs.activity + implementation libs.constraintlayout + testImplementation libs.junit + androidTestImplementation libs.ext.junit + androidTestImplementation libs.espresso.core +} \ No newline at end of file diff --git a/App12-second-ttt/app/proguard-rules.pro b/App12-second-ttt/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/App12-second-ttt/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/App12-second-ttt/app/src/androidTest/java/com/example/app1/ExampleInstrumentedTest.java b/App12-second-ttt/app/src/androidTest/java/com/example/app1/ExampleInstrumentedTest.java new file mode 100644 index 0000000..ab2b7db --- /dev/null +++ b/App12-second-ttt/app/src/androidTest/java/com/example/app1/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.app1; + +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.app1", appContext.getPackageName()); + } +} \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/AndroidManifest.xml b/App12-second-ttt/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..ee4bb58 --- /dev/null +++ b/App12-second-ttt/app/src/main/AndroidManifest.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/IndexActivity.java b/App12-second-ttt/app/src/main/java/com/example/app1/IndexActivity.java new file mode 100644 index 0000000..b3f9c9c --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/IndexActivity.java @@ -0,0 +1,53 @@ +package com.example.app1; + +import android.app.FragmentTransaction; +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; +import android.widget.LinearLayout; + +import androidx.annotation.Nullable; +import androidx.appcompat.app.AppCompatActivity; +import androidx.fragment.app.Fragment; + +import com.google.android.material.bottomnavigation.BottomNavigationView; + +public class IndexActivity extends AppCompatActivity implements View.OnClickListener{ + private LinearLayout musicLine,findLine,liveLine,personLine; + + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.index_daohan); + init(); + switchFragment(new musicFragment()); + } + private void init(){ + musicLine = findViewById(R.id.gaohan1); + musicLine.setOnClickListener(this); + findLine = findViewById(R.id.gaohan2); + findLine.setOnClickListener(this); + liveLine = findViewById(R.id.gaohan3); + liveLine.setOnClickListener(this); + personLine = findViewById(R.id.gaohan4); + personLine.setOnClickListener(this); + } + @Override + public void onClick(View view){ + if (view.getId() == R.id.gaohan1) { + switchFragment(new musicFragment()); + } else if (view.getId() == R.id.gaohan2) { + switchFragment(new findFragment()); + } else if (view.getId() == R.id.gaohan3) { + switchFragment(new liveFragment()); + } else if (view.getId() == R.id.gaohan4) { + switchFragment(new personFragment()); + } + } + + private void switchFragment(Fragment fragment) { + getSupportFragmentManager().beginTransaction().replace(R.id.gaohan, fragment).commit(); + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity.java b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity.java new file mode 100644 index 0000000..38ba6cc --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity.java @@ -0,0 +1,38 @@ +package com.example.app1; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + +public class MainActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + + //获取按钮 + Button button = (Button) findViewById(R.id.button); + + //按钮进行监听 + button.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + //监听按钮,如果点击,就跳转 + Intent intent = new Intent(); + //前一个(MainActivity.this)是目前页面,后面一个是要跳转的下一个页面 + + intent.setClass(MainActivity.this,MainActivity2.class); + startActivity(intent); + } + }); + + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity2.java b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity2.java new file mode 100644 index 0000000..4e416e2 --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity2.java @@ -0,0 +1,63 @@ +package com.example.app1; + +import android.annotation.SuppressLint; +import android.content.Intent; +import android.content.SharedPreferences; +import android.os.Bundle; +import android.util.Log; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; +import android.widget.Toast; + +import androidx.activity.EdgeToEdge; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + + +public class MainActivity2 extends AppCompatActivity { + + private EditText username; + private EditText password; + private Button login; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.user_login); + + username = findViewById(R.id.username); + password = findViewById(R.id.password); + login = findViewById(R.id.login); + + login.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + String strUsername = username.getText().toString().trim(); + String strPassword = password.getText().toString().trim(); + + // 从SharedPreferences中获取保存的账号和密码 + SharedPreferences sharedPreferences = getSharedPreferences("user_mes", MODE_PRIVATE); + String savedUsername = sharedPreferences.getString("username", ""); + String savedPassword = sharedPreferences.getString("password", ""); + + if (strUsername.equals(savedUsername) && strPassword.equals(savedPassword)) { + Toast.makeText(MainActivity2.this, "恭喜,登录成功!", Toast.LENGTH_SHORT).show(); + Intent intent1 = new Intent(MainActivity2.this, IndexActivity.class); + startActivity(intent1); + } else { + Toast.makeText(MainActivity2.this, "用户名或密码错误!", Toast.LENGTH_SHORT).show(); + } + + } + }); + } + + //点击注册按钮时,跳转到注册界面 + public void zhuce(View view) { + Intent intent2 = new Intent(MainActivity2.this, MainActivity3.class); + startActivity(intent2); + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity3.java b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity3.java new file mode 100644 index 0000000..8438cbc --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/MainActivity3.java @@ -0,0 +1,116 @@ +package com.example.app1; + +import android.app.DatePickerDialog; +import android.content.DialogInterface; +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.CheckBox; +import android.widget.CompoundButton; +import android.widget.RadioButton; +import android.widget.RadioGroup; +import android.widget.TextView; +import android.widget.Toast; + +import androidx.activity.EdgeToEdge; +import androidx.annotation.IdRes; +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; +import androidx.core.graphics.Insets; +import androidx.core.view.ViewCompat; +import androidx.core.view.WindowInsetsCompat; + +public class MainActivity3 extends AppCompatActivity implements View.OnClickListener{ + private TextView reg_username; + private TextView reg_password; + private TextView reg_sure_password; + private RadioGroup radiogroup; + private CheckBox ah1,ah2,ah3,ah4; + private String sex="男"; + private String aihao1="",aihao2="",aihao3="",aihao4=""; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + //这个是获取布局文件的,这里是你下一个页面的布局文件//注意这个是跳转界面的不能设置错,应该是第一个 + setContentView(R.layout.user_register); + //组件初始化 + reg_username = findViewById(R.id.reg_username); + reg_password = findViewById(R.id.reg_password); + reg_sure_password = findViewById(R.id.reg_sure_password); + + findViewById(R.id.reg_register).setOnClickListener((View.OnClickListener) this); + radiogroup=findViewById(R.id.rp); + radiogroup.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { + @Override + public void onCheckedChanged(RadioGroup group, int checkedId) { + if(checkedId==R.id.man) + {sex="男";} + if(checkedId==R.id.woman) + {sex="女";} + } + }); + + ah1=findViewById(R.id.chang); + ah2=findViewById(R.id.tiao); + ah3=findViewById(R.id.rap); + ah4=findViewById(R.id.basketball); + CompoundButton.OnCheckedChangeListener occl=new CompoundButton.OnCheckedChangeListener() { + @Override + public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { + if(buttonView.getId()==R.id.chang){ + if(isChecked){aihao1="唱";} + else{aihao1="";} + } + else if(buttonView.getId()==R.id.tiao){ + if(isChecked){aihao2="跳";} + else{aihao2="";} + } + else if(buttonView.getId()==R.id.rap){ + if(isChecked){aihao3="rap";} + else{aihao3="";} + } + else if(buttonView.getId()==R.id.basketball){ + if(isChecked){aihao4="篮球";} + else{aihao4="";} + } + } + }; + ah1.setOnCheckedChangeListener(occl); + ah2.setOnCheckedChangeListener(occl); + ah3.setOnCheckedChangeListener(occl); + ah4.setOnCheckedChangeListener(occl); + } + + @Override + public void onClick(View view){ + String password = reg_password.getText().toString(); + String surepassword = reg_sure_password.getText().toString(); + if(password.equals(surepassword)){ + Intent intent1 = new Intent(this, shuju.class); + Bundle bundle = new Bundle(); + bundle.putString("username",reg_username.getText().toString()); + bundle.putString("paswd",reg_password.getText().toString()); + bundle.putString("sex",sex); + bundle.putString("ah1",aihao1); + bundle.putString("ah2",aihao2); + bundle.putString("ah3",aihao3); + bundle.putString("ah4",aihao4); + + intent1.putExtras(bundle); + startActivity(intent1); + }else{ + Toast.makeText(MainActivity3.this,"两次输入密码错不一致!",Toast.LENGTH_SHORT).show(); + } + + + } + + + + public void fanhui(View view) { + Intent intent5 = new Intent(MainActivity3.this,MainActivity2.class); + this.startActivity(intent5); + } + +} \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/findFragment.java b/App12-second-ttt/app/src/main/java/com/example/app1/findFragment.java new file mode 100644 index 0000000..dd02773 --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/findFragment.java @@ -0,0 +1,21 @@ +package com.example.app1; + +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; + +public class findFragment extends Fragment { + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ + View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_find,container,false); + init(view); + return view; + } + + private void init(View view) { + + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/liveFragment.java b/App12-second-ttt/app/src/main/java/com/example/app1/liveFragment.java new file mode 100644 index 0000000..81d5be3 --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/liveFragment.java @@ -0,0 +1,21 @@ +package com.example.app1; + +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; + +public class liveFragment extends Fragment { + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ + View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_live,container,false); + init(view); + return view; + } + + private void init(View view) { + + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/musicFragment.java b/App12-second-ttt/app/src/main/java/com/example/app1/musicFragment.java new file mode 100644 index 0000000..21e8ce9 --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/musicFragment.java @@ -0,0 +1,21 @@ +package com.example.app1; + +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; + +public class musicFragment extends Fragment { + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ + View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_music,container,false); + init(view); + return view; + } + + private void init(View view) { + + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/personFragment.java b/App12-second-ttt/app/src/main/java/com/example/app1/personFragment.java new file mode 100644 index 0000000..75d3a9c --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/personFragment.java @@ -0,0 +1,24 @@ +package com.example.app1; + +import android.content.Intent; +import android.os.Bundle; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import androidx.fragment.app.Fragment; + +public class personFragment extends Fragment { + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ + View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_person,container,false); + init(view); + return view; + } + + private void init(View view) { + } + public void tuichudenglu(View view){ + + } +} diff --git a/App12-second-ttt/app/src/main/java/com/example/app1/shuju.java b/App12-second-ttt/app/src/main/java/com/example/app1/shuju.java new file mode 100644 index 0000000..746016f --- /dev/null +++ b/App12-second-ttt/app/src/main/java/com/example/app1/shuju.java @@ -0,0 +1,78 @@ +package com.example.app1; + +import android.content.Context; +import android.content.DialogInterface; +import android.content.Intent; +import android.content.SharedPreferences; +import android.os.Bundle; +import android.view.View; +import android.widget.TextView; + +import androidx.appcompat.app.AlertDialog; +import androidx.appcompat.app.AppCompatActivity; + +public class shuju extends AppCompatActivity { + + String name,paswd,sex,ah1,ah2,ah3,ah4; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.shuju); + + // 获取上一个Activity传递过来的用户信息 + Bundle bundle = this.getIntent().getExtras(); + name = bundle.getString("username"); + paswd = bundle.getString("paswd"); + sex = bundle.getString("sex"); + ah1 = bundle.getString("ah1"); + ah2 = bundle.getString("ah2"); + ah3 = bundle.getString("ah3"); + ah4 = bundle.getString("ah4"); + + // 显示用户信息 + TextView show_text = findViewById(R.id.tv_shuju); + show_text.setText("账号:"+name+"\n"+"密码:"+paswd+"\n"+"性别:"+sex+"\n"+"爱好:"+ah1+ah2+ah3+ah4); + + // 保存账号和密码 + saveCredentials(this, name, paswd); + } + + private void saveCredentials(Context context, String username, String password) { + // 创建或获取SharedPreferences对象 + SharedPreferences sharedPreferences = context.getSharedPreferences("user_mes", MODE_PRIVATE); + SharedPreferences.Editor editor = sharedPreferences.edit(); + + // 保存账号和密码 + editor.putString("username", username); + editor.putString("password", password); + + // 提交保存 + editor.apply(); + } + + public void re1(View view){ + AlertDialog.Builder builder=new AlertDialog.Builder(this); + builder.setIcon(R.mipmap.ic_launcher) + .setMessage("确定退出?") + .setPositiveButton("确定", new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + dialog.dismiss(); + Intent intent3 = new Intent(shuju.this, MainActivity2.class); + startActivity(intent3); + } + }) + .setNegativeButton("取消", new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + dialog.dismiss(); + } + }); + AlertDialog adialog=builder.create(); + adialog.show(); + + } + +} + diff --git a/App12-second-ttt/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/App12-second-ttt/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable-v24/tubiao_foreground.xml b/App12-second-ttt/app/src/main/res/drawable-v24/tubiao_foreground.xml new file mode 100644 index 0000000..da1dcd9 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable-v24/tubiao_foreground.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/arrow_down.xml b/App12-second-ttt/app/src/main/res/drawable/arrow_down.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/arrow_down.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/background.jpg b/App12-second-ttt/app/src/main/res/drawable/background.jpg new file mode 100644 index 0000000..447560b Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/background.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/background2.jpg b/App12-second-ttt/app/src/main/res/drawable/background2.jpg new file mode 100644 index 0000000..357b543 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/background2.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/background3.jpg b/App12-second-ttt/app/src/main/res/drawable/background3.jpg new file mode 100644 index 0000000..13786d2 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/background3.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/baseline_add_location_alt_24.xml b/App12-second-ttt/app/src/main/res/drawable/baseline_add_location_alt_24.xml new file mode 100644 index 0000000..5240626 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/baseline_add_location_alt_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/baseline_face_24.xml b/App12-second-ttt/app/src/main/res/drawable/baseline_face_24.xml new file mode 100644 index 0000000..665f371 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/baseline_face_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/baseline_lock_24.xml b/App12-second-ttt/app/src/main/res/drawable/baseline_lock_24.xml new file mode 100644 index 0000000..1813549 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/baseline_lock_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/baseline_music_note_24.xml b/App12-second-ttt/app/src/main/res/drawable/baseline_music_note_24.xml new file mode 100644 index 0000000..96942ff --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/baseline_music_note_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/baseline_vpn_key_24.xml b/App12-second-ttt/app/src/main/res/drawable/baseline_vpn_key_24.xml new file mode 100644 index 0000000..c6d1b76 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/baseline_vpn_key_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/bofang.jpg b/App12-second-ttt/app/src/main/res/drawable/bofang.jpg new file mode 100644 index 0000000..c60ec3a Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/bofang.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/bofanganniu.gif b/App12-second-ttt/app/src/main/res/drawable/bofanganniu.gif new file mode 100644 index 0000000..0018ea0 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/bofanganniu.gif differ diff --git a/App12-second-ttt/app/src/main/res/drawable/button.xml b/App12-second-ttt/app/src/main/res/drawable/button.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/button.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/button_login.xml b/App12-second-ttt/app/src/main/res/drawable/button_login.xml new file mode 100644 index 0000000..d5d20ce --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/button_login.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/button_regist.xml b/App12-second-ttt/app/src/main/res/drawable/button_regist.xml new file mode 100644 index 0000000..c69c325 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/button_regist.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/dabackground.webp b/App12-second-ttt/app/src/main/res/drawable/dabackground.webp new file mode 100644 index 0000000..ea738d7 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/dabackground.webp differ diff --git a/App12-second-ttt/app/src/main/res/drawable/diantai.png b/App12-second-ttt/app/src/main/res/drawable/diantai.png new file mode 100644 index 0000000..b9da5f9 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/diantai.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/fengmianbackground.jpeg b/App12-second-ttt/app/src/main/res/drawable/fengmianbackground.jpeg new file mode 100644 index 0000000..2fe7d26 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/fengmianbackground.jpeg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/find.png b/App12-second-ttt/app/src/main/res/drawable/find.png new file mode 100644 index 0000000..aa09bab Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/find.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/ic_launcher_background.xml b/App12-second-ttt/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/App12-second-ttt/app/src/main/res/drawable/img.png b/App12-second-ttt/app/src/main/res/drawable/img.png new file mode 100644 index 0000000..34fee5f Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/img.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/liebiao.jpg b/App12-second-ttt/app/src/main/res/drawable/liebiao.jpg new file mode 100644 index 0000000..bb52d4b Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/liebiao.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/liebiao1.png b/App12-second-ttt/app/src/main/res/drawable/liebiao1.png new file mode 100644 index 0000000..01a7459 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/liebiao1.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/live.png b/App12-second-ttt/app/src/main/res/drawable/live.png new file mode 100644 index 0000000..c22a754 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/live.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/music.png b/App12-second-ttt/app/src/main/res/drawable/music.png new file mode 100644 index 0000000..6e02e8f Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/music.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/note.xml b/App12-second-ttt/app/src/main/res/drawable/note.xml new file mode 100644 index 0000000..1181693 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/note.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/drawable/person.png b/App12-second-ttt/app/src/main/res/drawable/person.png new file mode 100644 index 0000000..5e78818 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/person.png differ diff --git a/App12-second-ttt/app/src/main/res/drawable/sousuo.jpg b/App12-second-ttt/app/src/main/res/drawable/sousuo.jpg new file mode 100644 index 0000000..aafd508 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/sousuo.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tuijian1.JPG b/App12-second-ttt/app/src/main/res/drawable/tuijian1.JPG new file mode 100644 index 0000000..d92107e Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tuijian1.JPG differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tuijian2.JPG b/App12-second-ttt/app/src/main/res/drawable/tuijian2.JPG new file mode 100644 index 0000000..c276e85 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tuijian2.JPG differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tuijian3.jpg b/App12-second-ttt/app/src/main/res/drawable/tuijian3.jpg new file mode 100644 index 0000000..62433ea Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tuijian3.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground1.jpeg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground1.jpeg new file mode 100644 index 0000000..b77a1f0 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground1.jpeg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground2.jpeg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground2.jpeg new file mode 100644 index 0000000..85964e0 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground2.jpeg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground3.jpg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground3.jpg new file mode 100644 index 0000000..2db8083 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground3.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground4.jpg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground4.jpg new file mode 100644 index 0000000..d4c13d8 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground4.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground5.jpg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground5.jpg new file mode 100644 index 0000000..e8e0bd1 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground5.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground6.jpg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground6.jpg new file mode 100644 index 0000000..ff97d0b Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground6.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/tupianbackground7.jpg b/App12-second-ttt/app/src/main/res/drawable/tupianbackground7.jpg new file mode 100644 index 0000000..e24dce5 Binary files /dev/null and b/App12-second-ttt/app/src/main/res/drawable/tupianbackground7.jpg differ diff --git a/App12-second-ttt/app/src/main/res/drawable/twotone_person_add_alt_24.xml b/App12-second-ttt/app/src/main/res/drawable/twotone_person_add_alt_24.xml new file mode 100644 index 0000000..b3a2a80 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/drawable/twotone_person_add_alt_24.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/App12-second-ttt/app/src/main/res/layout/activity_main.xml b/App12-second-ttt/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..2cf6fb2 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/layout/content.xml b/App12-second-ttt/app/src/main/res/layout/content.xml new file mode 100644 index 0000000..c825e86 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/layout/content.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/layout/fragment_find.xml b/App12-second-ttt/app/src/main/res/layout/fragment_find.xml new file mode 100644 index 0000000..be79926 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/layout/fragment_find.xml @@ -0,0 +1,20 @@ + + + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/layout/fragment_live.xml b/App12-second-ttt/app/src/main/res/layout/fragment_live.xml new file mode 100644 index 0000000..f0a5aa2 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/layout/fragment_live.xml @@ -0,0 +1,18 @@ + + + + + + + \ No newline at end of file diff --git a/App12-second-ttt/app/src/main/res/layout/fragment_music.xml b/App12-second-ttt/app/src/main/res/layout/fragment_music.xml new file mode 100644 index 0000000..b501b03 --- /dev/null +++ b/App12-second-ttt/app/src/main/res/layout/fragment_music.xml @@ -0,0 +1,257 @@ + + + + + + + + + +