ขอขอบคุณTILogistic ณ ที่นี่ด้วย ที่แบ่งปันความรู้และประสบการณ์
www.b4x.com
ศึกษาเพิ่มเติม
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
www.b4x.com
[ Solved]How to code StyleFont from Truetype font
This is my code,please help me code StyleFont is Bold,Italic . Private Sub CreateFont Try If mFontName = "DEFAULT" Or mFontName = "" Then ' ใช้ font เริ่มต้นของระบบ(Using Default Font) Select mFontStyle.ToUpperCase Case "BOLD"...
ศึกษาเพิ่มเติม
Fontometrics - apply any of 24 different fonts/typefaces to for eg B4A Label and EditText views
A wrap for this Github project. You can apply it to for eg B4A labels etc that you have added via the B4A designer or via B4A code. (".....A Simple Android Library to use Custom Fonts with Ease. Use Customs Fonts in your Android project without adding any .ttf/.otf in Assets Folder......")...
Adding Fonts .ttf B4X - B4A, B4I, BJ
I want to know if there is a way to add an a personal font .ttf file in side designer for B4X, b4I and b4J, or if there is a way using compatible code for the 3 platforms. I need use this font in buttons.text and labels.text. I appreciate any idea!
Typeface Monospace Style_Italic
I have labels that were made in Designer with a Typeface of MONOSPACE Style ITALIC When I create a New label on a panel I am displaying in ScrollView2D and assign it a typeface of Typeface.CreateNew(Typeface.MONOSPACE, Typeface.STYLE_ITALIC) It appears as MONOSPACE but does not have the ITALIC...
How to set Typeface.FONTAWESOME, ypeface.DEFAULT_BOLD 2 properties at the same time in B4XView?
;-OK code Dim atLabel as Label atLabel.Typeface=Typeface.FONTAWESOME atLabel.Typeface=Typeface.DEFAULT_BOLD ;-The code below handles only the second BOLD Dim atView As B4XView atView.Font=xui.CreateFont(Typeface.FONTAWESOME, 17)...
Set all the elements to a typeface
Hi, I use loadfromassets to load a typeface and set the typefaces of my labels etc. to this. Is there an easy way to set all the elements of my screen to this typeface? Thanks Peter
How to set custom font for a whole application in Android?
Hi, i need to change the font of my application (menus, toastmessage, actionbar, webview, labels ...) with a custom font, is it possible or not in b4a?? and how can i do it if it is possible?
Example Spinner to Bold, Italic or other typeface
Based on the example found at: https://www.b4x.com/android/forum/threads/spinner-font-typeface.27513/#post-159552 Here a short example to change the spinner after added the values: Sub MakeSpinnerBold(Spinner1 As Spinner) As Spinner Dim Spinner_List_Value As List...
load fonts
Is it possible to load a font to a typeface variable from internal or external sd instead of using LoadFromAssets?
Set FontAwesome & Material Icons TypeFace in code
What is the best method to set the FontAwesome & Material Icons TypeFaces to a view added in the code? Currently I added the MaterialIcons.ttf file to the Assets folder and created a new TypeFace: Private MyTypeface as Typeface MyTypeface = Typeface.LoadFromAssets("B4X_MaterialIcons.ttf")...
Draw Text Italic
Dim Canvas1 As Canvas Dim x1,y1 As Int Dim Text As String Text="Some Thing Write Here" x1=10 y1=10 Canvas1.DrawText(Text,x1,y1,Typeface.STYLE_ITALIC,Colors.Black,"LEFT") Error : STYLE_ITALIC type do not match, Plz give me solution Thanks in advance
Last edited: