如何在 iFrame 中显示文本

时间:2020-12-24 14:11:30

标签: android

这是我的代码:

    override fun onBindViewHolder(holder: MyViewHolder, position: Int) {
        .....
        holder.montextvisite.setText(article.montext)
        .....)
    }

    class MyViewHolder(var vue:View):RecyclerView.ViewHolder(vue){
        ...
        var montextvisite=vue.findViewById<TextView>(R.id.montext)
        ....
    }

结果显示在:

<TextView
                    android:id="@+id/montext"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:text=" "
                    android:textSize="25dp"
                    />

现在,在 bdd 中,我更改了使用 iFrame 显示的文本:

<iframe width="560" height="315" src="https://www.mywebsite.com/bingo/this/6" frameborder="0" allowfullscreen></iframe>

我怎样才能让它在 iFrame 中运行? (不应按文本显示)

谢谢

0 个答案:

没有答案