Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_android_sdk_maven_plugin
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Panagiotis Triantafyllou
2022-03-30 15:41:07 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
22b320f0b0acc27daaa7ae41d13fec27d615ecfc
22b320f0
1 parent
d630297b
minor ui fixes
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
15 deletions
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponTransactionActivity.java
warply_android_sdk/src/main/res/drawable/banner_border_white3.xml
warply_android_sdk/src/main/res/layout/activity_coupons_history.xml
warply_android_sdk/src/main/res/layout/coupon_transaction.xml
warply_android_sdk/src/main/java/ly/warp/sdk/activities/CouponTransactionActivity.java
View file @
22b320f
...
...
@@ -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
);
}
...
...
warply_android_sdk/src/main/res/drawable/banner_border_white3.xml
0 → 100644
View file @
22b320f
<?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
warply_android_sdk/src/main/res/layout/activity_coupons_history.xml
View file @
22b320f
<?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"
...
...
warply_android_sdk/src/main/res/layout/coupon_transaction.xml
View file @
22b320f
<?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"
...
...
Please
register
or
login
to post a comment