vistaman if you 45 that lav arm at all , you will cut off the vent. what i said before will work fine, 90 right out of the wall and put a sanitary tee on the 90. The AAV needs to be only 4" above the top of the trap (maybe more depends on the manufacturer of the valve) so if you have 21" of...
this may work?
What type of tee is in the wall? If you can adapt to that, possibly with a 1.5 " female adapter, come out of the wall and 90 up. Put another sanitary tee vertically, come out of the top with an air admittance valve. Now retrap the lav as you would normally.
If I understand your question, no you cannot vent the shower with the main stack. When you flush your toilet, water flowing down the drain will (in theory) create negative pressure, and suck your shower trap dry.
You need to vent the shower drain separately.
If you want to use an air...