Ok I got it .... one last thing .... lets suppose I have my handle as LinearLayout in horizontal fashion with 3 images on which i have to handle the animations like swipe animations left and right ..is it possible ...(IN this screnario my content is hidden and only my handle is visible )
and when i drag the handle the images which was there in the handle ( 3 images ) should automatically get stacked in the content dynamically which i will take care in the code. regards tarun On Wed, Apr 25, 2012 at 12:55 AM, Justin Anderson <[email protected]>wrote: > Sliding drawer will be hidden which i will have to drag out to the srceen >> but as I explained that I want a view to be displayed at the bottom of >> the screen which will be any layout ... and when i click that view it >> should come out as a drawer..... >> > Unless I'm not understanding your requirement, that is EXACTLY how > SlidingDrawer works... > > Here is the sample XML file on the SlidingDrawer docs... > > <SlidingDrawer > android:id="@+id/drawer" > > > android:layout_width="match_parent" > android:layout_height="match_parent" > > > android:handle="@+id/handle" > android:content="@+id/content"> > > > <ImageView > android:id="@id/handle" > > > android:layout_width="88dip" > android:layout_height="44dip" /> > > > <GridView > android:id="@id/content" > > > android:layout_width="match_parent" > android:layout_height="match_parent" /> > > > </SlidingDrawer> > > The content is hidden... The handle is always visible. And the handle can > be any layout, just as you wanted. And when you click that handle, it will > come out as a drawer, just like you want. > > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Tue, Apr 24, 2012 at 1:12 PM, tarun sablok <[email protected]>wrote: > >> Sliding drawer will be hidden which i will have to drag out to the >> srceen but as I explained that I want a view to be displayed at the >> bottom of the screen which will be any layout ... and when i click that >> view it should come out as a drawer..... >> >> >> >> On Tue, Apr 24, 2012 at 7:07 PM, Justin Anderson >> <[email protected]>wrote: >> >>> Use SlidingDrawer... >>> http://developer.android.com/reference/android/widget/SlidingDrawer.html >>> >>> Thanks, >>> Justin Anderson >>> MagouyaWare Developer >>> http://sites.google.com/site/magouyaware >>> >>> >>> On Tue, Apr 24, 2012 at 6:54 AM, tarun sablok <[email protected]>wrote: >>> >>>> I have a Relative Layout view with layout_gravity =" bottom " ... >>>> and it has 3 images one on the left , one middle and one on the right >>>> and it occupies approximately 1\6 th of the screen in the bottom . >>>> >>>> Now i want that when the user clicks on the RelativeLayout >>>> anywhere the layout should open up as a slider which opens up and >>>> occupies approx 3/4th of the screen and have images arranged in >>>> them like in a grid. >>>> >>>> Any pointers for this how this can be done.... >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Android Developers" group. >>>> To post to this group, send email to >>>> [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> For more options, visit this group at >>>> http://groups.google.com/group/android-developers?hl=en >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

