Selaa lähdekoodia

2024-06-13 修改

修改

1. 酒店预订 可编辑逻辑修改,完善部分代码
zhaiy 10 kuukautta sitten
vanhempi
commit
a5fefb7ee4

+ 2 - 0
app/src/main/java/com/pan_american/android/ui/group_hotel/hotel_predetermine/HotelPredeterminePaymentLayout.kt

@@ -3,6 +3,7 @@ package com.pan_american.android.ui.group_hotel.hotel_predetermine
 import android.content.Context
 import android.util.AttributeSet
 import android.view.LayoutInflater
+import android.view.View
 import android.widget.LinearLayout
 import com.pan_american.android.R
 
@@ -10,6 +11,7 @@ class HotelPredeterminePaymentLayout(context: Context, attrs: AttributeSet?) : L
 
     init {
         LayoutInflater.from(context).inflate(R.layout.layout_hotel_predetermine_payment, this)
+        setLayerType(View.LAYER_TYPE_HARDWARE, null)
     }
 
 }

+ 2 - 0
app/src/main/java/com/pan_american/android/util/PaymentApplicationLayout.kt

@@ -25,5 +25,7 @@ class PaymentApplicationLayout(context: Context, attrs: AttributeSet?) : LinearL
         swipe = view.findViewById(R.id.swipe)
         transfer = view.findViewById(R.id.transfer)
         remit = view.findViewById(R.id.remit)
+
+        setLayerType(View.LAYER_TYPE_HARDWARE, null)
     }
 }