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:03:49 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
41ef782f370fd2ed72f234e08dd01d6c072c9de7
41ef782f
1 parent
006ff92c
fixed home campaigns view
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
14 deletions
warply_android_sdk/src/main/res/layout/carousel_item.xml
warply_android_sdk/src/main/res/layout/carousel_item.xml
View file @
41ef782
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<androidx.cardview.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=
"
@dimen/height_carousel
"
android:layout_width=
"
360dp
"
android:layout_height=
"
240dp
"
android:layout_marginLeft=
"10dp"
android:elevation=
"2dp"
android:background=
"@drawable/bottom_border"
>
app:cardCornerRadius=
"10dp"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:elevation=
"2dp"
>
<LinearLayout
android:id=
"@+id/ll_carousel_icon"
android:layout_width=
"match_parent"
app:layout_constraintStart_toStartOf=
"parent
"
android:layout_height=
"170dp
"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:layout_height=
"170dp"
>
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<ImageView
android:id=
"@+id/imageView"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:src=
"@drawable/carousel_banner"
android:scaleType=
"centerCrop"
tools:layout_editor_absoluteY=
"-44dp
"
/>
tools:src=
"@drawable/carousel_banner
"
/>
</LinearLayout>
<TextView
...
...
@@ -30,10 +35,11 @@
android:layout_height=
"wrap_content"
android:paddingHorizontal=
"15dp"
android:paddingVertical=
"10dp"
android:textColor=
"@color/grey"
android:textSize=
"15sp"
android:textStyle=
"bold"
android:textColor=
"@color/grey"
tools:text=
"Χρόνια πολλά με υγεία! Σου κάνουμε δώρο 5GB για τη γιορτή σου!"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@+id/ll_carousel_icon"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
tools:text=
"Χρόνια πολλά με υγεία! Σου κάνουμε δώρο 5GB για τη γιορτή σου!"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment