Native UI on mobile devices

I’m working on developing an app for android/ios and maybe other mobile
devices and I was wanting to use native UI elements on my app so it would
look like it fit in with the rest of the OS. Is it possible to do this with
SDL? If not what else is a good framework that will let me have one
codebase(preferably in C++) for multiple platforms? I Love SDL, but native
ui elements are a must for this app.

I did find a way to do this with callbacks through Java, but it looks really ugly. What might be a better way to do it?