update 随机PK
This commit is contained in:
parent
4a637d0a69
commit
8a03b194b2
@ -2,25 +2,42 @@
|
|||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<!--开关按钮关闭时的导轨样式-->
|
<!--开关按钮关闭时的导轨样式-->
|
||||||
<item android:state_checked="false">
|
<item android:state_checked="false">
|
||||||
<shape>
|
<layer-list>
|
||||||
<size android:height="25dp" android:width="25dp"/>
|
<item android:bottom="-1px" android:top="-1px" android:left="-1px" android:right="-1px">
|
||||||
<corners android:radius="20dp"/>
|
<shape android:shape="oval">
|
||||||
<solid android:color="#FFFFFF"/>
|
<size android:width="24dp" android:height="24dp" />
|
||||||
</shape>
|
<solid android:color="#33EEEEEE" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<shape>
|
||||||
|
<size android:height="25dp" android:width="25dp"/>
|
||||||
|
<corners android:radius="20dp"/>
|
||||||
|
<solid android:color="#FFFFFF"/>
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</layer-list>
|
||||||
|
|
||||||
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item android:state_checked="true">
|
<item android:state_checked="true">
|
||||||
<shape>
|
<layer-list>
|
||||||
<size android:height="25dp" android:width="25dp"/>
|
<item android:bottom="-1px" android:top="-1px" android:left="-1px" android:right="-1px">
|
||||||
<corners android:radius="20dp"/>
|
<shape android:shape="oval">
|
||||||
<solid android:color="#FFFFFF"/>
|
<size android:width="24dp" android:height="24dp" />
|
||||||
<padding
|
<solid android:color="#33EEEEEE" />
|
||||||
android:bottom="2dp"
|
</shape>
|
||||||
android:left="2dp"
|
</item>
|
||||||
android:right="2dp"
|
<item>
|
||||||
android:top="2dp" />
|
<shape>
|
||||||
|
<size android:height="25dp" android:width="25dp"/>
|
||||||
|
<corners android:radius="20dp"/>
|
||||||
|
<solid android:color="#FFFFFF"/>
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
|
|
||||||
</shape>
|
|
||||||
</item>
|
</item>
|
||||||
</selector>
|
</selector>
|
@ -85,11 +85,13 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<com.yunbao.common.custom.CommonRefreshView
|
||||||
android:id="@+id/random_container_view"
|
android:id="@+id/random_container_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="216dp"
|
android:layout_height="216dp"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
android:layout_weight="1" />
|
android:layout_weight="1" >
|
||||||
|
|
||||||
|
</com.yunbao.common.custom.CommonRefreshView>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -86,10 +86,39 @@
|
|||||||
android:text="@string/random_pk_info_btn_start"
|
android:text="@string/random_pk_info_btn_start"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
|
android:visibility="gone"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="188dp"
|
||||||
|
android:layout_height="42dp"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:background="@drawable/bg_live_random_pk_info_btn"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/random_pk_btn_title"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/random_pk_info_btn_start"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/random_pk_btn_desc"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView"
|
android:id="@+id/textView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
Loading…
Reference in New Issue
Block a user