【发布时间】:2021-11-02 12:31:46
【问题描述】:
我以编程方式创建了一个 ScrollView
private fun showSpinner() {
/* SCROllL VIEW */
var linearLayout: LinearLayout? = null
linearLayout = findViewById(R.id.linear1)
val layoutInflater = LayoutInflater.from(this)
// Create the view...
val view: View = layoutInflater.inflate(R.layout.scroll_bckgrnd, linearLayout, false)
...
...
}
如何以编程方式关闭它?
我没有在网上找到任何东西
欢迎和欣赏每一个想法。
【问题讨论】:
-
关闭它是什么意思?你的意思是隐藏它?
-
您的问题不清楚。您最好的选择可能是提供您想要什么以及您现在拥有什么的图像。
标签: android kotlin scrollview programmatically-created