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:08:24 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f0b6cc6aebea250092cdf4452e06cae65531673b
f0b6cc6a
1 parent
41ef782f
loyalty fragment campaign fixes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
34 deletions
warply_android_sdk/src/main/res/layout/item_profile_recycler.xml
warply_android_sdk/src/main/res/layout/item_profile_recycler.xml
View file @
f0b6cc6
<?xml version="1.0" encoding="utf-8"?>
<androidx.c
onstraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.c
ardview.widget.CardView
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:layout_width=
"@dimen/width_full"
android:layout_height=
"150dp"
android:layout_marginStart=
"10dp"
a
ndroid:background=
"@drawable/selector_cos_campaign
"
>
a
pp:cardCornerRadius=
"4dp
"
>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_vertical_60_percent"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.6"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/selector_cos_campaign"
>
<ImageView
android:id=
"@+id/iv_campaign_logo"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:scaleType=
"centerCrop"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintLeft_toLeftOf=
"parent"
tools:src=
"@drawable/ic_cosmote_logo_horizontal_grey"
app:layout_constraintRight_toLeftOf=
"@+id/gl_vertical_60_percent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.0"
/>
<androidx.constraintlayout.widget.Guideline
android:id=
"@+id/gl_vertical_60_percent"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_constraintGuide_percent=
"0.6"
/>
<TextView
android:id=
"@+id/tv_campaign_title"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"12dp"
android:gravity=
"center"
android:maxLines=
"4"
android:textColor=
"@color/grey"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@+id/gl_vertical_60_percent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:text=
"-10% in all products from IKEA"
/>
<ImageView
android:id=
"@+id/iv_campaign_logo"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:scaleType=
"centerCrop"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toLeftOf=
"@+id/gl_vertical_60_percent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintVertical_bias=
"0.0"
tools:src=
"@drawable/ic_cosmote_logo_horizontal_grey"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<TextView
android:id=
"@+id/tv_campaign_title"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"12dp"
android:gravity=
"center"
android:maxLines=
"4"
android:textColor=
"@color/grey"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@+id/gl_vertical_60_percent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
tools:text=
"-10% in all products from IKEA"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment