fix: removed placeholders causing stuttering during interface loading

This commit is contained in:
CappielloAntonio 2024-03-23 22:41:44 +01:00
parent 374dbb58bb
commit 03700d9e4c
10 changed files with 164 additions and 342 deletions

View file

@ -1,6 +1,7 @@
<?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:layout_width="match_parent"
android:layout_height="match_parent">
@ -24,7 +25,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
android:visibility="gone"
tools:visibility="visible">
<TextView
android:id="@+id/podcast_channels_pre_text_view"
@ -84,7 +87,9 @@
android:id="@+id/home_newest_podcasts_sector"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible">
<TextView
style="@style/TitleLarge"
@ -106,12 +111,6 @@
android:nestedScrollingEnabled="false"
android:paddingTop="8dp" />
</LinearLayout>
<include
android:id="@+id/podcast_episodes_placeholder"
layout="@layout/item_placeholder_horizontal"
android:visibility="gone" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>