|
@@ -40,29 +40,49 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btnLiveBroadcast"
|
|
|
- android:layout_width="@dimen/divider_237px"
|
|
|
- android:layout_height="@dimen/divider_68px"
|
|
|
- android:layout_marginTop="@dimen/divider_40px"
|
|
|
- android:background="@drawable/bg_live_broadcast_button"
|
|
|
- android:text="@string/live_broadcast"
|
|
|
- android:textColor="@color/color_FF4974FF"
|
|
|
- android:textSize="@dimen/divider_34px"
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/radioLive"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="@dimen/divider_36px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rdb_appointment"
|
|
|
+ style="@style/broadcast_radio_button"
|
|
|
+ android:background="@drawable/selector_live_tab_left"
|
|
|
+ android:checked="true"
|
|
|
+ android:text="@string/appointment_hall" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rdb_live"
|
|
|
+ style="@style/broadcast_radio_button"
|
|
|
+ android:background="@drawable/selector_live_tab_center"
|
|
|
+ android:text="@string/appointment_hall" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rdb_playback"
|
|
|
+ style="@style/broadcast_radio_button"
|
|
|
+ android:background="@drawable/selector_live_tab_right"
|
|
|
+ android:text="@string/live_playback" />
|
|
|
+ </RadioGroup>
|
|
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
|
android:id="@+id/swipeLiveBroadcast"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_marginLeft="@dimen/divider_60px"
|
|
|
+ android:layout_marginTop="@dimen/divider_47px"
|
|
|
android:layout_marginRight="@dimen/divider_60px"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/btnLiveBroadcast">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/radioLive">
|
|
|
|
|
|
<com.scwang.smart.refresh.header.ClassicsHeader
|
|
|
android:layout_width="match_parent"
|