Commit 6a166cbe authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

flat card

parent 81591aab
......@@ -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
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment