|
@@ -1,77 +1,76 @@
|
|
<?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"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="match_parent"
|
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/viewPager"
|
|
android:id="@+id/viewPager"
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/rg"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="0dp"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/rg"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
<RadioGroup
|
|
android:id="@+id/rg"
|
|
android:id="@+id/rg"
|
|
- android:orientation="horizontal"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="50dp">
|
|
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
- android:id="@+id/rbHome"
|
|
|
|
|
|
+ android:id="@+id/rbCircle"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
android:checked="true"
|
|
android:checked="true"
|
|
- android:paddingTop="15dp"
|
|
|
|
- android:drawableTop="@drawable/selector_home"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:drawableTop="@drawable/selector_square"
|
|
|
|
+ android:paddingTop="15dp" />
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
- android:id="@+id/rbCircle"
|
|
|
|
|
|
+ android:id="@+id/rbHome"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
- android:paddingTop="15dp"
|
|
|
|
- android:drawableTop="@drawable/selector_square"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:drawableTop="@drawable/selector_home"
|
|
|
|
+ android:paddingTop="15dp" />
|
|
|
|
+
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rbMessage"
|
|
android:id="@+id/rbMessage"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
- android:layout_weight="1"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_marginStart="60dp"
|
|
android:layout_marginStart="60dp"
|
|
|
|
+ android:layout_weight="1"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
- android:paddingTop="15dp"
|
|
|
|
android:drawableTop="@drawable/selector_message"
|
|
android:drawableTop="@drawable/selector_message"
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ android:paddingTop="15dp" />
|
|
|
|
|
|
<RadioButton
|
|
<RadioButton
|
|
android:id="@+id/rbMine"
|
|
android:id="@+id/rbMine"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:button="@null"
|
|
android:button="@null"
|
|
- android:paddingTop="15dp"
|
|
|
|
android:drawableTop="@drawable/selector_mine"
|
|
android:drawableTop="@drawable/selector_mine"
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:paddingTop="15dp" />
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivStartLive"
|
|
android:id="@+id/ivStartLive"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginBottom="4dp"
|
|
android:src="@mipmap/start_live"
|
|
android:src="@mipmap/start_live"
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
- android:layout_marginBottom="4dp"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|