Commit f471cb5e authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

added default favorite cards components

parent d8eb0eae
<vector android:height="32dp" android:viewportHeight="85.333336"
android:viewportWidth="85.333336" android:width="32dp" xmlns:android="http://schemas.android.com/apk/res/android">
<group>
<clip-path android:pathData="M0,0L85.3333,0L85.3333,85.3333L0,85.3333Z M 0,0"/>
<path android:fillAlpha="0" android:fillColor="#d8d8d8"
android:fillType="nonZero"
android:pathData="M-6.6667,-6.6667L92,-6.6667L92,92L-6.6667,92Z" android:strokeColor="#00000000"/>
</group>
<group>
<clip-path android:pathData="m46.4147,42.6667 l11.9311,11.9311c0.5207,0.5207 0.5207,1.3649 0,1.8856l-1.7678,1.7678c-0.5207,0.5207 -1.3649,0.5207 -1.8856,-0l-11.9311,-11.9311 -11.9311,11.9311c-0.5207,0.5207 -1.3649,0.5207 -1.8856,-0l-1.7678,-1.7678c-0.5207,-0.5207 -0.5207,-1.3649 0,-1.8856L39.1078,42.6667 27.1767,30.7356c-0.5207,-0.5207 -0.5207,-1.3649 0,-1.8856l1.7678,-1.7678c0.5207,-0.5207 1.3649,-0.5207 1.8856,-0l11.9311,11.9311 11.9311,-11.9311c0.5207,-0.5207 1.3649,-0.5207 1.8856,-0l1.7678,1.7678c0.5207,0.5207 0.5207,1.3649 0,1.8856z M 0,0"/>
<path android:fillAlpha="1" android:fillColor="#ffffff"
android:fillType="nonZero"
android:pathData="m20.1195,20.0249l45.2835,-0L65.403,65.3084l-45.2835,-0z" android:strokeColor="#00000000"/>
</group>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="32"
android:viewportHeight="32">
<group>
<clip-path android:pathData="M16,0C7.1634,0 0,7.1634 0,16 0,24.8366 7.1634,32 16,32 24.8366,32 32,24.8366 32,16 32,7.1634 24.8366,0 16,0ZM16,29.7143C8.4252,29.7143 2.2857,23.5749 2.2857,16 2.2857,8.4251 8.4252,2.2857 16,2.2857 23.5748,2.2857 29.7143,8.4251 29.7143,16 29.7143,23.5749 23.5748,29.7143 16,29.7143ZM12.9623,13.9085C12.8891,14.0091 12.8092,14.1006 12.7452,14.2103 12.2904,14.9965 12.1921,15.888 12.3863,16.7085L10,25.8194 16.1738,19.3051c1.0149,-0.1394 1.9566,-0.7154 2.5097,-1.6686 0.1326,-0.2308 0.2286,-0.4709 0.304,-0.7154l0.4411,0.2218 2.5715,-12.1074 -9.4286,8.6789zM14.7245,15.3508c0.0937,-0.1623 0.2263,-0.2811 0.3726,-0.3749l1.7371,0.8686c0.016,0.2217 -0.0113,0.4457 -0.1302,0.6514 -0.3154,0.5463 -1.0149,0.7337 -1.5611,0.4183 -0.5464,-0.3177 -0.7337,-1.0149 -0.4183,-1.5635z M 0,0"/>
<group>
<clip-path android:pathData="M-995.9999,446.6667L86.6667,446.6667L86.6667,-53.3333l-1082.6666,-0z M 0,0"/>
<path
android:pathData="M-6.6667,-6.6667L38.6667,-6.6667L38.6667,38.6667L-6.6667,38.6667Z"
android:fillColor="#40a19b"
android:strokeColor="#00000000"
android:fillType="nonZero"
android:fillAlpha="1"/>
</group>
</group>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/linearLayout10"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/frameLayout"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/new_feed_icon"
android:backgroundTint="@color/colorAccent"
android:visibility="visible"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/feed_date_text_view3"
style="@style/LiteText.Accent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:includeFontPadding="false"
android:text="СВОБОДНА"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="@+id/frameLayout"
app:layout_constraintEnd_toStartOf="@+id/object_plan_icon"
app:layout_constraintStart_toEndOf="@+id/frameLayout"
app:layout_constraintTop_toTopOf="@+id/frameLayout" />
<ImageView
android:id="@+id/object_plan_icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_favorites" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/object_card_title"
style="@style/Header_TextView.Main_Header"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="8dp"
android:text="КВАРТИРА\n№ 452"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/object_plan_icon" />
<include
layout="@layout/horizontal_divider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/object_card_title" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorOpacityCardBackground"
android:orientation="vertical">
<TextView
android:id="@+id/textView16"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/favorites_cards_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.textview.MaterialTextView
style="@style/LiteText.Notice"
android:id="@+id/info_ceil_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Цена за м²" />
<com.google.android.material.textview.MaterialTextView
style="@style/Common_Text.Default"
android:id="@+id/info_ceail_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="165 301 ₽" />
</LinearLayout>
\ 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"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/linearLayout11"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/textView18"
style="@style/Default_TextView.Header_Text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="Посмотреть на плане на сайте"
app:layout_constraintBottom_toBottomOf="@+id/room_park_link_icon"
app:layout_constraintEnd_toStartOf="@+id/room_park_link_icon"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/room_park_link_icon" />
<ImageView
android:id="@+id/room_park_link_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_room_park" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ 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"
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">
<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" />
<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.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" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...@@ -280,6 +280,20 @@ ...@@ -280,6 +280,20 @@
<item name="android:textColor">@color/colorCommonText</item> <item name="android:textColor">@color/colorCommonText</item>
</style> </style>
<style name="LiteText" parent="Base.Widget.AppCompat.TextView.AcromRegularTextView">
<item name="android:textSize">@dimen/lite_notice</item>
</style>
<style name="LiteText.Accent">
<item name="android:textColor">@color/colorAccent</item>
</style>
<style name="LiteText.Notice">
<item name="android:textColor">@color/colorNoticeText</item>
</style>
//endregion //endregion
......
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