0

enter image description hereI have to create to sliders(relative layout with background image) which are partially displaying on the screen on the click of that slider it should move to right and fully displaying on the screen and on another click it should move towards left and partially displaying on the screen .

I have achieved this moving animation but my problem is that Relative layout appearing fully on the screen and I want it to be display only 80%. I have gone through this and this tutorial.

Community
  • 1
  • 1
Abhi
  • 433
  • 2
  • 7
  • 17
  • You may want to take a look at [Creating a Navigation Drawer](https://developer.android.com/training/implementing-navigation/nav-drawer.html) – Rajesh Jun 11 '14 at 06:14
  • But in navigation drawer it fully disappears after swiping.. and I don't want it.. – Abhi Jun 11 '14 at 06:16
  • Hey Raptor my xml code is too big to fit in this box. Though I am sending the only layout that I want it to be slide – Abhi Jun 11 '14 at 06:20
  • There are several implementations of the slide menu that you seem to implement. Take a look at https://github.com/jfeinstein10/SlidingMenu – Rajesh Jun 11 '14 at 06:22

1 Answers1

0

Use SlidingPaneLayout

SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content.

Check this : SlidingPanelLayout

Ashwin S Ashok
  • 3,623
  • 2
  • 29
  • 36