企业和个人的开具发票界面
This commit is contained in:
parent
5a0b3f8330
commit
458e264dcf
|
@ -22,7 +22,9 @@
|
|||
android:theme="@style/Theme.Huangrui"
|
||||
android:usesCleartextTraffic="true"
|
||||
tools:targetApi="31">
|
||||
|
||||
<activity
|
||||
android:name=".FapiaoDetial"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".Alterphone_sendmessage"
|
||||
android:exported="false" />
|
||||
|
@ -153,8 +155,7 @@
|
|||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".Carbon"
|
||||
android:exported="false"
|
||||
/>
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true">
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
package com.hnucm.c25;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public class EnterpriseFapiao_fragment extends Fragment {
|
||||
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
View view = inflater.inflate(R.layout.fragment_enterprise_fapiao_fragment, container, false);
|
||||
return view;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
package com.hnucm.c25;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
public class FapiaoDetial extends AppCompatActivity {
|
||||
|
||||
EnterpriseFapiao_fragment enterpriseFapiaoFragment = new EnterpriseFapiao_fragment();
|
||||
PersonFapiao_fragment personFapiaoFragment = new PersonFapiao_fragment();
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_fapiao_detial);
|
||||
ImmersionBar.with(this).init();
|
||||
getSupportFragmentManager().beginTransaction().add(R.id.constraintLayout38,enterpriseFapiaoFragment).commit();
|
||||
getSupportFragmentManager().beginTransaction().add(R.id.constraintLayout38,personFapiaoFragment).commit();
|
||||
getSupportFragmentManager().beginTransaction().hide(personFapiaoFragment).show(enterpriseFapiaoFragment).commit();
|
||||
|
||||
ImageView enterprise = findViewById(R.id.imageView95);
|
||||
ImageView person = findViewById(R.id.imageView137);
|
||||
|
||||
enterprise.setSelected(true);
|
||||
enterprise.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getSupportFragmentManager().beginTransaction().hide(personFapiaoFragment).show(enterpriseFapiaoFragment).commit();
|
||||
enterprise.setSelected(true);
|
||||
person.setSelected(false);
|
||||
}
|
||||
});
|
||||
|
||||
person.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
getSupportFragmentManager().beginTransaction().hide(enterpriseFapiaoFragment).show(personFapiaoFragment).commit();
|
||||
person.setSelected(true);
|
||||
enterprise.setSelected(false);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@ import android.widget.ImageView;
|
|||
import android.widget.TextView;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.gyf.immersionbar.ImmersionBar;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -42,6 +43,7 @@ public class KaiFaPiao extends AppCompatActivity {
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_kai_fa_piao);
|
||||
ImmersionBar.with(this).init();
|
||||
recyclerView = findViewById(R.id.recycleView1);
|
||||
myAdapter = new MyAdapter();
|
||||
recyclerView.setAdapter(myAdapter);
|
||||
|
@ -65,6 +67,14 @@ public class KaiFaPiao extends AppCompatActivity {
|
|||
toggleSelectAll(!selectedItems.isEmpty());
|
||||
}
|
||||
});
|
||||
//todo 开具发票
|
||||
fapiao.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(KaiFaPiao.this,FapiaoDetial.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
Request request = new Request.Builder()
|
||||
.url("https://test04.usemock.com/takeHistory")
|
||||
.get()
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
package com.hnucm.c25;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public class PersonFapiao_fragment extends Fragment {
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
View view = inflater.inflate(R.layout.fragment_person_fapiao_fragment, container, false);
|
||||
return view;
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 782 B |
|
@ -0,0 +1,123 @@
|
|||
<?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=".FapiaoDetial">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:background="#2F3D68"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView7"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="开具发票"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView92"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_marginStart="24dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/arrow_left_white" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView298"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="开票说明"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView78"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:text="抬头类型"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView79"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="企业单位"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/imageView95"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView95"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageView95" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView80"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:text="个人"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/imageView137"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView137"
|
||||
app:layout_constraintTop_toTopOf="@+id/imageView137" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView95"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginStart="32dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView78"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView78"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView78"
|
||||
app:srcCompat="@drawable/fapiao" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView137"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginStart="32dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView79"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView79"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView79"
|
||||
app:srcCompat="@drawable/fapiao" />
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout38"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="130dp"
|
||||
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>
|
|
@ -22,7 +22,7 @@
|
|||
android:id="@+id/constraintLayout2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:background="@color/white"
|
||||
android:background="#2F3D68"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -33,6 +33,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="开具发票"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp"
|
||||
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
@ -48,7 +49,7 @@
|
|||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/arrow" />
|
||||
app:srcCompat="@drawable/arrow_left_white" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView298"
|
||||
|
@ -56,6 +57,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="开票说明"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
|
|
@ -0,0 +1,175 @@
|
|||
<?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=".EnterpriseFapiao_fragment">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView87"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="电子邮箱:"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView86"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView86" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView86"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="发票备注:"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView85"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView85" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView85"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="公司税号:"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView84"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView84" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
app:cardBackgroundColor="#F1F4F9"
|
||||
app:cardCornerRadius="10dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView87" >
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView88"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:text="发票总额:"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView89"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView88"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView88"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView88" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView90"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="TextView"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView84"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="公司名称:"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:hint="发票抬头"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:background="@drawable/edit_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView84"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView84"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView84" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:hint="纳税人识别号"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:background="@drawable/edit_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView85"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView85"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView85" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editText7"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:hint="该内容会打印在发票上"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:layout_marginStart="16dp"
|
||||
android:background="@drawable/edit_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView86"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView86"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView86" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:hint="用于向您发送电子发票"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:background="@drawable/edit_background"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView87"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView87"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView87" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView81"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:background="@drawable/fapiao_roundcorner"
|
||||
android:gravity="center"
|
||||
android:text="提交"
|
||||
android:textSize="17sp"
|
||||
android:textColor="@color/white"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
<TextView
|
||||
android:id="@+id/textView82"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:background="#CBCBCB"
|
||||
app:layout_constraintBottom_toTopOf="@+id/textView81"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -0,0 +1,153 @@
|
|||
<?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=".PersonFapiao_fragment">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView81"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:background="@drawable/fapiao_roundcorner"
|
||||
android:gravity="center"
|
||||
android:text="提交"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="17sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
app:cardBackgroundColor="#F1F4F9"
|
||||
app:cardCornerRadius="10dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView87">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView88"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:text="发票总额:"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView89"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView88"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView88"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView88" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView90"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="TextView"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:background="@drawable/edit_background"
|
||||
android:hint="用于向您发送电子发票"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView87"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView87"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView87" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView87"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="电子邮箱:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="17sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView86"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView86" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/editText7"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:background="@drawable/edit_background"
|
||||
android:hint="该内容会打印在发票上"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView86"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView86"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView86" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView86"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="32dp"
|
||||
android:text="发票备注:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="17sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/textView84"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView84" />
|
||||
|
||||
<EditText
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:background="@drawable/edit_background"
|
||||
android:hint="发票抬头"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView84"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView84"
|
||||
app:layout_constraintTop_toTopOf="@+id/textView84" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView84"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="发票抬头:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="17sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView82"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:background="#CBCBCB"
|
||||
app:layout_constraintBottom_toTopOf="@+id/textView81"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue