优化了事件面板展示

启动页面展示,但是还是会出现加载进入后的图标下挫问题,待修复
This commit is contained in:
董宏宇
2020-08-07 19:06:55 +08:00
parent 793bb9a91d
commit ad2a68f9df
10 changed files with 59 additions and 16 deletions

View File

@@ -5,12 +5,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
<com.mogo.module.v2x.view.RoundConstraintLayout
android:id="@+id/clPanelContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/cardview_dark_background"
android:background="#10121E"
android:visibility="gone"
app:roundLayoutRadius="@dimen/dp_40"
tools:visibility="visible">
<com.google.android.material.tabs.TabLayout
@@ -21,12 +22,11 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tabGravity="fill"
app:tabIndicatorColor="#ff678f"
app:tabIndicatorFullWidth="false"
app:tabIndicatorHeight="2dp"
app:tabMode="fixed"
app:tabSelectedTextColor="#ff678f"
app:tabTextColor="#EE00FF"
app:tabMode="scrollable"
app:tabSelectedTextColor="#FFFFFF"
app:tabTextColor="#65FFFFFF"
app:tabUnboundedRipple="true" />
<androidx.viewpager2.widget.ViewPager2
@@ -38,7 +38,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tabLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.mogo.module.v2x.view.RoundConstraintLayout>
<Button
android:id="@+id/btnShowOrHidePanels"