Showing
2 changed files
with
16 additions
and
14 deletions
| ... | @@ -29,7 +29,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | ... | @@ -29,7 +29,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | 
| 29 | super.onCreate(savedInstanceState); | 29 | super.onCreate(savedInstanceState); | 
| 30 | setContentView(R.layout.activity_bill_payment); | 30 | setContentView(R.layout.activity_bill_payment); | 
| 31 | 31 | ||
| 32 | -// mIvBack = findViewById(R.id.iv_back); | 32 | + mIvBack = findViewById(R.id.iv_bill_payment_close); | 
| 33 | 33 | ||
| 34 | initViews(); | 34 | initViews(); | 
| 35 | } | 35 | } | 
| ... | @@ -41,8 +41,8 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | ... | @@ -41,8 +41,8 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | 
| 41 | 41 | ||
| 42 | @Override | 42 | @Override | 
| 43 | public void onClick(View view) { | 43 | public void onClick(View view) { | 
| 44 | - if (view.getId() == R.id.iv_back) { | 44 | + if (view.getId() == R.id.iv_bill_payment_close) { | 
| 45 | - finish(); | 45 | + onBackPressed(); | 
| 46 | } | 46 | } | 
| 47 | } | 47 | } | 
| 48 | 48 | ||
| ... | @@ -51,7 +51,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | ... | @@ -51,7 +51,7 @@ public class BillPaymentActivity extends Activity implements View.OnClickListene | 
| 51 | // =========================================================== | 51 | // =========================================================== | 
| 52 | 52 | ||
| 53 | private void initViews() { | 53 | private void initViews() { | 
| 54 | -// mIvBack.setOnClickListener(this); | 54 | + mIvBack.setOnClickListener(this); | 
| 55 | } | 55 | } | 
| 56 | 56 | ||
| 57 | // =========================================================== | 57 | // =========================================================== | ... | ... | 
| ... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ | 
| 13 | app:layout_constraintTop_toTopOf="parent"> | 13 | app:layout_constraintTop_toTopOf="parent"> | 
| 14 | 14 | ||
| 15 | <ImageView | 15 | <ImageView | 
| 16 | - android:id="@+id/imageView6" | 16 | + android:id="@+id/iv_bill_payment_close" | 
| 17 | android:layout_width="21dp" | 17 | android:layout_width="21dp" | 
| 18 | android:layout_height="20dp" | 18 | android:layout_height="20dp" | 
| 19 | android:layout_marginStart="24dp" | 19 | android:layout_marginStart="24dp" | 
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ | 
| 31 | app:layout_constraintBottom_toBottomOf="parent" | 31 | app:layout_constraintBottom_toBottomOf="parent" | 
| 32 | app:layout_constraintEnd_toEndOf="parent" | 32 | app:layout_constraintEnd_toEndOf="parent" | 
| 33 | app:layout_constraintHorizontal_bias="0.348" | 33 | app:layout_constraintHorizontal_bias="0.348" | 
| 34 | - app:layout_constraintStart_toEndOf="@+id/imageView6" | 34 | + app:layout_constraintStart_toEndOf="@+id/iv_bill_payment_close" | 
| 35 | app:layout_constraintTop_toTopOf="parent" /> | 35 | app:layout_constraintTop_toTopOf="parent" /> | 
| 36 | </androidx.constraintlayout.widget.ConstraintLayout> | 36 | </androidx.constraintlayout.widget.ConstraintLayout> | 
| 37 | 37 | ||
| ... | @@ -71,12 +71,13 @@ | ... | @@ -71,12 +71,13 @@ | 
| 71 | 71 | ||
| 72 | <EditText | 72 | <EditText | 
| 73 | android:id="@+id/editTextTextPersonName" | 73 | android:id="@+id/editTextTextPersonName" | 
| 74 | - android:layout_width="wrap_content" | 74 | + android:layout_width="141dp" | 
| 75 | - android:layout_height="wrap_content" | 75 | + android:layout_height="52dp" | 
| 76 | android:ems="10" | 76 | android:ems="10" | 
| 77 | android:gravity="center_horizontal" | 77 | android:gravity="center_horizontal" | 
| 78 | android:inputType="textPersonName" | 78 | android:inputType="textPersonName" | 
| 79 | - android:text="Name" | 79 | + android:text="0€" | 
| 80 | + android:textSize="25dp" | ||
| 80 | app:layout_constraintBottom_toBottomOf="@+id/view" | 81 | app:layout_constraintBottom_toBottomOf="@+id/view" | 
| 81 | app:layout_constraintEnd_toEndOf="@+id/view" | 82 | app:layout_constraintEnd_toEndOf="@+id/view" | 
| 82 | app:layout_constraintHorizontal_bias="0.475" | 83 | app:layout_constraintHorizontal_bias="0.475" | 
| ... | @@ -86,17 +87,18 @@ | ... | @@ -86,17 +87,18 @@ | 
| 86 | 87 | ||
| 87 | <EditText | 88 | <EditText | 
| 88 | android:id="@+id/editTextTextPersonName2" | 89 | android:id="@+id/editTextTextPersonName2" | 
| 89 | - android:layout_width="wrap_content" | 90 | + android:layout_width="263dp" | 
| 90 | - android:layout_height="wrap_content" | 91 | + android:layout_height="54dp" | 
| 91 | android:ems="10" | 92 | android:ems="10" | 
| 93 | + android:hint="Αριθμός Λογαριασμού" | ||
| 92 | android:inputType="textPersonName" | 94 | android:inputType="textPersonName" | 
| 93 | - android:text="Name" | 95 | + android:textSize="15dp" | 
| 94 | app:layout_constraintBottom_toBottomOf="@+id/view" | 96 | app:layout_constraintBottom_toBottomOf="@+id/view" | 
| 95 | app:layout_constraintEnd_toEndOf="@+id/view" | 97 | app:layout_constraintEnd_toEndOf="@+id/view" | 
| 96 | - app:layout_constraintHorizontal_bias="0.482" | 98 | + app:layout_constraintHorizontal_bias="0.47" | 
| 97 | app:layout_constraintStart_toStartOf="@+id/view" | 99 | app:layout_constraintStart_toStartOf="@+id/view" | 
| 98 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName" | 100 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName" | 
| 99 | - app:layout_constraintVertical_bias="0.277" /> | 101 | + app:layout_constraintVertical_bias="0.208" /> | 
| 100 | 102 | ||
| 101 | <Button | 103 | <Button | 
| 102 | android:id="@+id/button2" | 104 | android:id="@+id/button2" | ... | ... | 
- 
Please register or login to post a comment