调整布局 滚动区域
This commit is contained in:
parent
66e47c4328
commit
a0ee013152
|
|
@ -65,9 +65,6 @@ class ZeroBuyActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ZeroBuyRulesDialog(this@ZeroBuyActivity).show()
|
||||
}
|
||||
|
||||
override fun ViewBinding.initWindowInsets() {
|
||||
|
|
@ -75,7 +72,7 @@ class ZeroBuyActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
|||
}
|
||||
|
||||
private fun showHintInfo() {
|
||||
//TODO("Not yet implemented")
|
||||
ZeroBuyRulesDialog(this@ZeroBuyActivity).show()
|
||||
}
|
||||
|
||||
override fun ViewBinding.initListeners() {
|
||||
|
|
|
|||
|
|
@ -24,28 +24,12 @@
|
|||
/>
|
||||
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="100dp"
|
||||
android:layout_marginHorizontal="15dp"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginHorizontal="22dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="200dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_zero_gold_num"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -68,8 +52,6 @@
|
|||
android:id="@+id/tv_zero_lottery_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textSize="10sp"
|
||||
android:textColor="@color/red_10_dark"
|
||||
android:textStyle="bold"
|
||||
|
|
@ -77,25 +59,29 @@
|
|||
android:paddingVertical="9dp"
|
||||
android:paddingHorizontal="15dp"
|
||||
android:minWidth="100dp"
|
||||
android:layout_gravity="right|bottom"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/zero_bg_menu"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="15dp"
|
||||
android:background="@drawable/zero_bg_4_items"
|
||||
android:layout_marginHorizontal="15dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
>
|
||||
|
||||
<!--第一行两个-->
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
/>
|
||||
|
||||
<!--参加者-->
|
||||
|
|
@ -106,6 +92,7 @@
|
|||
android:paddingVertical="8dp"
|
||||
android:paddingHorizontal="15dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/bg_zero_buy_bottom">
|
||||
|
|
@ -127,51 +114,9 @@
|
|||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<!--提示信息-->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="13dp"
|
||||
android:gravity="center"
|
||||
android:padding="15dp"
|
||||
android:background="@drawable/bg_zero_buy_bottom_hint">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/red_9c"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/zero_buy_hint_title"
|
||||
/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/red_9c"
|
||||
android:layout_marginTop="20dp"
|
||||
android:textSize="10sp"
|
||||
android:text="@string/zero_buy_hint_content"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue