Hi m4u_hoahoctro,
Here is a modified "unit2.lfm"
object AndroidModule2: TAndroidModule2
Left = 945
Top = 48
Width = 300
Height = 600
MarginLeft = 0
MarginTop = 0
MarginRight = 0
MarginBottom = 0
Text = 'AndroidModule2'
ActivityMode = actMain
BackgroundColor = colbrDefault
OnJNIPrompt = AndroidModule2JNIPrompt
object jTextView1: jTextView
Left = 5
Top = 5
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
PosRelativeToAnchor = []
PosRelativeToParent = [rpTop, rpLeft]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView1Click
Id = 3718151
end
object jTextView2: jTextView
Left = 76
Top = 5
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView1
PosRelativeToAnchor = [raToRightOf]
PosRelativeToParent = [rpTop]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'B'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView2Click
Id = 9461189
end
object jTextView3: jTextView
Left = 147
Top = 5
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView2
PosRelativeToAnchor = [raToRightOf]
PosRelativeToParent = [rpTop]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'C'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView3Click
Id = 6341291
end
object jTextView4: jTextView
Left = 218
Top = 5
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView3
PosRelativeToAnchor = [raToRightOf]
PosRelativeToParent = [rpTop, rpRight]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'B'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView4Click
Id = 5522042
end
object jTextView5: jTextView
Left = 5
Top = 76
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView1
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpLeft]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView5Click
Id = 7622216
end
object jTextView6: jTextView
Left = 76
Top = 76
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView5
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView6Click
Id = 8770245
end
object jTextView7: jTextView
Left = 147
Top = 76
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView6
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView7Click
Id = 7830331
end
object jTextView8: jTextView
Left = 218
Top = 76
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView7
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = [rpRight]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView8Click
Id = 1969942
end
object jTextView9: jTextView
Left = 5
Top = 147
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView5
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpLeft]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView9Click
Id = 2190527
end
object jTextView10: jTextView
Left = 76
Top = 147
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView9
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView10Click
Id = 4756362
end
object jTextView11: jTextView
Left = 147
Top = 147
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView10
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView11Click
Id = 2589130
end
object jTextView12: jTextView
Left = 218
Top = 147
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView11
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = [rpRight]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView12Click
Id = 0
end
object jTextView13: jTextView
Left = 5
Top = 218
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView9
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpLeft]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView13Click
Id = 1752964
end
object jTextView14: jTextView
Left = 76
Top = 218
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView13
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView14Click
Id = 15784
end
object jTextView15: jTextView
Left = 147
Top = 218
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView14
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView15Click
Id = 5912469
end
object jTextView16: jTextView
Left = 218
Top = 218
Width = 61
Height = 61
MarginLeft = 5
MarginTop = 245
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView15
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = [rpRight]
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpOneEighthOfParent
Text = 'A'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrChartreuse
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
OnClick = jTextView16Click
Id = 2866691
end
object jTextView17: jTextView
Left = 98
Top = 289
Width = 103
Height = 32
MarginLeft = 5
MarginTop = 5
MarginRight = 10
MarginBottom = 5
Visible = True
Anchor = jTextView15
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpCenterHorizontal]
LayoutParamWidth = lpWrapContent
LayoutParamHeight = lpWrapContent
Text = 'The Answer:'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrDefault
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
Id = 9929159
end
object jButton1: jButton
Left = 82
Top = 330
Width = 136
Height = 40
MarginLeft = 2
MarginTop = 4
MarginRight = 2
MarginBottom = 4
Visible = True
Anchor = jTextView17
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpCenterHorizontal]
LayoutParamWidth = lpHalfOfParent
LayoutParamHeight = lpWrapContent
Text = 'Start'
BackgroundColor = colbrDefault
FontColor = colbrDefault
FontSize = 0
OnClick = jButton1Click
Id = 4885599
end
object jButton2: jButton
Left = 82
Top = 378
Width = 136
Height = 40
MarginLeft = 2
MarginTop = 4
MarginRight = 2
MarginBottom = 4
Visible = True
Anchor = jButton1
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpCenterHorizontal]
LayoutParamWidth = lpHalfOfParent
LayoutParamHeight = lpWrapContent
Text = 'Surrender'
BackgroundColor = colbrDefault
FontColor = colbrDefault
FontSize = 0
OnClick = jButton2Click
Id = 1744465
end
object jTextView18: jTextView
Left = 216
Top = 289
Width = 61
Height = 32
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jTextView17
PosRelativeToAnchor = [raToRightOf, raAlignBaseline]
PosRelativeToParent = []
LayoutParamWidth = lpOneQuarterOfParent
LayoutParamHeight = lpWrapContent
Text = '00 : 00'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrNavajoWhite
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
Id = 0
end
object jSpinner1: jSpinner
Left = 8
Top = 432
Width = 287
Height = 40
MarginLeft = 5
MarginTop = 10
MarginRight = 5
MarginBottom = 10
Visible = True
Anchor = jButton2
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = []
LayoutParamWidth = lpMatchParent
LayoutParamHeight = lpWrapContent
Items.Strings = (
'Hi'
'Hello'
'Bye bye'
)
BackgroundColor = colbrDefault
SelectedFontColor = colbrDefault
DropListTextColor = colbrDefault
DropListBackgroundColor = colbrDefault
LastItemAsPrompt = False
FontSize = 0
Id = 7525840
end
object jTextView19: jTextView
Left = 103
Top = 487
Width = 94
Height = 32
MarginLeft = 5
MarginTop = 5
MarginRight = 5
MarginBottom = 5
Visible = True
Anchor = jSpinner1
PosRelativeToAnchor = [raBelow]
PosRelativeToParent = [rpCenterHorizontal]
LayoutParamWidth = lpWrapContent
LayoutParamHeight = lpWrapContent
Text = 'Hello Baby'
Alignment = taCenter
Enabled = True
BackgroundColor = colbrWhiteSmoke
FontColor = colbrBlack
FontSize = 20
TextTypeFace = tfNormal
Id = 0
end
object jTextFileManager1: jTextFileManager
left = 40
top = 152
end
object jTimer1: jTimer
Enabled = False
Interval = 1000
OnTimer = jTimer1Timer
left = 104
top = 152
end
end