92 lines
3.7 KiB
XML
92 lines
3.7 KiB
XML
<?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:id="@+id/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".AjoutArticleActivity">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<EditText
|
|
android:id="@+id/plRef"
|
|
android:layout_width="282dp"
|
|
android:layout_height="46dp"
|
|
android:layout_marginStart="50dp"
|
|
android:layout_marginTop="187dp"
|
|
android:layout_marginEnd="50dp"
|
|
android:ems="10"
|
|
android:hint="@string/put_designation"
|
|
android:inputType="text"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.504"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<EditText
|
|
android:id="@+id/plPrice"
|
|
android:layout_width="282dp"
|
|
android:layout_height="46dp"
|
|
android:layout_marginStart="50dp"
|
|
android:layout_marginTop="246dp"
|
|
android:layout_marginEnd="50dp"
|
|
android:ems="10"
|
|
android:hint="@string/put_price"
|
|
android:inputType="text"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.504"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<EditText
|
|
android:id="@+id/plQuant"
|
|
android:layout_width="282dp"
|
|
android:layout_height="46dp"
|
|
android:layout_marginStart="50dp"
|
|
android:layout_marginTop="307dp"
|
|
android:layout_marginEnd="50dp"
|
|
android:ems="10"
|
|
android:hint="@string/put_quantity"
|
|
android:inputType="text"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.504"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvTitre"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="50dp"
|
|
android:layout_marginTop="76dp"
|
|
android:layout_marginEnd="50dp"
|
|
android:text="@string/add_article"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<Button
|
|
android:id="@+id/btAdd"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="104dp"
|
|
android:layout_marginTop="363dp"
|
|
android:text="@string/add"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<Button
|
|
android:id="@+id/btQuit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="210dp"
|
|
android:layout_marginTop="363dp"
|
|
android:text="@string/quit"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |