|
@@ -25,12 +25,23 @@
|
|
|
android:id="@+id/ivSearch"
|
|
|
app:layout_constraintTop_toTopOf="@+id/magicIndicator"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/magicIndicator"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- android:layout_marginEnd="96dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
android:src="@mipmap/search"
|
|
|
android:layout_width="26dp"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/ivRanking"
|
|
|
android:layout_height="52dp"/>
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivRanking"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/magicIndicator"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/magicIndicator"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:src="@mipmap/ic_live"/>
|
|
|
+
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvStartLive"
|
|
|
android:gravity="center_vertical"
|
|
@@ -48,6 +59,7 @@
|
|
|
android:layout_marginEnd="10dp"
|
|
|
android:background="@drawable/shape_white_20"
|
|
|
android:text="@string/live"
|
|
|
+ android:visibility="gone"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
@@ -66,6 +78,27 @@
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
android:layout_marginRight="10dp"
|
|
|
- android:layout_marginBottom="10dp"/>
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:visibility="gone"/>
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.MediumTextView
|
|
|
+ android:id="@+id/mtv_live"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:paddingStart="16dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:background="@drawable/shape_9b20fc_20"
|
|
|
+ android:text="@string/live"
|
|
|
+ android:textColor="@color/_ffffff"
|
|
|
+ android:drawableStart="@mipmap/ic_voice"/>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|