lmw
2024-07-09 b13afc751dbbce24753d008f1f87d2c5e133a4ad
xldutils-kotlin/src/main/java/cn/sinata/xldutils/activity/TitleActivity.kt
@@ -1,5 +1,6 @@
package cn.sinata.xldutils.activity
import android.graphics.Color
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
@@ -21,6 +22,9 @@
    val bg_title by lazy {
        find<View>(R.id.bg_title)
    }
    val base_root by lazy {
        find<View>(R.id.base_root)
    }
    val titleBar by lazy {
        val titleBar = find<TitleBar>(R.id.titleBar)
@@ -34,6 +38,7 @@
        if (layoutResID > 0) {
            layoutInflater.inflate(layoutResID, llContainer, true)
        }
        base_root.setBackgroundColor(Color.parseColor("#C3BFB3"))
    }
    override fun setContentView(view: View?) {