Created
November 15, 2013 18:09
-
-
Save mvberg/7488949 to your computer and use it in GitHub Desktop.
Hiding SlidingMenu until user interaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:sliding="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/LinearLayout1" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@drawable/bg" | |
android:orientation="vertical" > | |
<com.jeremyfeinstein.slidingmenu.lib.SlidingMenu | |
android:id="@+id/slidingmenulayout" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_weight="1" | |
android:visibility="gone" | |
sliding:behindOffset="100dp" | |
sliding:behindScrollScale="0.0" | |
sliding:selectorEnabled="false" | |
sliding:shadowWidth="50dp" | |
sliding:touchModeAbove="fullscreen" | |
sliding:viewBehind="@layout/menu_frame" /> | |
<include | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
layout="@layout/layout_content_watchlist" /> | |
<include | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
layout="@layout/footer_main" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment