|
@@ -1,19 +1,26 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/rootAnchorView"
|
|
android:id="@+id/rootAnchorView"
|
|
- android:background="@mipmap/bg_room"
|
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="@mipmap/bg_room">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivBg"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ tools:visibility="visible"
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"/>
|
|
|
|
|
|
<!--自己-->
|
|
<!--自己-->
|
|
<FrameLayout
|
|
<FrameLayout
|
|
android:id="@+id/flLocal"
|
|
android:id="@+id/flLocal"
|
|
- android:layoutDirection="ltr"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
|
+ android:layoutDirection="ltr"
|
|
android:layout_height="match_parent">
|
|
android:layout_height="match_parent">
|
|
-
|
|
|
|
</FrameLayout>
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
@@ -29,31 +36,30 @@
|
|
<com.duolingo.open.rtlviewpager.RtlViewPager
|
|
<com.duolingo.open.rtlviewpager.RtlViewPager
|
|
android:id="@+id/viewPager"
|
|
android:id="@+id/viewPager"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"/>
|
|
|
|
|
|
+ android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
|
|
<com.swago.room.lianmai.LianMaiView
|
|
<com.swago.room.lianmai.LianMaiView
|
|
android:id="@+id/lianMaiView"
|
|
android:id="@+id/lianMaiView"
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginBottom="150dp"
|
|
android:layout_marginBottom="150dp"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
- tools:visibility="visible"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivStopLive"
|
|
android:id="@+id/ivStopLive"
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
+ android:layout_height="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
- android:visibility="gone"
|
|
|
|
android:src="@mipmap/close"
|
|
android:src="@mipmap/close"
|
|
- android:layout_width="40dp"
|
|
|
|
- android:layout_height="40dp"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -63,13 +69,13 @@
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivPrepareClose"
|
|
android:id="@+id/ivPrepareClose"
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
+ android:layout_height="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
android:src="@mipmap/close"
|
|
android:src="@mipmap/close"
|
|
- android:layout_width="40dp"
|
|
|
|
- android:layout_height="40dp"/>
|
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivPrepareCamera"
|
|
android:id="@+id/ivPrepareCamera"
|
|
@@ -86,33 +92,69 @@
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tvWishGift"
|
|
android:id="@+id/tvWishGift"
|
|
- android:textSize="14dp"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:text="Wish Gift"
|
|
|
|
- android:drawablePadding="4dp"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginBottom="24dp"
|
|
- app:layout_constraintBottom_toTopOf="@+id/tvStartLive"
|
|
|
|
android:drawableTop="@mipmap/wish_gift"
|
|
android:drawableTop="@mipmap/wish_gift"
|
|
|
|
+ android:drawablePadding="4dp"
|
|
|
|
+ android:text="Wish Gift"
|
|
|
|
+ android:textColor="#ffffff"
|
|
|
|
+ android:textSize="14dp"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tvStartLive"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/llChangeBg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ tools:visibility="visible"
|
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tvWishGift"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivLeftChange"
|
|
|
|
+ android:src="@mipmap/ic_left_change"
|
|
|
|
+ android:padding="15dp"
|
|
|
|
+ android:layout_width="50dp"
|
|
|
|
+ android:layout_height="50dp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:textSize="14dp"
|
|
|
|
+ android:text="Switch theme"
|
|
|
|
+ android:textColor="#ffffff"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivRightChange"
|
|
|
|
+ android:src="@mipmap/ic_right_change"
|
|
|
|
+ android:padding="15dp"
|
|
|
|
+ android:layout_width="50dp"
|
|
|
|
+ android:layout_height="50dp" />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tvNew"
|
|
android:id="@+id/tvNew"
|
|
- android:textSize="10dp"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:text="New"
|
|
|
|
- android:paddingStart="3dp"
|
|
|
|
- android:paddingEnd="3dp"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:layout_marginEnd="-5dp"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginTop="-5dp"
|
|
android:layout_marginTop="-5dp"
|
|
|
|
+ android:layout_marginEnd="-5dp"
|
|
android:background="@drawable/shape_ff56b7_14"
|
|
android:background="@drawable/shape_ff56b7_14"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:paddingStart="3dp"
|
|
|
|
+ android:paddingEnd="3dp"
|
|
|
|
+ android:text="New"
|
|
|
|
+ android:textColor="#ffffff"
|
|
|
|
+ android:textSize="10dp"
|
|
app:layout_constraintEnd_toEndOf="@+id/tvWishGift"
|
|
app:layout_constraintEnd_toEndOf="@+id/tvWishGift"
|
|
- app:layout_constraintTop_toTopOf="@+id/tvWishGift"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tvWishGift" />
|
|
|
|
|
|
|
|
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
@@ -148,58 +190,60 @@
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/llVideo"
|
|
android:id="@+id/llVideo"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
- android:layout_marginBottom="20dp"
|
|
|
|
- app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/llAudio"
|
|
app:layout_constraintEnd_toStartOf="@+id/llAudio"
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent">
|
|
|
|
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
android:id="@+id/tvVideo"
|
|
android:id="@+id/tvVideo"
|
|
- android:textSize="16dp"
|
|
|
|
- android:textColor="#fff"
|
|
|
|
- android:text="Live"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="Live"
|
|
|
|
+ android:textColor="#fff"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
+
|
|
<View
|
|
<View
|
|
android:id="@+id/viewVideo"
|
|
android:id="@+id/viewVideo"
|
|
- android:layout_marginTop="3dp"
|
|
|
|
- android:layout_gravity="center"
|
|
|
|
- android:background="@drawable/shape_white_5"
|
|
|
|
android:layout_width="10dp"
|
|
android:layout_width="10dp"
|
|
- android:layout_height="2dp"/>
|
|
|
|
|
|
+ android:layout_height="2dp"
|
|
|
|
+ android:layout_gravity="center"
|
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
|
+ android:background="@drawable/shape_white_5" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/llAudio"
|
|
android:id="@+id/llAudio"
|
|
- android:orientation="vertical"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginStart="40dp"
|
|
android:layout_marginStart="40dp"
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
- app:layout_constraintStart_toEndOf="@+id/llVideo"
|
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/llVideo">
|
|
|
|
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
android:id="@+id/tvAudio"
|
|
android:id="@+id/tvAudio"
|
|
- android:textSize="16dp"
|
|
|
|
- android:textColor="@color/_d4ffffff"
|
|
|
|
- android:text="Audio"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="Audio"
|
|
|
|
+ android:textColor="@color/_d4ffffff"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
+
|
|
<View
|
|
<View
|
|
android:id="@+id/viewAudio"
|
|
android:id="@+id/viewAudio"
|
|
- android:layout_marginTop="3dp"
|
|
|
|
|
|
+ android:layout_width="10dp"
|
|
|
|
+ android:layout_height="2dp"
|
|
android:layout_gravity="center"
|
|
android:layout_gravity="center"
|
|
- android:visibility="invisible"
|
|
|
|
|
|
+ android:layout_marginTop="3dp"
|
|
android:background="@drawable/shape_white_5"
|
|
android:background="@drawable/shape_white_5"
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="2dp"/>
|
|
|
|
|
|
+ android:visibility="invisible" />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
@@ -208,13 +252,13 @@
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivClose"
|
|
android:id="@+id/ivClose"
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
+ android:layout_height="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginTop="40dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:layout_marginEnd="10dp"
|
|
|
|
+ android:src="@mipmap/close"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- android:src="@mipmap/close"
|
|
|
|
- android:layout_width="40dp"
|
|
|
|
- android:layout_height="40dp"/>
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|