提交6
This commit is contained in:
parent
66cffb04ff
commit
9ee997cd8a
|
@ -7,6 +7,11 @@
|
|||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false" />
|
||||
|
||||
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
|
@ -19,6 +24,12 @@
|
|||
android:theme="@style/Theme.MyApplication"
|
||||
android:usesCleartextTraffic="true"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:name=".wodeguanzhuActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".xiaofeijifenActivity"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".tuanzhangruzhuActivity"
|
||||
android:exported="false" />
|
||||
|
|
|
@ -51,6 +51,36 @@ public class MineFragment extends Fragment {
|
|||
}
|
||||
});
|
||||
|
||||
//团长入驻
|
||||
ImageButton imageButton2 = view.findViewById(R.id.imageButton16);
|
||||
imageButton2.setOnClickListener(new View.OnClickListener(){
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(MineFragment.this.getActivity(), tuanzhangruzhuActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
//消费积分
|
||||
ImageButton imageButton3 = view.findViewById(R.id.imageButton19);
|
||||
imageButton3.setOnClickListener(new View.OnClickListener(){
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(MineFragment.this.getActivity(), xiaofeijifenActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
//我的关注
|
||||
ImageButton imageButton4 = view.findViewById(R.id.imageButton11);
|
||||
imageButton4.setOnClickListener(new View.OnClickListener(){
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(MineFragment.this.getActivity(), wodeguanzhuActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
return view;
|
||||
}
|
||||
}
|
|
@ -3,6 +3,10 @@ package com.example.myapplication;
|
|||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.content.Intent;
|
||||
import android.widget.Button;
|
||||
import android.widget.ImageButton;
|
||||
|
||||
public class tuanzhangruzhuActivity extends AppCompatActivity {
|
||||
|
||||
|
@ -10,5 +14,31 @@ public class tuanzhangruzhuActivity extends AppCompatActivity {
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_tuanzhangruzhu);
|
||||
|
||||
// 返回
|
||||
ImageButton imageButton = findViewById(R.id.imageButton24);
|
||||
imageButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(tuanzhangruzhuActivity.this,yindaoActivity.class);
|
||||
intent.putExtra("fragment","MineFragment");
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
//确认注册
|
||||
Button button = findViewById(R.id.button9);
|
||||
button.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(tuanzhangruzhuActivity.this,yindaoActivity.class);
|
||||
intent.putExtra("fragment","MineFragment");
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
//上传照片
|
||||
ImageButton imageButton1 = findViewById(R.id.imageButton26);
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.example.myapplication;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageButton;
|
||||
|
||||
public class wodeguanzhuActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_wodeguanzhu);
|
||||
|
||||
//返回
|
||||
ImageButton imageButton = findViewById(R.id.imageButton29);
|
||||
imageButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(wodeguanzhuActivity.this,yindaoActivity.class);
|
||||
intent.putExtra("fragment","MineFragment");
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
package com.example.myapplication;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageButton;
|
||||
|
||||
public class xiaofeijifenActivity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_xiaofeijifen);
|
||||
|
||||
//返回
|
||||
ImageButton imageButton = findViewById(R.id.imageButton25);
|
||||
imageButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(xiaofeijifenActivity.this,yindaoActivity.class);
|
||||
intent.putExtra("fragment","MineFragment");
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -61,14 +61,15 @@
|
|||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="360dp"
|
||||
android:layout_height="290dp"
|
||||
android:layout_marginStart="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="40dp"
|
||||
android:layout_marginEnd="1dp"
|
||||
android:background="#FFFFFF"
|
||||
app:cardCornerRadius="16dp"
|
||||
app:cardElevation="10dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" >
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView48"
|
||||
|
@ -100,7 +101,7 @@
|
|||
android:layout_marginTop="110dp"
|
||||
android:text="团长:推广100名普通团员为团长(直系邀请和非直系邀请)"
|
||||
android:textSize="17dp"
|
||||
android:textStyle="bold"/>
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView51"
|
||||
|
|
|
@ -19,20 +19,230 @@
|
|||
android:id="@+id/constraintLayout17"
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="60dp"
|
||||
android:background="#FFFFFF"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView52"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:gravity="center"
|
||||
android:text="团长入驻"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton24"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/fanhui" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="667dp"
|
||||
android:background="#F5F5F5"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout17">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout18"
|
||||
android:layout_width="385dp"
|
||||
android:layout_height="260dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="#FFFFFF"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView53"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="39dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:gravity="center"
|
||||
android:text="姓名"
|
||||
android:textSize="19dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView54"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="39dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="80dp"
|
||||
android:gravity="center"
|
||||
android:text="手机号"
|
||||
android:textSize="19dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView55"
|
||||
android:layout_width="91dp"
|
||||
android:layout_height="39dp"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="130dp"
|
||||
android:gravity="center"
|
||||
android:text="微信号"
|
||||
android:textSize="19dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView56"
|
||||
android:layout_width="99dp"
|
||||
android:layout_height="39dp"
|
||||
android:layout_marginStart="11dp"
|
||||
android:layout_marginTop="181dp"
|
||||
android:gravity="center"
|
||||
android:text="商家所在地"
|
||||
android:textSize="19dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextText2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="text"
|
||||
android:text="请输入真实姓名"
|
||||
android:textColor=" #CDC9C9"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView53"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView53"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView53" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextPhone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="phone"
|
||||
android:text="请输入手机号"
|
||||
android:textColor=" #CDC9C9"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView54"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView54"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView54" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextPhone2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="phone"
|
||||
android:text="请输入微信号"
|
||||
android:textColor=" #CDC9C9"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView55"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView55"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView55" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editTextTextPostalAddress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ems="10"
|
||||
android:inputType="textPostalAddress"
|
||||
android:text="请输入地址"
|
||||
android:textColor=" #CDC9C9"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView56"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView56"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView56" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout19"
|
||||
android:layout_width="385dp"
|
||||
android:layout_height="180dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="#FFFFFF"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout18">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView60"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:text="上传照片"
|
||||
android:textSize="19dp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton26"
|
||||
android:layout_width="113dp"
|
||||
android:layout_height="103dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/imageButton27"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView60"
|
||||
app:srcCompat="@drawable/tianjiatupian" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton27"
|
||||
android:layout_width="113dp"
|
||||
android:layout_height="103dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/imageButton26"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageButton26"
|
||||
app:srcCompat="@drawable/tianjiatupian" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton28"
|
||||
android:layout_width="113dp"
|
||||
android:layout_height="103dp"
|
||||
android:layout_marginStart="12dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/imageButton26"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageButton27"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageButton26"
|
||||
app:srcCompat="@drawable/tianjiatupian" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/button9"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="49dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="确认入驻"
|
||||
android:textStyle="bold"
|
||||
android:gravity="center"
|
||||
android:textSize="20dp"
|
||||
android:backgroundTint="#FF0000"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.498"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout19" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.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"
|
||||
tools:context=".wodeguanzhuActivity">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="729dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout21"
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="60dp"
|
||||
android:background="#FFFFFF"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView66"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:gravity="center"
|
||||
android:text="我的关注"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton29"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/fanhui" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="667dp"
|
||||
android:background="#F5F5F5"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout21">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,115 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.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"
|
||||
tools:context=".xiaofeijifenActivity">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="409dp"
|
||||
android:layout_height="729dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="1.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout20"
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="60dp"
|
||||
android:background="#FFFFFF"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView62"
|
||||
android:layout_width="110dp"
|
||||
android:layout_height="37dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:gravity="center"
|
||||
android:text="我的积分"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.609" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton25"
|
||||
android:layout_width="44dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/fanhui" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="667dp"
|
||||
android:background="#F5F5F5"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout20">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="405dp"
|
||||
android:layout_height="150dp"
|
||||
android:background="#FF0000"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView63"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="43dp"
|
||||
android:layout_marginStart="124dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:gravity="center"
|
||||
android:text="积分:"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView64"
|
||||
android:layout_width="260dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:text="即将凑够1000分,下单可抵10元。"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView65"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="43dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="65"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textStyle="bold"
|
||||
android:textSize="24sp"
|
||||
android:gravity="center"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView63"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView63"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView63" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -125,6 +125,15 @@
|
|||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout3"/>
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout3">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="537dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</FrameLayout>
|
|
@ -1,6 +1,119 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.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:layout_height="180dp">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="396dp"
|
||||
android:layout_height="170dp"
|
||||
android:layout_marginStart="1dp"
|
||||
android:layout_marginTop="1dp"
|
||||
android:layout_marginEnd="1dp"
|
||||
android:layout_marginBottom="1dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/imageButton30"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="150dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
app:srcCompat="@drawable/ic_launcher_background" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView67"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="33dp"
|
||||
android:layout_marginLeft="165dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="TextView"
|
||||
android:textColor="#000000"
|
||||
android:textSize="18dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView68"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="33dp"
|
||||
android:layout_marginLeft="310dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="TextView"
|
||||
android:textColor=" #FF0000"
|
||||
android:textSize="18dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView69"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="21dp"
|
||||
android:layout_marginLeft="175dp"
|
||||
android:layout_marginTop="55dp"
|
||||
android:textColor=" #FFA500"
|
||||
android:text="预售时间:"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView70"
|
||||
android:layout_width="118dp"
|
||||
android:layout_height="21dp"
|
||||
android:layout_marginLeft="255dp"
|
||||
android:layout_marginTop="55dp"
|
||||
android:textColor=" #FFA500"
|
||||
android:text="TextView"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView71"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="21dp"
|
||||
android:layout_marginLeft="175dp"
|
||||
android:layout_marginTop="85dp"
|
||||
android:textColor=" #FFA500"
|
||||
android:text="提货时间:"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView72"
|
||||
android:layout_width="118dp"
|
||||
android:layout_height="21dp"
|
||||
android:layout_marginLeft="255dp"
|
||||
android:layout_marginTop="85dp"
|
||||
android:textColor=" #FFA500"
|
||||
android:text="TextView"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView73"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginLeft="165dp"
|
||||
android:layout_marginTop="120dp"
|
||||
android:textColor=" #FFA500"
|
||||
android:text="限量600份"
|
||||
android:textSize="17dp"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button10"
|
||||
android:layout_width="125dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginLeft="265dp"
|
||||
android:layout_marginTop="117dp"
|
||||
android:backgroundTint="#FF0000"
|
||||
android:text="加入购物车"
|
||||
android:textSize="13dp"
|
||||
android:textStyle="bold" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue