We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d485fd commit 5fb3d98Copy full SHA for 5fb3d98
app/src/main/java/com/flyjingfish/formattextviewdemo/DemoActivity.kt
@@ -15,15 +15,10 @@ import com.flyjingfish.formattextview.*
15
import kotlinx.android.synthetic.main.activity_main.*
16
17
class DemoActivity : AppCompatActivity() {
18
- var wh :FloatArray?=null
19
override fun onCreate(savedInstanceState: Bundle?) {
20
super.onCreate(savedInstanceState)
21
setContentView(R.layout.activity_demo)
22
23
- val w = (wh?.get(0)?.toInt() ?: 0)
24
-
25
- Log.e("DemoActivity","width="+w)
26
27
text1.setFormatText(R.string.xieyi,
28
FormatText().apply {
29
textSize = 22f
0 commit comments