Re: [android-developers] can more than one sliding drawer be used in a LinearLayout?
On Sat, Mar 10, 2012 at 09:52:31PM -0600, Jim Graham wrote: > Oops...did a direct (r)eply instead of a (L)ist reply I did say > my brain was already shut down for the night. > > On Sun, Mar 11, 2012 at 09:00:01AM +0530, Narendra Singh Rathore wrote: > > > http://stackoverflow.com/questions/6404606/android-is-it-possible-to-have-multiple-slidingdrawer > > Thanks. That appears to be The Answer (42 ). I'd already offset > the tabs, but other than that, sounds like the OP in that one was having > the same problem, and got it working. I'll look into it more tomorrow. Ok, well, as per the stackoverflow link above, I put android:layout_weight="1" android:layout_height="0" in both SlidingDrawer defs. That caused an error---can't use an integer (0), so I made the height lines "0dp" instead. No change. The last SlidingDrawer defined in the layout is the one that will open, regardless of which tab is pulled down. Any other ideas? Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W "'Wrong' is one of those concepts that depends on witnesses." --Catbert: Evil Director of Human Resources (Dilbert, 05Nov09) Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] can more than one sliding drawer be used in a LinearLayout?
Oops...did a direct (r)eply instead of a (L)ist reply I did say my brain was already shut down for the night. On Sun, Mar 11, 2012 at 09:00:01AM +0530, Narendra Singh Rathore wrote: > Is it possible to have more than one in a LinearLayout? Did I just > > miss something in the Dev Guide and tutorials? Or can there only > > be one? > http://stackoverflow.com/questions/6404606/android-is-it-possible-to-have-multiple-slidingdrawer Thanks. That appears to be The Answer (42 ). I'd already offset the tabs, but other than that, sounds like the OP in that one was having the same problem, and got it working. I'll look into it more tomorrow. I've already exceeded my (cancer-imposed) limits today. I also found a tutorial on the "Android People" site that clearly shows that you can set both height and width for a sliding drawer, so that should do it. If not, I'll followup here tomorrow with more. If so, and *IF* my memory is functioning (some days, that's an awfully big IF), I'll post a confirmation. Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)| "Now what *you* need is a proper pint of spooky1...@gmail.com| porter poured in a proper pewter porter < Running FreeBSD 7.0 > | pot.." ICBM / Hurricane: |--Peter Dalgaard in alt.sysadmin.recovery 30.44406N 86.59909W | Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] can more than one sliding drawer be used in a LinearLayout?
Is it possible to have more than one in a LinearLayout? Did I just > miss something in the Dev Guide and tutorials? Or can there only > be one? > Have a look at this- http://stackoverflow.com/questions/6404606/android-is-it-possible-to-have-multiple-slidingdrawer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] can more than one sliding drawer be used in a LinearLayout?
I would like to use a set of sliding drawer widgets on the left 25% of my app for camera settings, adding effects, adding filters, etc., (the right 25% is a surfaceview with a camera preview, which I want to remain untouched). I tried an example from one of Mark Murphy's books, and added a second sliding drawer in the xml layout (changing the names and making a second [sorry...chemobrain just blanked my mind on what it's called---that tab that you pull to open/close the sliding drawer]). Anyways, regardless of which "tab" I pulled down, only one sliding drawer (the SAME one) was opened. Is it possible to have more than one in a LinearLayout? Did I just miss something in the Dev Guide and tutorials? Or can there only be one? And if there can only be one, any suggestions for something else that would work? Pointers to references/tutorials that cover this would be greatly appreciated. Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 < Running FreeBSD 7.0 > spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W "'Wrong' is one of those concepts that depends on witnesses." --Catbert: Evil Director of Human Resources (Dilbert, 05Nov09) Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en