2023-05-17 15:12:51 +08:00
|
|
|
<?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="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/live_room_vote"
|
|
|
|
android:layout_width="130dp"
|
2023-05-18 15:02:11 +08:00
|
|
|
android:layout_height="88dp"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:layout_marginTop="-8dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:background="@drawable/background_cc000"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/vote_hide">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
2023-05-18 15:02:11 +08:00
|
|
|
android:layout_height="0dp"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:layout_marginStart="10dp"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:layout_marginTop="0dp"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:layout_marginEnd="10dp"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:layout_weight="8"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textColor="#FFFFFF"
|
2023-05-18 15:02:11 +08:00
|
|
|
app:autoSizeMaxTextSize="16sp"
|
2023-05-19 10:36:06 +08:00
|
|
|
app:autoSizeMinTextSize="10sp"
|
2023-05-18 15:02:11 +08:00
|
|
|
app:autoSizeStepGranularity="1sp"
|
2023-05-19 10:36:06 +08:00
|
|
|
app:autoSizeTextType="uniform"
|
|
|
|
tools:text="各位粉絲團的親親親想聽什麽歌曲聽什麽都可以只要你想聽哈哈哈哈哈" />
|
2023-05-17 15:12:51 +08:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/vote_progress"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="match_parent"
|
2023-05-18 15:02:11 +08:00
|
|
|
android:layout_height="0dp"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:layout_weight="1"
|
2023-05-18 15:02:11 +08:00
|
|
|
|
2023-05-17 15:12:51 +08:00
|
|
|
android:max="20"
|
|
|
|
android:progress="10"
|
|
|
|
android:progressDrawable="@drawable/live_room_qa_progress"
|
|
|
|
android:rotationY="180" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2023-05-18 15:02:11 +08:00
|
|
|
android:layout_height="0dp"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:layout_weight="5"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/vote_sub1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:minLines="2"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:textColor="#FFFFFF"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:textSize="14sp"
|
|
|
|
app:autoSizeMaxTextSize="14sp"
|
|
|
|
app:autoSizeMinTextSize="5sp"
|
|
|
|
app:autoSizeStepGranularity="1sp"
|
|
|
|
app:autoSizeTextType="uniform"
|
|
|
|
tools:text="喜欢喜欢喜欢喜欢" />
|
2023-05-17 15:12:51 +08:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="1dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="#FFF" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/vote_sub2"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:minLines="2"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:textColor="#FFFFFF"
|
2023-05-19 10:36:06 +08:00
|
|
|
android:textSize="14sp"
|
|
|
|
app:autoSizeMaxTextSize="14sp"
|
|
|
|
app:autoSizeMinTextSize="5sp"
|
|
|
|
app:autoSizeStepGranularity="1sp"
|
|
|
|
app:autoSizeTextType="uniform"
|
|
|
|
tools:text="不喜欢不喜欢不喜" />
|
2023-05-17 15:12:51 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/vote_close"
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@mipmap/live_close"
|
|
|
|
tools:layout_editor_absoluteY="93dp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/vote_hide"
|
2023-05-18 11:21:53 +08:00
|
|
|
android:layout_width="20dp"
|
2023-05-17 15:12:51 +08:00
|
|
|
android:layout_height="15dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:rotationY="180"
|
2023-05-18 11:21:53 +08:00
|
|
|
android:scaleType="fitCenter"
|
2023-05-17 15:12:51 +08:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@mipmap/icon_back" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/vote_show"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/background_live_vote_cc000"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:srcCompat="@mipmap/icon_back" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="10dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:layout_marginEnd="2dp"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/bg_live_room_vote_hide"
|
|
|
|
android:ems="1"
|
|
|
|
android:lineSpacingMultiplier='0.8'
|
|
|
|
android:paddingStart="1.5dp"
|
|
|
|
android:paddingTop="2dp"
|
|
|
|
android:paddingEnd="1.5dp"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
android:text="@string/live_vote_hide_text"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="6sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|