Litho: googlemap in facebook litho

Created on 12 Dec 2018  路  2Comments  路  Source: facebook/litho

I hope if you could do me a favor. I want to use a map as background activity for litho components.as the picture below. the box and button are designed in litho. and i want to set google map undr the box and use it. is it possible?
my litho version is '0.21.0'
screenshot_2018-12-12-16-22-18
is it possible to use map and litho together anyway?
@passy @emilsjolander @IanChilds @pasqualeanatriello @marco-cova @mihaelao @lucas @astreet @muraziz @boxme

Most helpful comment

Yes, this is possible, you would just put LithoView(s) over top of the map like you would do with standard android. You can also use one LithoView and create a custom MountSpec for the GoogleMap view which would be the first child with positionType: absolute. Try playing around with yogalayout.com to iterate on the layout you want. :)

All 2 comments

Yes, this is possible, you would just put LithoView(s) over top of the map like you would do with standard android. You can also use one LithoView and create a custom MountSpec for the GoogleMap view which would be the first child with positionType: absolute. Try playing around with yogalayout.com to iterate on the layout you want. :)

Yes, this is possible, you would just put LithoView(s) over top of the map like you would do with standard android. You can also use one LithoView and create a custom MountSpec for the GoogleMap view which would be the first child with positionType: absolute. Try playing around with yogalayout.com to iterate on the layout you want. :)

I appreciate you, It worked for me.

Was this page helpful?
0 / 5 - 0 ratings