android - Elements SlidingMenu not clickable -
encountered such problem. slidingmenu use, , when put forward, in menu not active, not clickable. there simple test button, when push happens absolutely nothing.
slidingmenu
menu = new slidingmenu(this); // экземпляр класса menu.setmode(slidingmenu.left); menu.settouchmodebehind(slidingmenu.touchmode_fullscreen); menu.setshadowdrawable(r.drawable.shadows_menu_swype1); menu.setshadowwidth(15); menu.setfadedegree(0.50f); menu.attachtoactivity(this, slidingmenu.sliding_window); menu.setbehindwidth(300); menu.setmenu(r.layout.menu_swype);
xml
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/shadows_menu_swype2" android:orientation="vertical" > <button android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="asdasd"/> <listview android:id="@+id/menu_swypeid" android:layout_marginleft="7dp" android:layout_marginright="7dp" android:layout_height="match_parent" android:layout_width="wrap_content" android:divider="@drawable/boder_menu_swype" android:dividerheight="2dp"> </listview>
grateful help!!!!
Comments
Post a Comment