first commit

master
dushilian 6 years ago
parent 3d5bde25f9
commit 3e7fcd5bf9

@ -29,7 +29,7 @@
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">

@ -8,6 +8,6 @@ public class IndexActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_index);
setContentView(R.layout.index_my);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/flybackground"
tools:layout_editor_absoluteY="25dp">
tools:layout_editor_absoluteY="25dp"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"

@ -11,8 +11,8 @@
<EditText
android:id="@+id/et_username"
style="@style/textstyle"
android:layout_width="250dp"
android:layout_height="40dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
@ -28,8 +28,8 @@
<EditText
android:id="@+id/et_pwd"
style="@style/textstyle"
android:layout_width="250dp"
android:layout_height="40dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"

@ -0,0 +1,212 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/allbackground30">
<ImageView
android:id="@+id/backindexpng"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:src="@drawable/mybackindex"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/touxiang"
android:layout_width="120dp"
android:layout_height="119dp"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:src="@mipmap/choosehead"
app:layout_constraintBottom_toTopOf="@+id/linearLayout"
app:layout_constraintEnd_toStartOf="@+id/yonghuming"
app:layout_constraintStart_toStartOf="parent" />
<!--用户名!-->
<TextView
android:id="@+id/yonghuming"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/touxiang"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:text="用户名"
android:textColor="#000000"
android:textSize="30dp"
app:layout_constraintBottom_toTopOf="@+id/linearLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/touxiang"
tools:ignore="MissingConstraints" />
<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:background="#c1ffffff">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/myaccount" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="账号切换"
android:textColor="#696767"
android:textSize="40dp" />
<TextView
android:id="@+id/kong1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/jiantou1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:textColor="#696767"
android:textSize="40dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/mydata" />
<TextView
android:id="@+id/datatext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="修改资料"
android:textColor="#696767"
android:textSize="40dp" />
<TextView
android:id="@+id/kong2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/jiantou2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:textColor="#696767"
android:textSize="40dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/mypassword" />
<TextView
android:id="@+id/passwordtext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="更改密码"
android:textColor="#696767"
android:textSize="40dp" />
<TextView
android:id="@+id/kong3"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/jiantou3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:textColor="#696767"
android:textSize="40dp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/myhelp" />
<TextView
android:id="@+id/helptext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="帮助与反馈"
android:textColor="#696767"
android:textSize="40dp" />
<TextView
android:id="@+id/kong4"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/jiantou4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=">"
android:textColor="#696767"
android:textSize="40dp" />
</LinearLayout>
</LinearLayout>
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/linearLayout"
android:background="#e137b7b5"
android:text="退出APP"
android:textSize="20dp"
android:textColor="#fff"/>
</android.support.constraint.ConstraintLayout>

@ -22,19 +22,17 @@
app:layout_constraintTop_toTopOf="parent"
tools:ignore="MissingConstraints" />
<!-- input phone -->
<EditText
<TextView
android:id="@+id/editName"
style="@style/textstyle"
android:layout_width="250dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:background="#ceefecec"
android:hint="请输入用户名"
android:background="#00efecec"
android:inputType="number"
android:lines="1"
android:maxLength="11"
android:singleLine="true"
app:layout_constraintBottom_toTopOf="@+id/editResPwd"
@ -46,7 +44,7 @@
<EditText
android:id="@+id/editPwd"
style="@style/textstyle"
android:layout_width="250dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
@ -67,7 +65,7 @@
<EditText
android:id="@+id/editResPwd"
style="@style/textstyle"
android:layout_width="250dp"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"

Loading…
Cancel
Save