Spread butter like a pro!
Let me know if you find any bugs or issues.
B4X:
#Region Project Attributes
#ApplicationLabel: Butter Knife
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: Landscape
#CanInstallToExternalStorage: True
#End Region
#Region Activity Attributes
#FullScreen: True
#IncludeTitle: False
#End Region
Sub Process_Globals
End Sub
Sub Globals
Private Knife As ImageView
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Load Layout
Activity.LoadLayout("Kitchen")
'Center the knife on screen
Knife.Width = 100%x
Knife.Height = Knife.Width * (154 / 745)
Knife.Left = 50%x - (Knife.Width / 2)
Knife.Top = 50%y - (Knife.Height / 2)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Let me know if you find any bugs or issues.