Android activity in landscape - with fragment or dialog in portrait and landscape -


im building camerafunction in application.

i've implemented function activity surfaceview, , activity set landscape only.

here problem:

i have various settings can changed within view eg. flashmode, resolution, zoom etc. whenever user selects spinner, presented dialog allows him/her select between various options - dialog in landscape.

i'm trying figure out how display dialog in portrait mode if phone turned. can orientation using sensormanager, how put info use?

im thinking maybe can have fragments within acticity overlay surfaceview, , have fragments rotated accordingly current orientation. how?

anyways preferred solution have spinnerdialog rotate according orientation, have set orientation in manifest landscape, cant see how can achieved.

any suggestions? in advance


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -