3

Can any one please tell me, how to disable segmentedcontrol in android. I have been using Foursquared library.

The link for library is given below.

Rishabh
  • 3,752
  • 4
  • 47
  • 74
Alps Rana
  • 61
  • 7

1 Answers1

2

You can do one thing for that.

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

<SegmentedButton
    android:id="@+id/login_fragment"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clickable="false"
    />

<Layout
    android:id="@+id/transperent_fragment"
    android:name="com.test.transperentFragment"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/body_texture"
    android:alpha="0.2"
    android:clickable="true"/>

</RelativeLayout>

Hope this helps you..:)

Jay Vyas
  • 2,674
  • 5
  • 27
  • 58