
با سلام
آموزش اضافه کردن آیکون های جدیدی که در ورژن ۶٫۵ بیسیک کنجاده شده در دیزاینر رو در این آموزش از کدنویسی اعمال خواهیم کرد .
سمپل و آموزش پیوست شد .
با تشکر از دوست عزیزمون : ?Assassi?
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Private Label1 As Label
Private Label2 As Label
Private Label3 As Label
Private Label4 As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("1")
Label3.Typeface=Typeface.LoadFromAssets("_FontAwesome.otf")
Label4.Typeface=Typeface.LoadFromAssets("_MaterialIcons.ttf")
Label3.Text=""&"سلام"
Label3.TextSize=50
Label4.TextSize=100
Label1.TextSize=100
Label2.TextSize=100
Label4.Text=""
End Sub
دانلود سورس
