Commit 06bbe455 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fix layout placeholder dims

parent 58e4df01
......@@ -46,7 +46,7 @@ class FeedsScreenController :
.map { storedFeedsList[it].feedId }
.observeOn(AndroidSchedulers.mainThread())
.doOnNext { feedsBlockView.findViewById<MaterialButton>(R.id.to_feed_articles)
.text = "ВСЕ ${allFeedName(it)}" }
.text = "ВСЕ ${allFeedName(it)}" }
......
......@@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="404dp"
android:background="@drawable/gradient_background_accent"
android:orientation="vertical"
android:paddingStart="16dp">
......@@ -13,6 +13,7 @@
android:id="@+id/feedsTabs"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:background="#00000000"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
......@@ -23,12 +24,15 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/feedsRecyclerView"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toTopOf="@+id/feeds_divider"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:itemCount="3"
app:layout_constraintTop_toBottomOf="@+id/feedsTabs"
app:layout_constraintVertical_bias="0.0"
tools:itemCount="3"
tools:listitem="@layout/feed_preview_viewholder" />
<include
......@@ -36,21 +40,19 @@
layout="@layout/horizontal_divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="8dp"
android:background="@drawable/botttom_bar_shadow"
app:layout_constraintBottom_toTopOf="@+id/to_feed_articles"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/feedsRecyclerView" />
app:layout_constraintStart_toStartOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/to_feed_articles"
style="@style/AllFeeds.News"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="64dp"
android:gravity="center_vertical|end"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/feeds_divider" />
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ 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