257 lines
12 KiB
XML
257 lines
12 KiB
XML
<?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"
|
|
android:background="@color/black">
|
|
|
|
<include
|
|
android:id="@+id/view_home_title_bar"
|
|
layout="@layout/view_title_bar_home"
|
|
android:layout_width="0dp"
|
|
android:layout_height="60dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<include
|
|
android:id="@+id/text_tab_bar_home"
|
|
layout="@layout/view_text_tab_bar"
|
|
android:layout_width="0dp"
|
|
android:layout_height="52dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/view_home_title_bar" />
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nsv_home_recommendation_content"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:fillViewport="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/text_tab_bar_home">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_recommendation_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/spacing_28">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_live_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_12"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_lives"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_20"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:listitem="@layout/view_live_thumbnail_simple" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_banner_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_28"
|
|
android:orientation="vertical">
|
|
|
|
<kr.co.vividnext.sodalive.v2.widget.banner.BannerView
|
|
android:id="@+id/rv_home_banners"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_recent_activity_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_48"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/view_home_recent_activity_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_recent_activity_creators"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_14"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_recent_debut_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_48"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/view_home_recent_debut_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_recent_debut_creators"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_14"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_first_audio_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_48"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/view_home_first_audio_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_first_audio_contents"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_14"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_ai_character_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_48"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
android:id="@+id/view_home_ai_character_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_ai_characters"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_14"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_genre_creator_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/spacing_48"
|
|
android:orientation="vertical">
|
|
|
|
<kr.co.vividnext.sodalive.v2.main.home.ui.HomePagerSnapRecyclerView
|
|
android:id="@+id/rv_home_genre_creators"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_cheer_creator_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="@dimen/spacing_24">
|
|
|
|
<include
|
|
android:id="@+id/view_home_cheer_creator_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_cheer_creators"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_popular_community_section"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="@dimen/spacing_24"
|
|
android:visibility="gone">
|
|
|
|
<include
|
|
android:id="@+id/view_home_popular_community_title"
|
|
layout="@layout/view_section_title" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_popular_community_posts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:clipToPadding="false"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_home_business_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="@dimen/spacing_20"
|
|
android:paddingTop="@dimen/spacing_24"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_home_business_info"
|
|
style="@style/Typography.Body6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="3"
|
|
android:text="@string/company_info"
|
|
android:textColor="@color/gray_500" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_home_creator_rankings"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:clipToPadding="false"
|
|
android:paddingHorizontal="@dimen/spacing_14"
|
|
android:paddingTop="@dimen/spacing_14"
|
|
android:paddingBottom="@dimen/spacing_28"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/text_tab_bar_home"
|
|
tools:listitem="@layout/view_creator_ranking_horizontal_card" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|