JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
German Wrapper erstellen (GitHub)
Expert
Licensed User
Longtime User
Einen wrapper für Bootstrap habe ich erstellt. Aber so richtig will das bei mir nicht funktionieren. Vielleicht habe ich aber auch noch was übersehen, was mal im Beispiel noch machen müsste....
Kannst mal damit rumspielen, wenn Du magst.
BootstrapV1.0.0.zip enthält die Lib
BootstrapEx.zip enthält ein Beispiel wie ich es bisher erstellt habe
BootstrapRes.zip enthält die benötigten Resourcen. Diese gehören mit ins Verzeichnis des B4A-Projekts.
Bootstrap
Author: DonManfred (wrapper)
Version: 1
AwesomeTextView
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
startFlashing (forever As Boolean , speed As AnimationSpeed )
Starts a Flashing Animation on the AwesomeTextView
forever: whether the animation should be infinite or play once
speed: how fast the item should flash
startRotate (clockwise As Boolean , speed As AnimationSpeed )
Starts a rotating animation on the AwesomeTextView
clockwise: true for clockwise, false for anti clockwise spinning
speed: how fast the item should rotate
Properties:
Background As Drawable
BootstrapBrand As BootstrapBrand
BootstrapText As BootstrapText
Color As Int [write only]
Enabled As Boolean
FontAwesomeIcon As CharSequence [write only]
Sets the text to display a FontIcon, replacing whatever text is already present.
Used to set the text to display a FontAwesome Icon.
Height As Int
Left As Int
MarkdownText As String [write only]
Parent As Object [read only]
Tag As Object
Text As CharSequence [write only]
Top As Int
Typicon As CharSequence [write only]
Sets the text to display a FontIcon, replacing whatever text is already present.
Used to set the text to display a Typicon.
Visible As Boolean
Width As Int
BootstrapAlert
Methods:
Initialize (EventName As String )
IsInitialized As Boolean
dismiss (animated As Boolean )
Hides the alert with an animation, setting its visibility to {@link View#GONE}
animated: whether the dismissal should be animated or not
isUserDismissible As Boolean
Retrieves whether the user can dismiss the dialog or not
Return type: @return:true if dismissable
show (animated As Boolean )
Shows the alert with an animation, setting its visibility to {@link View#VISIBLE}
animated: whether the appearance should be animated or not
Properties:
UserDismissible As Boolean [write only]
Sets whether the user can dismiss the dialog or not.
BootstrapBadge
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
setBootstrapBrand (bootstrapBrand As BootstrapBrand , insideContainer As Boolean )
Properties:
Background As Drawable
BadgeText As String
BootstrapBrand As BootstrapBrand [read only]
BootstrapBrand2 As BootstrapBrand [write only]
BootstrapSize As Float
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapButton
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
displayBadgeDrawable
isMustBeSelected As Boolean
isRounded As Boolean
isShowOutline As Boolean
Properties:
Background As Drawable
Badge As BootstrapBadge [write only]
BadgeText As String
BootstrapBadge As BootstrapBadge [read only]
BootstrapSize As Float
ButtonMode As ButtonMode
Checked As Boolean [write only]
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Rounded As Boolean [write only]
ShowOutline As Boolean [write only]
Tag As Object
Text As CharSequence [write only]
Top As Int
Visible As Boolean
Width As Int
BootstrapButtonGroup
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
addView (child As View , width As Int , height As Int )
addView2 (child As View )
addViewAt (child As View , index As Int )
isRounded As Boolean
isShowOutline As Boolean
removeAllViews
removeAllViewsInLayout
removeViewAt (index As Int )
removeViewInLayout (view As View )
removeViews (start As Int , count As Int )
removeViewsInLayout (start As Int , count As Int )
Properties:
Background As Drawable
BootstrapBrand As BootstrapBrand
BootstrapSize As Float
ButtonMode As ButtonMode
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Orientation As Int [write only]
Parent As Object [read only]
Rounded As Boolean [write only]
ShowOutline As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapDropDown
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
isRounded As Boolean
isShowOutline As Boolean
Properties:
Background As Drawable
Color As Int [write only]
DropdownData()() As String
Retrieves the data used to populate the dropdown.
Enabled As Boolean
ExpandDirection As ExpandDirection
Gets the direction in which the dropdown expands.
ExpandDown As ExpandDirection [read only]
ExpandUp As ExpandDirection [read only]
Height As Int
Left As Int
Parent As Object [read only]
Rounded As Boolean [write only]
ShowOutline As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapEditText
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
isRounded As Boolean
Properties:
Background As Drawable
BootstrapBrand As BootstrapBrand
BootstrapSize As Float
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Rounded As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapLabel
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
isRounded As Boolean
updateBootstrapState
Properties:
Background As Drawable
BootstrapHeading As BootstrapHeading
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Rounded As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapProgressBar
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
isAnimated As Boolean
isRounded As Boolean
isStriped As Boolean
Properties:
Animated As Boolean [write only]
Background As Drawable
BootstrapBrand As BootstrapBrand
BootstrapSize As Float
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Progress As Int
Rounded As Boolean [write only]
Striped As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int
BootstrapText
Methods:
Initialize (EventName As String )
IsInitialized As Boolean
addFontAwesomeIcon (iconCode As CharSequence ) As BootstrapTextWrapper
Appends a FontAwesomeIcon to the BootstrapText under construction
Return type: @return:the updated builder instance
addText (text As CharSequence ) As BootstrapTextWrapper
Appends a regular piece of text to the BootstrapText under construction.
text: a regular piece of text
Return type: @return:the updated builder instance
addTypicon (iconCode As CharSequence ) As BootstrapTextWrapper
Appends a Typicon to the BootstrapText under construction
Return type: @return:the updated builder instance
build As BootstrapText
Return type: @return:a new instance of BootstrapText, constructed according to Builder arguments.
objectname
Fields: Methods:
BringToFront
DesignerCreateView (base As PanelWrapper , lw As LabelWrapper , props As Map )
Initialize (EventName As String )
Invalidate
Invalidate2 (arg0 As Rect )
Invalidate3 (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
IsInitialized As Boolean
RemoveView
RequestFocus As Boolean
SendToBack
SetBackgroundImage (arg0 As Bitmap )
SetColorAnimated (arg0 As Int , arg1 As Int , arg2 As Int )
SetLayout (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int )
SetLayoutAnimated (arg0 As Int , arg1 As Int , arg2 As Int , arg3 As Int , arg4 As Int )
SetVisibleAnimated (arg0 As Int , arg1 As Boolean )
isRounded As Boolean
Properties:
Background As Drawable
Color As Int [write only]
Enabled As Boolean
Height As Int
Left As Int
Parent As Object [read only]
Rounded As Boolean [write only]
Tag As Object
Top As Int
Visible As Boolean
Width As Int