-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
fun t(a: String): TextView {
val textView = TextView(this)
textView.text = a
textView.setTextColor(Color.WHITE)
textView.setAutoSizeTextTypeWithDefaults(TextView.AUTO_SIZE_TEXT_TYPE_UNIFORM)
textView.setPadding(0, 0, 0, 0)
textView.setTypeface(Typeface.MONOSPACE, Typeface.BOLD)
return textView
}
AndroidToolkit.setup(this, R.drawable::class.java)
val table = Table()
table.tableLayout.debug()
table.defaults().expand()
table.add(t("a"))
table.add(t("a"))
Constraint.addView(table)Metadata
Metadata
Assignees
Labels
No labels