268 lines
11 KiB
XML
268 lines
11 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/fl_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_above="@+id/ll_tab"
|
|
android:layout_alignParentTop="true" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_mini_player"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/ll_tab"
|
|
android:background="@color/color_222222"
|
|
android:paddingHorizontal="13.3dp"
|
|
android:paddingVertical="10.7dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_cover"
|
|
android:layout_width="36.7dp"
|
|
android:layout_height="36.7dp"
|
|
android:layout_centerVertical="true"
|
|
android:contentDescription="@null"
|
|
tools:src="@mipmap/ic_launcher" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginHorizontal="10.7dp"
|
|
android:layout_toStartOf="@+id/iv_play_or_pause"
|
|
android:layout_toEndOf="@+id/iv_cover"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="2"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="13sp"
|
|
tools:text="JFLA 커버곡 Avicii for your self" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_nickname"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2.3dp"
|
|
android:textColor="@color/color_d2d2d2"
|
|
android:textSize="11sp"
|
|
tools:ignore="SmallSp"
|
|
tools:text="JFLA 커버곡 Avicii for your self" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_play_or_pause"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_toStartOf="@+id/iv_stop"
|
|
android:contentDescription="@null"
|
|
tools:src="@drawable/btn_bar_play" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_stop"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_noti_stop" />
|
|
</RelativeLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/cl_mini_player"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/ll_tab"
|
|
android:background="@color/color_222222"
|
|
android:paddingHorizontal="13.3dp"
|
|
android:paddingVertical="10.7dp"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_player_cover"
|
|
android:layout_width="36.7dp"
|
|
android:layout_height="36.7dp"
|
|
android:layout_centerVertical="true"
|
|
android:contentDescription="@null"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:src="@mipmap/ic_launcher" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_player_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10.7dp"
|
|
android:ellipsize="end"
|
|
android:maxLines="2"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textSize="13sp"
|
|
app:layout_constraintEnd_toStartOf="@+id/iv_player_play_or_pause"
|
|
app:layout_constraintStart_toEndOf="@+id/iv_player_cover"
|
|
app:layout_constraintTop_toTopOf="@+id/iv_player_cover"
|
|
tools:text="JFLA 커버곡 Avicii for your self" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_player_nickname"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2.3dp"
|
|
android:textColor="@color/color_d2d2d2"
|
|
android:textSize="11sp"
|
|
app:layout_constraintEnd_toEndOf="@+id/tv_player_title"
|
|
app:layout_constraintStart_toStartOf="@+id/tv_player_title"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_player_title"
|
|
tools:ignore="SmallSp"
|
|
tools:text="JFLA 커버곡 Avicii for your self" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_player_play_or_pause"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:contentDescription="@null"
|
|
app:layout_constraintBottom_toBottomOf="@+id/iv_player_stop"
|
|
app:layout_constraintEnd_toStartOf="@+id/iv_player_stop"
|
|
app:layout_constraintTop_toTopOf="@+id/iv_player_stop"
|
|
tools:src="@drawable/btn_bar_play" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_player_stop"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_noti_stop"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tab"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@color/color_111111"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal"
|
|
android:paddingVertical="10dp"
|
|
app:labelVisibilityMode="labeled">
|
|
|
|
<include
|
|
android:id="@+id/tab_content"
|
|
layout="@layout/item_main_tab"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
android:id="@+id/tab_live"
|
|
layout="@layout/item_main_tab"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
android:id="@+id/tab_audition"
|
|
layout="@layout/item_main_tab"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
android:id="@+id/tab_message"
|
|
layout="@layout/item_main_tab"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
android:id="@+id/tab_my"
|
|
layout="@layout/item_main_tab"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1" />
|
|
</LinearLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/ns_search"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/fl_search_channel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_marginHorizontal="13.3dp"
|
|
android:layout_marginTop="20dp"
|
|
android:background="@drawable/bg_round_corner_6_7_222222_bbbbbb">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="21.3dp"
|
|
android:contentDescription="@null"
|
|
android:src="@drawable/ic_title_search_black" />
|
|
|
|
<EditText
|
|
android:id="@+id/et_search_channel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@null"
|
|
android:fontFamily="@font/gmarket_sans_medium"
|
|
android:gravity="center_vertical"
|
|
android:hint="채널명을 입력해보세요"
|
|
android:importantForAutofill="no"
|
|
android:inputType="textWebEditText"
|
|
android:paddingHorizontal="54.67dp"
|
|
android:textColor="@color/color_eeeeee"
|
|
android:textColorHint="@color/color_eeeeee"
|
|
android:textCursorDrawable="@drawable/edit_text_cursor"
|
|
android:textSize="13.3sp"
|
|
tools:ignore="LabelFor" />
|
|
</RelativeLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_search_channel"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:nestedScrollingEnabled="false"
|
|
android:paddingVertical="20dp"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_result_x"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_marginVertical="40dp"
|
|
android:text="검색 결과가 없습니다." />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</RelativeLayout>
|