Showing
2 changed files
with
34 additions
and
31 deletions
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
| 3 | + <stroke | ||
| 4 | + android:width="1.5dp" | ||
| 5 | + android:color="#AFD767" /> | ||
| 6 | + | ||
| 7 | + <corners android:radius="10dp" /> | ||
| 8 | + <solid android:color="#AFD767" /> | ||
| 9 | +</shape> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | -<androidx.constraintlayout.widget.ConstraintLayout xmlns:app="http://schemas.android.com/apk/res-auto" | 2 | +<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto" |
| 3 | xmlns:tools="http://schemas.android.com/tools" | 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:id="@+id/cl_bill_payment" | 4 | android:id="@+id/cl_bill_payment" |
| 5 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | xmlns:android="http://schemas.android.com/apk/res/android"> | 7 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 8 | 8 | ||
| 9 | <androidx.constraintlayout.widget.ConstraintLayout | 9 | <androidx.constraintlayout.widget.ConstraintLayout |
| 10 | - android:id="@+id/constraintLayout" | 10 | + android:id="@+id/cl_bill_header" |
| 11 | android:layout_width="match_parent" | 11 | android:layout_width="match_parent" |
| 12 | android:layout_height="80dp" | 12 | android:layout_height="80dp" |
| 13 | app:layout_constraintTop_toTopOf="parent"> | 13 | app:layout_constraintTop_toTopOf="parent"> |
| ... | @@ -36,36 +36,38 @@ | ... | @@ -36,36 +36,38 @@ |
| 36 | </androidx.constraintlayout.widget.ConstraintLayout> | 36 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 37 | 37 | ||
| 38 | <androidx.constraintlayout.widget.ConstraintLayout | 38 | <androidx.constraintlayout.widget.ConstraintLayout |
| 39 | - android:layout_width="415dp" | 39 | + android:layout_width="match_parent" |
| 40 | - android:layout_height="794dp" | 40 | + android:layout_height="807dp" |
| 41 | - android:layout_marginTop="4dp" | 41 | + android:layout_below="@+id/cl_bill_header" |
| 42 | + android:layout_marginTop="1dp" | ||
| 42 | android:background="@drawable/shape_cos_profile" | 43 | android:background="@drawable/shape_cos_profile" |
| 43 | android:orientation="vertical" | 44 | android:orientation="vertical" |
| 44 | android:paddingBottom="24dp" | 45 | android:paddingBottom="24dp" |
| 45 | - app:layout_constraintTop_toBottomOf="@+id/constraintLayout" | 46 | + tools:layout_editor_absoluteX="-2dp"> |
| 46 | - tools:layout_editor_absoluteX="0dp"> | 47 | + |
| 47 | 48 | ||
| 48 | <ImageView | 49 | <ImageView |
| 49 | android:id="@+id/imageView4" | 50 | android:id="@+id/imageView4" |
| 50 | - android:layout_width="357dp" | 51 | + android:layout_width="310dp" |
| 51 | - android:layout_height="191dp" | 52 | + android:layout_height="176dp" |
| 53 | + android:layout_marginTop="16dp" | ||
| 52 | android:src="@drawable/payment_icon" | 54 | android:src="@drawable/payment_icon" |
| 53 | - app:layout_constraintBottom_toBottomOf="parent" | ||
| 54 | app:layout_constraintEnd_toEndOf="parent" | 55 | app:layout_constraintEnd_toEndOf="parent" |
| 56 | + app:layout_constraintHorizontal_bias="0.495" | ||
| 55 | app:layout_constraintStart_toStartOf="parent" | 57 | app:layout_constraintStart_toStartOf="parent" |
| 56 | - app:layout_constraintTop_toTopOf="parent" | 58 | + app:layout_constraintTop_toTopOf="parent" /> |
| 57 | - app:layout_constraintVertical_bias="0.06" /> | ||
| 58 | 59 | ||
| 59 | <View | 60 | <View |
| 60 | android:id="@+id/view" | 61 | android:id="@+id/view" |
| 61 | - android:layout_width="351dp" | 62 | + android:layout_width="328dp" |
| 62 | - android:layout_height="297dp" | 63 | + android:layout_height="265dp" |
| 63 | - android:background="@color/white" | 64 | + android:background="@drawable/banner_border" |
| 64 | app:layout_constraintBottom_toBottomOf="parent" | 65 | app:layout_constraintBottom_toBottomOf="parent" |
| 65 | app:layout_constraintEnd_toEndOf="parent" | 66 | app:layout_constraintEnd_toEndOf="parent" |
| 67 | + app:layout_constraintHorizontal_bias="0.493" | ||
| 66 | app:layout_constraintStart_toStartOf="parent" | 68 | app:layout_constraintStart_toStartOf="parent" |
| 67 | app:layout_constraintTop_toBottomOf="@+id/imageView4" | 69 | app:layout_constraintTop_toBottomOf="@+id/imageView4" |
| 68 | - app:layout_constraintVertical_bias="0.245" /> | 70 | + app:layout_constraintVertical_bias="0.142" /> |
| 69 | 71 | ||
| 70 | <EditText | 72 | <EditText |
| 71 | android:id="@+id/editTextTextPersonName" | 73 | android:id="@+id/editTextTextPersonName" |
| ... | @@ -86,37 +88,29 @@ | ... | @@ -86,37 +88,29 @@ |
| 86 | android:id="@+id/editTextTextPersonName2" | 88 | android:id="@+id/editTextTextPersonName2" |
| 87 | android:layout_width="wrap_content" | 89 | android:layout_width="wrap_content" |
| 88 | android:layout_height="wrap_content" | 90 | android:layout_height="wrap_content" |
| 89 | - android:background="@color/white" | ||
| 90 | android:ems="10" | 91 | android:ems="10" |
| 91 | android:inputType="textPersonName" | 92 | android:inputType="textPersonName" |
| 92 | android:text="Name" | 93 | android:text="Name" |
| 93 | app:layout_constraintBottom_toBottomOf="@+id/view" | 94 | app:layout_constraintBottom_toBottomOf="@+id/view" |
| 94 | app:layout_constraintEnd_toEndOf="@+id/view" | 95 | app:layout_constraintEnd_toEndOf="@+id/view" |
| 95 | - app:layout_constraintHorizontal_bias="0.475" | 96 | + app:layout_constraintHorizontal_bias="0.482" |
| 96 | app:layout_constraintStart_toStartOf="@+id/view" | 97 | app:layout_constraintStart_toStartOf="@+id/view" |
| 97 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName" | 98 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName" |
| 98 | - app:layout_constraintVertical_bias="0.408" /> | 99 | + app:layout_constraintVertical_bias="0.277" /> |
| 99 | 100 | ||
| 100 | <Button | 101 | <Button |
| 101 | android:id="@+id/button2" | 102 | android:id="@+id/button2" |
| 102 | android:layout_width="wrap_content" | 103 | android:layout_width="wrap_content" |
| 103 | android:layout_height="wrap_content" | 104 | android:layout_height="wrap_content" |
| 104 | android:layout_marginBottom="28dp" | 105 | android:layout_marginBottom="28dp" |
| 106 | + android:background="@drawable/round_border_green" | ||
| 105 | android:text="Πληρωμή" | 107 | android:text="Πληρωμή" |
| 108 | + android:textAllCaps="false" | ||
| 109 | + android:textColor="@color/white" | ||
| 106 | app:layout_constraintBottom_toBottomOf="@+id/view" | 110 | app:layout_constraintBottom_toBottomOf="@+id/view" |
| 107 | app:layout_constraintEnd_toEndOf="@+id/view" | 111 | app:layout_constraintEnd_toEndOf="@+id/view" |
| 108 | - app:layout_constraintHorizontal_bias="0.498" | ||
| 109 | app:layout_constraintStart_toStartOf="@+id/view" | 112 | app:layout_constraintStart_toStartOf="@+id/view" |
| 110 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName2" | 113 | app:layout_constraintTop_toBottomOf="@+id/editTextTextPersonName2" |
| 111 | - app:layout_constraintVertical_bias="0.916" /> | 114 | + app:layout_constraintVertical_bias="1.0" /> |
| 112 | - | ||
| 113 | - <ImageView | ||
| 114 | - android:id="@+id/imageView5" | ||
| 115 | - android:layout_width="341dp" | ||
| 116 | - android:layout_height="144dp" | ||
| 117 | - app:layout_constraintEnd_toEndOf="@+id/view" | ||
| 118 | - app:layout_constraintStart_toStartOf="@+id/view" | ||
| 119 | - app:srcCompat="@drawable/ellipse" | ||
| 120 | - tools:layout_editor_absoluteY="314dp" /> | ||
| 121 | </androidx.constraintlayout.widget.ConstraintLayout> | 115 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 122 | -</androidx.constraintlayout.widget.ConstraintLayout> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 116 | +</RelativeLayout> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment