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

added feeds block layout

parent 3b3d0528
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:type="linear"
android:angle="270"
android:startColor="@color/colorAccentSecondary"
android:endColor="@color/colorAccent">
</gradient>
</shape>
\ 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:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="448dp"
android:background="@drawable/gradient_background_accent"
android:orientation="vertical">
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/feeds_divider"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
</androidx.viewpager.widget.ViewPager>
<ImageView
android:id="@+id/feeds_divider"
android:layout_width="match_parent"
android:layout_height="10dp"
android:background="@drawable/botttom_bar_shadow"
app:layout_constraintBottom_toTopOf="@+id/textView4" />
<com.google.android.material.button.MaterialButton
android:id="@+id/textView4"
style="@style/AllFeeds.News"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|end"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</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" android:layout_width="match_parent"
android:layout_height="match_parent">
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......@@ -91,6 +91,31 @@
<item name="strokeWidth">0dp</item>
</style>
<style name="AllFeeds" parent="Widget.MaterialComponents.Button.OutlinedButton">
<item name="strokeWidth">0dp</item>
<item name="android:height">64dp</item>
<item name="cornerRadius">0dp</item>
<item name="rippleColor">@color/colorOpacityBackground</item>
<item name="android:textSize">@dimen/common_text</item>
<item name="android:textColor">@color/colorInvertedText</item>
<item name="hintTextColor">@color/colorInvertedText</item>
<item name="android:text">"Я ЗАБЫЛ"</item>
<item name="android:fontFamily">@font/acrom_medium</item>
<item name="android:gravity">end</item>
</style>
<style name="AllFeeds.News">
<item name="android:text">"ВСЕ НОВОСТИ →"</item>
</style>>
<style name="AllFeeds.Blogs">
<item name="android:text">"ВСЕ БЛОГИ →"</item>
</style>>
<style name="AllFeeds.Blogs_Development">
<item name="android:text">"ПОДРОБНЕЕ →"</item>
</style>>
//region TextView
......
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