B4X:..... Dim p8 As MSIconicDrawable : p8.Initialize("faw-user-plus"): p8.Color = Colors.ARGB(255, 255, 255, 255): p8.BackgroundColor = Colors.ARGB(255, 89,89,89 ) .....
is there a way to centralize the same ??
Thank you
Marco
p8.paddingDP(IconPading as Int)
Hi Anser thank you for your response, already try this, but as result i have only icon more "little"Did you try
B4X:p8.paddingDP(IconPading as Int)
I'm guessing you didnt try any of the samples or demos?
That is an account selection header. You dont need the header at all, just dont add it to your drawer.
You cannot make that particular one a popup menu, it displays a list of accounts to select from.
You can include a custom header, and add a popup menu with it. Should be very easy.
Great lib. I tried your demo to understand how to use the lib, but the selection header in your example doesn't do anything. I think that when a selection header is pressed it will show the list of account but not appear.
<dimen name="material_drawer_item_primary_icon_padding_right">24dp</dimen>
You need to use ACActionBar for this. So you code could be:how to switching between Back-Arrow or Hamburger-Icon
'ab is of type ACActionBar
ab.Initialize
ab.ShowUpIndicator = True
Sub MD_ItemClick(Position As Int, Identifier As Int)
Dim p9 As MSIconicDrawable : p9.Initialize("faw-check"): p9.Color = Colors.ARGB(255, 255,255,255)
If Position = 2 Then
MD.updateName(2, "Proviamo" )
MD.updateIcon(2, p9.Drawable )
End If
dont work.MD.updateName(2, "Proviamo" )
Maybe a bug in the old MaterialDrawer library.Any idea ??
Maybe a bug in the old MaterialDrawer library.
I´m doing a completely new wrap for this library. It is not finished as yet but i´ll try to reproduce your issue and see if it is doing the same with my wrap..
Before you ask; i´ll make an beta available this weekend for a few people. But the lib will be chargeable as i spent a lot of work on it actually.
You´ll receive a link to test on weekendI cant wait to try out your new masterpiece
as seen in my lib i would guess you should hold a reference to the DrawerItem which you added to the drawer.MD.updateIcon(2, p9.Drawable )
mnu3.withBadge(Rnd(1,5001))
mdrawer.updateItem(mnu3)
You´ll receive a link to test on weekend
Look like this at present.
Note that the profiles are just "ProfileDrawerItems". they are not really profiles... The header and profiles are not working as yet.
But there are other issues. different theme for switch and toggle for example.
The icon is not working as yet...
View attachment 44617
count me inMaybe a bug in the old MaterialDrawer library.
I´m doing a completely new wrap for this library. It is not finished as yet but i´ll try to reproduce your issue and see if it is doing the same with my wrap..
Before you ask; i´ll make an beta available this weekend for a few people. But the lib will be chargeable as i spent a lot of work on it actually.
Maybe a bug in the old MaterialDrawer library.
I´m doing a completely new wrap for this library. It is not finished as yet but i´ll try to reproduce your issue and see if it is doing the same with my wrap..
Before you ask; i´ll make an beta available this weekend for a few people. But the lib will be chargeable as i spent a lot of work on it actually.
A step further... Icons seems to be working nowI wait you link
icon.icon("gmd_account_circle").color(Colors.Blue).contourColor(Colors.Red).drawContour(True).backgroundColor(Colors.White).iconOffsetXDp(8)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?