1. Are you ready for the Galaxy S20? Here is everything we know so far!

Irregular shaped views or buttons

Discussion in 'Android Development' started by vishnumg007, Dec 31, 2011.

  1. vishnumg007

    vishnumg007 Lurker
    Thread Starter

    How can i make a custom shaped clickable view or button? like a pentagon which is clickable.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. miXer

    miXer Android Enthusiast

    You can use a ImageButton
     
  3. vishnumg007

    vishnumg007 Lurker
    Thread Starter

    Imagebutton takes rectangular shape. i need something like a rhombus with another rhombus aligned along the slope edge of the other.each should be separately clickable.
     
Loading...

Share This Page

Loading...