Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
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
Vladislav Bogdashkin
Room Park Android
Commits
6a166cbe
Commit
6a166cbe
authored
Sep 23, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flat card
parent
81591aab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
187 additions
and
38 deletions
+187
-38
deal_card_viewholder.xml
app/src/main/res/layout/deal_card_viewholder.xml
+142
-1
start_tour_viewholder.xml
app/src/main/res/layout/start_tour_viewholder.xml
+45
-37
No files found.
app/src/main/res/layout/deal_card_viewholder.xml
View file @
6a166cbe
...
...
@@ -54,9 +54,150 @@
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
/>
</LinearLayout>
<include
layout=
"@layout/test_progress_status"
android:layout_height=
"wrap_content"
android:layout_width=
"match_parent"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:weightSum=
"2"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_sum_header_text_view"
style=
"@style/Accent_Minor_TextView.Inverted"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"Сумма договора"
android:textAlignment=
"viewStart"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_sum_value_text_view"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"5 165 301 ₽"
android:textAlignment=
"textEnd"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:weightSum=
"2"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_payed_header_text_view"
style=
"@style/Accent_Minor_TextView.Inverted"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"Сумма платежей"
android:textAlignment=
"viewStart"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_payed_value_text_view"
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"1 332 543 ₽"
android:textAlignment=
"viewEnd"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:weightSum=
"2"
>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_to_pay_header_text_view"
style=
"@style/Accent_Minor_TextView.Inverted"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"Сумма к оплате"
android:textAlignment=
"viewStart"
/>
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/deal_to_pay_value_text_view"
style=
"@style/Default_TextView.Accent_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
android:layout_weight=
"1"
android:text=
"32 543 ₽"
android:textAlignment=
"viewEnd"
/>
</LinearLayout>
<include
layout=
"@layout/start_tour_viewholder"
android:layout_width=
"match_parent"
android:layout_height=
"64dp"
android:layout_marginStart=
"16dp"
android:layout_marginEnd=
"16dp"
/>
<com.google.android.material.card.MaterialCardView
android:layout_width=
"match_parent"
android:layout_height=
"64dp"
android:layout_marginStart=
"16dp"
android:layout_marginTop=
"16dp"
android:layout_marginEnd=
"16dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/colorCommonBackground"
android:weightSum=
"3"
>
<ImageView
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_gravity=
"end|center_vertical"
android:layout_weight=
"1"
android:baselineAlignBottom=
"false"
android:src=
"@drawable/ic_flat"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Header_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_gravity=
"center|center_vertical"
android:layout_weight=
"2"
android:gravity=
"center"
android:text=
"КАРТОЧКА КВАРТИРЫ"
android:textAlignment=
"gravity"
/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
\ No newline at end of file
app/src/main/res/layout/start_tour_viewholder.xml
View file @
6a166cbe
<?xml version="1.0" encoding="utf-8"?>
<
androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
com.google.android.material.card.MaterialCardView
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:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"64dp"
>
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:elevation=
"4dp"
android:padding=
"16dp"
app:cardElevation=
"4dp"
>
<com.biganto.visual.roompark.view_utils.image_view.RoundedImageView
android:id=
"@+id/roundedImageView2"
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:foreground=
"@color/colorOpacityCardBackground"
android:scaleType=
"centerCrop"
android:src=
"@drawable/default_image_placeholder"
/>
android:layout_height=
"64dp"
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/roundedImageView"
android:layout_width=
"18dp"
android:layout_height=
"18dp"
android:layout_marginTop=
"16dp"
android:layout_marginBottom=
"16dp"
android:scaleType=
"fitCenter"
android:tint=
"@color/colorCommonBackground"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/roundedImageView2"
app:layout_constraintHorizontal_bias=
"0.22"
app:layout_constraintStart_toStartOf=
"@+id/roundedImageView2"
app:layout_constraintTop_toTopOf=
"parent"
app:srcCompat=
"@drawable/ic_feeds"
/>
<com.biganto.visual.roompark.view_utils.image_view.RoundedImageView
android:id=
"@+id/roundedImageView2"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:foreground=
"@color/colorOpacityCardBackground"
android:scaleType=
"centerCrop"
android:src=
"@drawable/default_image_placeholder"
/>
<com.google.android.material.textview.MaterialTextView
style=
"@style/Default_TextView.Inverted_Text"
android:id=
"@+id/textView17"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:text=
"ВИРТУАЛЬНЫЙ ТУР"
app:layout_constraintBottom_toBottomOf=
"@+id/roundedImageView"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintStart_toEndOf=
"@+id/roundedImageView"
app:layout_constraintTop_toTopOf=
"@+id/roundedImageView"
/>
<ImageView
android:id=
"@+id/roundedImageView"
android:layout_width=
"18dp"
android:layout_height=
"18dp"
android:layout_marginTop=
"16dp"
android:layout_marginBottom=
"16dp"
android:scaleType=
"fitCenter"
android:tint=
"@color/colorCommonBackground"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"@+id/roundedImageView2"
app:layout_constraintHorizontal_bias=
"0.22"
app:layout_constraintStart_toStartOf=
"@+id/roundedImageView2"
app:layout_constraintTop_toTopOf=
"parent"
app:srcCompat=
"@drawable/ic_feeds"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<com.google.android.material.textview.MaterialTextView
android:id=
"@+id/textView17"
style=
"@style/Default_TextView.Inverted_Text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"16dp"
android:text=
"ВИРТУАЛЬНЫЙ ТУР"
app:layout_constraintBottom_toBottomOf=
"@+id/roundedImageView"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_bias=
"0.0"
app:layout_constraintStart_toEndOf=
"@+id/roundedImageView"
app:layout_constraintTop_toTopOf=
"@+id/roundedImageView"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
\ No newline at end of file
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