Panagiotis Triantafyllou

minor ui fixes

......@@ -33,7 +33,7 @@ public class CouponTransactionActivity extends Activity implements View.OnClickL
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_coupons_history);
// mIvBack = findViewById(R.id.iv_coupon_info_back);
mIvBack = findViewById(R.id.iv_transactions_close);
initViews();
}
......@@ -45,9 +45,8 @@ public class CouponTransactionActivity extends Activity implements View.OnClickL
@Override
public void onClick(View view) {
if (view.getId() == R.id.iv_coupon_info_back) {
if (view.getId() == R.id.iv_transactions_close) {
onBackPressed();
return;
}
}
......@@ -57,7 +56,7 @@ public class CouponTransactionActivity extends Activity implements View.OnClickL
// ===========================================================
private void initViews() {
// mIvBack.setOnClickListener(this);
mIvBack.setOnClickListener(this);
}
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FFFFFF"/>
<stroke android:width="3dp" android:color="#FFFFFF" />
<corners android:radius="14dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
<RelativeLayout 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/cl_bill_payment"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_bill_header"
......@@ -13,7 +13,7 @@
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_bill_payment_close"
android:id="@+id/iv_transactions_close"
android:layout_width="21dp"
android:layout_height="20dp"
android:layout_marginStart="24dp"
......@@ -34,7 +34,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.348"
app:layout_constraintStart_toEndOf="@+id/iv_bill_payment_close"
app:layout_constraintStart_toEndOf="@+id/iv_transactions_close"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
......@@ -51,9 +51,10 @@
<include
android:id="@+id/cl_tab_analysis"
layout="@layout/tab_analysis_grey_bg"
android:layout_width="323dp"
android:layout_width="match_parent"
android:layout_height="25dp"
android:layout_marginTop="40dp"
android:layout_marginHorizontal="24dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.511"
app:layout_constraintStart_toStartOf="parent"
......@@ -62,8 +63,9 @@
<include
android:id="@+id/cl_transaction"
layout="@layout/coupon_transaction"
android:layout_width="324dp"
android:layout_height="117dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginTop="48dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......
<?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/cl_transcation_item"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingVertical="5dp"
android:background="@drawable/banner_border_white">
android:background="@drawable/banner_border_white3"
android:paddingVertical="5dp">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/gl_vertical_5_percent"
......@@ -58,6 +57,7 @@
android:layout_marginTop="12dp"
android:text="26-11-2021"
android:textColor="#82355168"
android:textSize="12dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.952"
app:layout_constraintStart_toStartOf="parent"
......