thkouk00

fixes in bill payment

......@@ -29,7 +29,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_bill_payment);
// mIvBack = findViewById(R.id.iv_back);
mIvBack = findViewById(R.id.iv_bill_payment_close);
initViews();
}
......@@ -41,8 +41,8 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
@Override
public void onClick(View view) {
if (view.getId() == R.id.iv_back) {
finish();
if (view.getId() == R.id.iv_bill_payment_close) {
onBackPressed();
}
}
......@@ -51,7 +51,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene
// ===========================================================
private void initViews() {
// mIvBack.setOnClickListener(this);
mIvBack.setOnClickListener(this);
}
// ===========================================================
......
......@@ -13,7 +13,7 @@
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/imageView6"
android:id="@+id/iv_bill_payment_close"
android:layout_width="21dp"
android:layout_height="20dp"
android:layout_marginStart="24dp"
......@@ -31,7 +31,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.348"
app:layout_constraintStart_toEndOf="@+id/imageView6"
app:layout_constraintStart_toEndOf="@+id/iv_bill_payment_close"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
......@@ -71,12 +71,13 @@
<EditText
android:id="@+id/editTextTextPersonName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="141dp"
android:layout_height="52dp"
android:ems="10"
android:gravity="center_horizontal"
android:inputType="textPersonName"
android:text="Name"
android:text="0€"
android:textSize="25dp"
app:layout_constraintBottom_toBottomOf="@+id/view"
app:layout_constraintEnd_toEndOf="@+id/view"
app:layout_constraintHorizontal_bias="0.475"
......@@ -86,17 +87,18 @@
<EditText
android:id="@+id/editTextTextPersonName2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="263dp"
android:layout_height="54dp"
android:ems="10"
android:hint="Αριθμός Λογαριασμού"
android:inputType="textPersonName"
android:text="Name"
android:textSize="15dp"
app:layout_constraintBottom_toBottomOf="@+id/view"
app:layout_constraintEnd_toEndOf="@+id/view"
app:layout_constraintHorizontal_bias="0.482"
app:layout_constraintHorizontal_bias="0.47"
app:layout_constraintStart_toStartOf="@+id/view"
app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName"
app:layout_constraintVertical_bias="0.277" />
app:layout_constraintVertical_bias="0.208" />
<Button
android:id="@+id/button2"
......