yyHAN 2 years ago
parent 7bf4433e7b
commit 36fc02e495

@ -0,0 +1,9 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="4">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/MyApplication6.iml" filepath="$PROJECT_DIR$/MyApplication6.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
</modules>
</component>
</project>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>

@ -0,0 +1,30 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.yyhan.myapplication"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.0.0-beta1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:0.5'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2'
compile 'liji.library.dev:citypickerview:1.1.0'
}

@ -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

@ -0,0 +1,26 @@
package com.example.yyhan.myapplication;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.example.yyhan.myapplication", appContext.getPackageName());
}
}

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.yyhan.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".userActivity"></activity>
<activity android:name=".RegisterActivity"></activity>
</application>
</manifest>

@ -0,0 +1,43 @@
package com.example.yyhan.myapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.view.View;
import android.support.v7.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//建立与xml组件的链接
Button button1 = findViewById(R.id.b1);
final Intent intent = new Intent(this,userActivity.class);
button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startActivity(intent);
}
});
Button button2 = findViewById(R.id.b2);
final Intent intent2 = new Intent(this,RegisterActivity.class);
button2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startActivity(intent2);
}
});
}
}

@ -0,0 +1,129 @@
package com.example.yyhan.myapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.view.View;
import android.graphics.Color;
import android.util.Log;
import android.widget.TextView;
import com.lljjcoder.citypickerview.widget.CityPicker;
public class RegisterActivity extends AppCompatActivity {
private CityPicker cityPicker;
private TextView adresss;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_register);
initView();
Button button = findViewById(R.id.register);
final Intent intent = new Intent(this,MainActivity.class);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
startActivity(intent);
}
});
}
public void initCityPicker() {
//滚轮文字的大小
//滚轮文字的颜色
//省份滚轮是否循环显示
//城市滚轮是否循环显示
//地区(县)滚轮是否循环显示
//滚轮显示的item个数
//滚轮item间距
cityPicker = new CityPicker.Builder(this)
.textSize(20)//滚轮文字的大小
.title("地址选择")
.backgroundPop(0xa0000000)
.titleBackgroundColor("#0CB6CA")
.titleTextColor("#000000")
.backgroundPop(0xa0000000)
.confirTextColor("#000000")
.cancelTextColor("#000000")
.province("xx省")
.city("xx市")
.district("xx区")
.textColor(Color.parseColor("#000000"))//滚轮文字的颜色
.provinceCyclic(true)//省份滚轮是否循环显示
.cityCyclic(false)//城市滚轮是否循环显示
.districtCyclic(false)//地区(县)滚轮是否循环显示
.visibleItemsCount(7)//滚轮显示的item个数
.itemPadding(10)//滚轮item间距
.onlyShowProvinceAndCity(false)
.build();
//监听方法,获取选择结果
cityPicker.setOnCityItemClickListener(new CityPicker.OnCityItemClickListener() {
@Override
public void onSelected(String... citySelected) {
//省份
String province = citySelected[0];
//城市
String city = citySelected[1];
//区县(如果设定了两级联动,那么该项返回空)
String district = citySelected[2];
//邮编
String code = citySelected[3];
adresss.setText(province + city + district);
Log.e("aaaaaaaaaaaaaa",adresss.getText().toString());
}
@Override
public void onCancel() {
}
});
}
//隐藏软键盘
// InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
// imm.hideSoftInputFromWindow(view.getWindowToken(),0); //强制隐藏键盘
private void initView() {
adresss = (TextView) findViewById(R.id.adresss);
adresss.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
initCityPicker();
cityPicker.show();
}
});
}
}
//public class RgisterActivity extends AppCompatActivity {
//
//
//
// @Override
// protected void onCreate(Bundle savedInstanceState) {
// super.onCreate(savedInstanceState);
// setContentView(R.layout.activity_register);
//
// //建立与xml组件的链接
// Button button = findViewById(R.id.reg_register);
// final Intent intent = new Intent(this,MainActivity.class);
// button.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
//
// startActivity(intent);
// }
// });
// }
//
//}

@ -0,0 +1,14 @@
package com.example.yyhan.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.content.Intent;
public class userActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_user);
}
}

@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1" />
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape>
<solid android:color="#EFB81C" />
<corners android:radius="5dp" />
</shape>
</item>
<item android:state_pressed="true">
<shape>
<solid android:color="#c0c0c0" />
<corners android:radius="5dp" />
</shape>
</item>
</selector>

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape>
<solid android:color="#c0c0c0" />
</shape>
</item>
<item android:state_pressed="true">
<shape>
<solid android:color="#c0c0c0" />
<corners android:radius="10dp" />
</shape>
</item>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#008577"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>

@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeWidth="1"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<solid android:color="#FFFFFF"/>
<corners android:radius="2dip"/>
<stroke
android:width="1dp"
android:color="#FFFFFF"
/>
</shape>
</item>
<item>
<bitmap android:src="@drawable/arrow_down" android:gravity="end"/>
</item>
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1,104 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ffffff">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:src="@drawable/orange" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="orange"
android:textAlignment="center"
android:textColor="#FFA500"
android:textSize="30sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="30dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/user" />
<EditText
android:layout_width="240dp"
android:layout_height="60dp"
android:hint="username"
android:id="@+id/n1"
android:maxLength="10"
android:maxLines="1"
android:textAlignment="center" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="10dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/password" />
<EditText
android:layout_width="240dp"
android:layout_height="60dp"
android:hint="passward"
android:maxLength="10"
android:maxLines="1"
android:textAlignment="center" />
</LinearLayout>
<Button
android:id="@+id/b1"
android:layout_width="250dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/button_login"
android:text="登录"
android:textColor="#FFFFFF"
android:textSize="22sp"
android:layout_marginTop="10dp"
/>
<Button
android:id="@+id/b2"
android:layout_width="250dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/button_login"
android:text="注册"
android:textColor="#FFFFFF"
android:textSize="22sp"
android:layout_marginTop="10dp"
android:onClick="click"/>
</LinearLayout>

@ -0,0 +1,172 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#E8E8E8">
<!--APPLogo及名字-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="0dp"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:src="@drawable/orange" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="22sp"
android:textColor="#000000"
android:textStyle="italic"
android:text="Orange" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="0dp"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:src="@drawable/user" />
<EditText
android:id="@+id/reg_username"
android:layout_width="290dp"
android:layout_height="60dp"
android:textAlignment="center"
android:maxLength="10"
android:maxLines="1"
android:hint="用户名;10位" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:src="@drawable/password" />
<EditText
android:id="@+id/reg_password"
android:layout_width="290dp"
android:layout_height="60dp"
android:inputType="textPassword"
android:textAlignment="center"
android:maxLength="16"
android:maxLines="1"
android:hint="密码;6-16位" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:src="@drawable/sure_apssword" />
<EditText
android:id="@+id/reg_sure_password"
android:layout_width="290dp"
android:layout_height="60dp"
android:inputType="textPassword"
android:textAlignment="center"
android:maxLength="16"
android:maxLines="1"
android:hint="确认密码" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:src="@drawable/sex" />
<RadioGroup
android:id="@+id/sex"
android:layout_width="290dp"
android:layout_height="wrap_content"
android:orientation="horizontal">
<RadioButton
android:id="@+id/reg_man"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="男" />
<RadioButton
android:id="@+id/reg_woman"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="女" />
</RadioGroup>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center_vertical"
android:src="@drawable/address" />
<TextView
android:id="@+id/adresss"
android:layout_width="290dp"
android:layout_height="50dp"
android:gravity="center"
android:maxLength="20"
android:maxLines="1"
android:drawableRight="@drawable/arrow_down"
android:hint="地址选择" />
</LinearLayout>
<Button
android:id="@+id/register"
android:layout_width="280dp"
android:layout_height="50dp"
android:layout_marginTop="0dp"
android:textSize="18sp"
android:layout_gravity="center_horizontal"
android:background="@drawable/button_login"
android:textColor="#FFFFFF"
android:text="注册" />
</LinearLayout>

@ -0,0 +1,163 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#ffffff">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:src="@drawable/f" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="30dp"
android:orientation="horizontal">
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/s3" />
<EditText
android:layout_width="310dp"
android:layout_height="45dp"
android:maxLength="10"
android:maxLines="1"
android:text="卡卷" />
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/arrow_right" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="10dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/s5" />
<EditText
android:id="@+id/username"
android:layout_width="310dp"
android:layout_height="40dp"
android:hint="n1"
android:maxLength="10"
android:maxLines="1"
android:text="用户名yyHAN"
/>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/arrow_right" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="10dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/sex" />
<EditText
android:layout_width="310dp"
android:layout_height="40dp"
android:id="@+id/s1"
android:maxLength="10"
android:maxLines="1"
android:text="性别:男"
/>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/arrow_right" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="20dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/s2"/>
<EditText
android:layout_width="310dp"
android:layout_height="40dp"
android:maxLength="10"
android:maxLines="1"
android:text="通用"
/>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/arrow_right" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:layout_marginTop="20dp"
android:orientation="horizontal"
>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/shezhi" />
<EditText
android:layout_width="310dp"
android:layout_height="40dp"
android:maxLength="10"
android:maxLines="1"
android:text="设置"
/>
<ImageView
android:layout_width="30dp"
android:layout_height="40dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/arrow_right" />
</LinearLayout>
</LinearLayout>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
</resources>

@ -0,0 +1,3 @@
<resources>
<string name="app_name">My Application</string>
</resources>

@ -0,0 +1,11 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>

@ -0,0 +1,17 @@
package com.example.yyhan.myapplication;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.compat;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,186 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.constraint;
public final class R {
public static final class attr {
public static final int constraintSet = 0x7f020054;
public static final int layout_constraintBaseline_creator = 0x7f020086;
public static final int layout_constraintBaseline_toBaselineOf = 0x7f020087;
public static final int layout_constraintBottom_creator = 0x7f020088;
public static final int layout_constraintBottom_toBottomOf = 0x7f020089;
public static final int layout_constraintBottom_toTopOf = 0x7f02008a;
public static final int layout_constraintDimensionRatio = 0x7f02008b;
public static final int layout_constraintEnd_toEndOf = 0x7f02008c;
public static final int layout_constraintEnd_toStartOf = 0x7f02008d;
public static final int layout_constraintGuide_begin = 0x7f02008e;
public static final int layout_constraintGuide_end = 0x7f02008f;
public static final int layout_constraintGuide_percent = 0x7f020090;
public static final int layout_constraintHeight_default = 0x7f020091;
public static final int layout_constraintHeight_max = 0x7f020092;
public static final int layout_constraintHeight_min = 0x7f020093;
public static final int layout_constraintHorizontal_bias = 0x7f020094;
public static final int layout_constraintHorizontal_chainStyle = 0x7f020095;
public static final int layout_constraintHorizontal_weight = 0x7f020096;
public static final int layout_constraintLeft_creator = 0x7f020097;
public static final int layout_constraintLeft_toLeftOf = 0x7f020098;
public static final int layout_constraintLeft_toRightOf = 0x7f020099;
public static final int layout_constraintRight_creator = 0x7f02009a;
public static final int layout_constraintRight_toLeftOf = 0x7f02009b;
public static final int layout_constraintRight_toRightOf = 0x7f02009c;
public static final int layout_constraintStart_toEndOf = 0x7f02009d;
public static final int layout_constraintStart_toStartOf = 0x7f02009e;
public static final int layout_constraintTop_creator = 0x7f02009f;
public static final int layout_constraintTop_toBottomOf = 0x7f0200a0;
public static final int layout_constraintTop_toTopOf = 0x7f0200a1;
public static final int layout_constraintVertical_bias = 0x7f0200a2;
public static final int layout_constraintVertical_chainStyle = 0x7f0200a3;
public static final int layout_constraintVertical_weight = 0x7f0200a4;
public static final int layout_constraintWidth_default = 0x7f0200a5;
public static final int layout_constraintWidth_max = 0x7f0200a6;
public static final int layout_constraintWidth_min = 0x7f0200a7;
public static final int layout_editor_absoluteX = 0x7f0200a8;
public static final int layout_editor_absoluteY = 0x7f0200a9;
public static final int layout_goneMarginBottom = 0x7f0200aa;
public static final int layout_goneMarginEnd = 0x7f0200ab;
public static final int layout_goneMarginLeft = 0x7f0200ac;
public static final int layout_goneMarginRight = 0x7f0200ad;
public static final int layout_goneMarginStart = 0x7f0200ae;
public static final int layout_goneMarginTop = 0x7f0200af;
public static final int layout_optimizationLevel = 0x7f0200b0;
}
public static final class id {
public static final int all = 0x7f07001d;
public static final int basic = 0x7f07001f;
public static final int chains = 0x7f070024;
public static final int none = 0x7f070044;
public static final int packed = 0x7f070049;
public static final int parent = 0x7f07004a;
public static final int spread = 0x7f070066;
public static final int spread_inside = 0x7f070067;
public static final int wrap = 0x7f070080;
}
public static final class styleable {
public static final int[] ConstraintLayout_Layout = { 0x010100c4, 0x0101011f, 0x01010120, 0x0101013f, 0x01010140, 0x7f020054, 0x7f020086, 0x7f020087, 0x7f020088, 0x7f020089, 0x7f02008a, 0x7f02008b, 0x7f02008c, 0x7f02008d, 0x7f02008e, 0x7f02008f, 0x7f020090, 0x7f020091, 0x7f020092, 0x7f020093, 0x7f020094, 0x7f020095, 0x7f020096, 0x7f020097, 0x7f020098, 0x7f020099, 0x7f02009a, 0x7f02009b, 0x7f02009c, 0x7f02009d, 0x7f02009e, 0x7f02009f, 0x7f0200a0, 0x7f0200a1, 0x7f0200a2, 0x7f0200a3, 0x7f0200a4, 0x7f0200a5, 0x7f0200a6, 0x7f0200a7, 0x7f0200a8, 0x7f0200a9, 0x7f0200aa, 0x7f0200ab, 0x7f0200ac, 0x7f0200ad, 0x7f0200ae, 0x7f0200af, 0x7f0200b0 };
public static final int ConstraintLayout_Layout_android_orientation = 0;
public static final int ConstraintLayout_Layout_android_maxWidth = 1;
public static final int ConstraintLayout_Layout_android_maxHeight = 2;
public static final int ConstraintLayout_Layout_android_minWidth = 3;
public static final int ConstraintLayout_Layout_android_minHeight = 4;
public static final int ConstraintLayout_Layout_constraintSet = 5;
public static final int ConstraintLayout_Layout_layout_constraintBaseline_creator = 6;
public static final int ConstraintLayout_Layout_layout_constraintBaseline_toBaselineOf = 7;
public static final int ConstraintLayout_Layout_layout_constraintBottom_creator = 8;
public static final int ConstraintLayout_Layout_layout_constraintBottom_toBottomOf = 9;
public static final int ConstraintLayout_Layout_layout_constraintBottom_toTopOf = 10;
public static final int ConstraintLayout_Layout_layout_constraintDimensionRatio = 11;
public static final int ConstraintLayout_Layout_layout_constraintEnd_toEndOf = 12;
public static final int ConstraintLayout_Layout_layout_constraintEnd_toStartOf = 13;
public static final int ConstraintLayout_Layout_layout_constraintGuide_begin = 14;
public static final int ConstraintLayout_Layout_layout_constraintGuide_end = 15;
public static final int ConstraintLayout_Layout_layout_constraintGuide_percent = 16;
public static final int ConstraintLayout_Layout_layout_constraintHeight_default = 17;
public static final int ConstraintLayout_Layout_layout_constraintHeight_max = 18;
public static final int ConstraintLayout_Layout_layout_constraintHeight_min = 19;
public static final int ConstraintLayout_Layout_layout_constraintHorizontal_bias = 20;
public static final int ConstraintLayout_Layout_layout_constraintHorizontal_chainStyle = 21;
public static final int ConstraintLayout_Layout_layout_constraintHorizontal_weight = 22;
public static final int ConstraintLayout_Layout_layout_constraintLeft_creator = 23;
public static final int ConstraintLayout_Layout_layout_constraintLeft_toLeftOf = 24;
public static final int ConstraintLayout_Layout_layout_constraintLeft_toRightOf = 25;
public static final int ConstraintLayout_Layout_layout_constraintRight_creator = 26;
public static final int ConstraintLayout_Layout_layout_constraintRight_toLeftOf = 27;
public static final int ConstraintLayout_Layout_layout_constraintRight_toRightOf = 28;
public static final int ConstraintLayout_Layout_layout_constraintStart_toEndOf = 29;
public static final int ConstraintLayout_Layout_layout_constraintStart_toStartOf = 30;
public static final int ConstraintLayout_Layout_layout_constraintTop_creator = 31;
public static final int ConstraintLayout_Layout_layout_constraintTop_toBottomOf = 32;
public static final int ConstraintLayout_Layout_layout_constraintTop_toTopOf = 33;
public static final int ConstraintLayout_Layout_layout_constraintVertical_bias = 34;
public static final int ConstraintLayout_Layout_layout_constraintVertical_chainStyle = 35;
public static final int ConstraintLayout_Layout_layout_constraintVertical_weight = 36;
public static final int ConstraintLayout_Layout_layout_constraintWidth_default = 37;
public static final int ConstraintLayout_Layout_layout_constraintWidth_max = 38;
public static final int ConstraintLayout_Layout_layout_constraintWidth_min = 39;
public static final int ConstraintLayout_Layout_layout_editor_absoluteX = 40;
public static final int ConstraintLayout_Layout_layout_editor_absoluteY = 41;
public static final int ConstraintLayout_Layout_layout_goneMarginBottom = 42;
public static final int ConstraintLayout_Layout_layout_goneMarginEnd = 43;
public static final int ConstraintLayout_Layout_layout_goneMarginLeft = 44;
public static final int ConstraintLayout_Layout_layout_goneMarginRight = 45;
public static final int ConstraintLayout_Layout_layout_goneMarginStart = 46;
public static final int ConstraintLayout_Layout_layout_goneMarginTop = 47;
public static final int ConstraintLayout_Layout_layout_optimizationLevel = 48;
public static final int[] ConstraintSet = { 0x010100c4, 0x010100d0, 0x010100dc, 0x010100f4, 0x010100f5, 0x010100f7, 0x010100f8, 0x010100f9, 0x010100fa, 0x0101031f, 0x01010320, 0x01010321, 0x01010322, 0x01010323, 0x01010324, 0x01010325, 0x01010327, 0x01010328, 0x010103b5, 0x010103b6, 0x010103fa, 0x01010440, 0x7f020086, 0x7f020087, 0x7f020088, 0x7f020089, 0x7f02008a, 0x7f02008b, 0x7f02008c, 0x7f02008d, 0x7f02008e, 0x7f02008f, 0x7f020090, 0x7f020091, 0x7f020092, 0x7f020093, 0x7f020094, 0x7f020095, 0x7f020096, 0x7f020097, 0x7f020098, 0x7f020099, 0x7f02009a, 0x7f02009b, 0x7f02009c, 0x7f02009d, 0x7f02009e, 0x7f02009f, 0x7f0200a0, 0x7f0200a1, 0x7f0200a2, 0x7f0200a3, 0x7f0200a4, 0x7f0200a5, 0x7f0200a6, 0x7f0200a7, 0x7f0200a8, 0x7f0200a9, 0x7f0200aa, 0x7f0200ab, 0x7f0200ac, 0x7f0200ad, 0x7f0200ae, 0x7f0200af };
public static final int ConstraintSet_android_orientation = 0;
public static final int ConstraintSet_android_id = 1;
public static final int ConstraintSet_android_visibility = 2;
public static final int ConstraintSet_android_layout_width = 3;
public static final int ConstraintSet_android_layout_height = 4;
public static final int ConstraintSet_android_layout_marginLeft = 5;
public static final int ConstraintSet_android_layout_marginTop = 6;
public static final int ConstraintSet_android_layout_marginRight = 7;
public static final int ConstraintSet_android_layout_marginBottom = 8;
public static final int ConstraintSet_android_alpha = 9;
public static final int ConstraintSet_android_transformPivotX = 10;
public static final int ConstraintSet_android_transformPivotY = 11;
public static final int ConstraintSet_android_translationX = 12;
public static final int ConstraintSet_android_translationY = 13;
public static final int ConstraintSet_android_scaleX = 14;
public static final int ConstraintSet_android_scaleY = 15;
public static final int ConstraintSet_android_rotationX = 16;
public static final int ConstraintSet_android_rotationY = 17;
public static final int ConstraintSet_android_layout_marginStart = 18;
public static final int ConstraintSet_android_layout_marginEnd = 19;
public static final int ConstraintSet_android_translationZ = 20;
public static final int ConstraintSet_android_elevation = 21;
public static final int ConstraintSet_layout_constraintBaseline_creator = 22;
public static final int ConstraintSet_layout_constraintBaseline_toBaselineOf = 23;
public static final int ConstraintSet_layout_constraintBottom_creator = 24;
public static final int ConstraintSet_layout_constraintBottom_toBottomOf = 25;
public static final int ConstraintSet_layout_constraintBottom_toTopOf = 26;
public static final int ConstraintSet_layout_constraintDimensionRatio = 27;
public static final int ConstraintSet_layout_constraintEnd_toEndOf = 28;
public static final int ConstraintSet_layout_constraintEnd_toStartOf = 29;
public static final int ConstraintSet_layout_constraintGuide_begin = 30;
public static final int ConstraintSet_layout_constraintGuide_end = 31;
public static final int ConstraintSet_layout_constraintGuide_percent = 32;
public static final int ConstraintSet_layout_constraintHeight_default = 33;
public static final int ConstraintSet_layout_constraintHeight_max = 34;
public static final int ConstraintSet_layout_constraintHeight_min = 35;
public static final int ConstraintSet_layout_constraintHorizontal_bias = 36;
public static final int ConstraintSet_layout_constraintHorizontal_chainStyle = 37;
public static final int ConstraintSet_layout_constraintHorizontal_weight = 38;
public static final int ConstraintSet_layout_constraintLeft_creator = 39;
public static final int ConstraintSet_layout_constraintLeft_toLeftOf = 40;
public static final int ConstraintSet_layout_constraintLeft_toRightOf = 41;
public static final int ConstraintSet_layout_constraintRight_creator = 42;
public static final int ConstraintSet_layout_constraintRight_toLeftOf = 43;
public static final int ConstraintSet_layout_constraintRight_toRightOf = 44;
public static final int ConstraintSet_layout_constraintStart_toEndOf = 45;
public static final int ConstraintSet_layout_constraintStart_toStartOf = 46;
public static final int ConstraintSet_layout_constraintTop_creator = 47;
public static final int ConstraintSet_layout_constraintTop_toBottomOf = 48;
public static final int ConstraintSet_layout_constraintTop_toTopOf = 49;
public static final int ConstraintSet_layout_constraintVertical_bias = 50;
public static final int ConstraintSet_layout_constraintVertical_chainStyle = 51;
public static final int ConstraintSet_layout_constraintVertical_weight = 52;
public static final int ConstraintSet_layout_constraintWidth_default = 53;
public static final int ConstraintSet_layout_constraintWidth_max = 54;
public static final int ConstraintSet_layout_constraintWidth_min = 55;
public static final int ConstraintSet_layout_editor_absoluteX = 56;
public static final int ConstraintSet_layout_editor_absoluteY = 57;
public static final int ConstraintSet_layout_goneMarginBottom = 58;
public static final int ConstraintSet_layout_goneMarginEnd = 59;
public static final int ConstraintSet_layout_goneMarginLeft = 60;
public static final int ConstraintSet_layout_goneMarginRight = 61;
public static final int ConstraintSet_layout_goneMarginStart = 62;
public static final int ConstraintSet_layout_goneMarginTop = 63;
public static final int[] LinearConstraintLayout = { 0x010100c4 };
public static final int LinearConstraintLayout_android_orientation = 0;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.coreui;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.coreutils;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.fragment;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.graphics.drawable;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.graphics.drawable.animated;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.mediacompat;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

@ -0,0 +1,34 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package support.v4;
public final class R {
public static final class attr {
public static final int font = 0x7f02006f;
public static final int fontProviderAuthority = 0x7f020070;
public static final int fontProviderCerts = 0x7f020071;
public static final int fontProviderPackage = 0x7f020072;
public static final int fontProviderQuery = 0x7f020073;
public static final int fontStyle = 0x7f020074;
public static final int fontWeight = 0x7f020075;
}
public static final class id {
public static final int italic = 0x7f07003a;
public static final int normal = 0x7f070045;
}
public static final class styleable {
public static final int[] FontFamily = { 0x7f020070, 0x7f020071, 0x7f020072, 0x7f020073 };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderPackage = 2;
public static final int FontFamily_fontProviderQuery = 3;
public static final int[] FontFamilyFont = { 0x7f02006f, 0x7f020074, 0x7f020075 };
public static final int FontFamilyFont_font = 0;
public static final int FontFamilyFont_fontStyle = 1;
public static final int FontFamilyFont_fontWeight = 2;
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,24 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}

@ -0,0 +1,16 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

@ -0,0 +1,7 @@
#Mon Mar 20 17:37:45 CST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

@ -0,0 +1,160 @@
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"

@ -0,0 +1,90 @@
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

@ -0,0 +1 @@
Subproject commit fcd3a839ca5e6498f05e5f2386593d1290c3d9e7

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@ -0,0 +1 @@
Subproject commit 640127a9ba069059cbb880f2e536582c3fbe5fc1
Loading…
Cancel
Save