Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meser
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Suryono
meser
Commits
85875ede
Commit
85875ede
authored
Aug 28, 2020
by
iman Fauzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fail
parent
806a45c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
item_list.xml
app/src/main/res/layout/item_list.xml
+14
-14
No files found.
app/src/main/res/layout/item_list.xml
View file @
85875ede
...
...
@@ -23,7 +23,8 @@
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"wrap_content"
android:layout_marginHorizontal=
"5dp"
>
<com.google.android.material.card.MaterialCardView
android:layout_width=
"match_parent"
...
...
@@ -44,6 +45,7 @@
android:layout_height=
"wrap_content"
android:adjustViewBounds=
"true"
android:src=
"@mipmap/ic_meser_icon"
android:scaleType=
"fitXY"
app:url=
"@{image}"
/>
<ImageView
...
...
@@ -66,16 +68,14 @@
android:id=
"@+id/title_product"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
app:layout_constraintTop_toBottomOf=
"@id/image_product"
app:layout_constraintStart_toStartOf=
"parent"
tools:text=
"@tools:sample/full_names"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
android:lines=
"1"
android:textStyle=
"bold"
android:text=
"@{products.productName}"
android:maxLength=
"25"
android:layout_below=
"@id/image_product"
/>
android:layout_below=
"@id/image_product"
tools:text=
"@tools:sample/full_names"
/>
<TextView
android:id=
"@+id/price"
...
...
@@ -95,18 +95,17 @@
android:id=
"@+id/status"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_above=
"@+id/materialBtnAddCart"
android:layout_toRightOf=
"@id/price"
android:layout_marginBottom=
"5dp"
android:lines=
"1"
android:maxLength=
"25"
android:paddingHorizontal=
"10dp"
android:text=
"@{status}"
android:textAllCaps=
"true"
android:textColor=
"@android:color/black"
android:textSize=
"10sp"
android:lines=
"1"
android:textAllCaps=
"true"
android:text=
"@{status}"
android:maxLength=
"25"
android:layout_toEndOf=
"@id/price"
android:layout_above=
"@id/materialBtnAddCart"
android:layout_marginLeft=
"15dp"
android:layout_marginBottom=
"5dp"
tools:text=
"@tools:sample/full_names"
/>
tools:text=
"@tools:sample/full_names"
/>
<com.google.android.material.button.MaterialButton
android:id=
"@+id/materialBtnAddCart"
...
...
@@ -114,6 +113,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/price"
android:layout_marginTop=
"10dp"
android:text=
"Add To Cart"
/>
</RelativeLayout>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment