A sliding drawer looks like a semicircle

Android provides SlidingDrawerby default as below:

Image http://www.gru.at/android/wp-content/uploads/2010/09/s_open.png

Can we customize this style SlidingDrawerlooks like a semicircular type with buttons on. For example, see below image -

New sliding drawer

Someone did SlidingDraweras above. I was looking for him. There was no good solution for this. Does anyone have an idea / example blog for this?

+5
source share
2 answers

Thanks for RelativeLayoutand FrameLayoutThese layouts make my requirement compatible with what I need. I did as below:

  • -, . FrameLayout , onclickListner ( /)

  • Animation , SlidingDrawer

.

0

, , Gimp 9- ...

, , ...

  • , ImageView, , Horizontal LinearLayout RelativeLayout

  • ImageView ,

  • LinearLayout/RelativeLayout ( , )

  • SlidingDrawer android: allowSingleTap = "false" (tit tat, , )

  • ButtonSelector.xml, .

  • . , , , , , . 9- Gimp.

  • , .

, - , , , 6, , .

, : ...

+1

All Articles