jfeinstein

Android L ActionBarActivity using Feinstein SldingMenu and AppCompat v21 is cut off at bottom of the screen

我与影子孤独终老i 提交于 2020-01-01 12:09:06
问题 I'm using AppCompat v21 with the Style "NoActionBar" and add a Action/Toolbar in onCreate . Also a SlidingMenu of Feinstein is added and that causes the problem that the that the Activity (and therefore the inside Fragments) overlap with the navigation buttons of Android (it is not fully shown, cut off at the bottom) if i add: android:layout_marginBottom="48dp" in the layout it everything is visible (of course). On Android 4.4. everything is shown properly. What am I missing on Android L

Make adview stick in place when sliding menu

感情迁移 提交于 2019-12-13 06:21:56
问题 I have integrated admob ads in my android application. I'm using jfeinstein's sliding menu, so when I slide it, adview slides with it too. How can I make it stick on the screen, no matter of sliding menu state? Some code: <com.google.ads.AdView xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:id="@+id/adview" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" ads:adSize="BANNER" ads:adUnitId="ID" ads

This SlidingMenu appears to already be attached Android

三世轮回 提交于 2019-12-10 11:52:22
问题 I getting following error This SlidingMenu appears to already be attached This my source code SlidingMenu menu = new SlidingMenu(this, SlidingMenu.SLIDING_WINDOW); menu.setMode(SlidingMenu.RIGHT); menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN); menu.setShadowWidthRes(R.dimen.shadow_width); menu.setShadowDrawable(R.drawable.shadow); menu.setBehindOffsetRes(R.dimen.slidingmenu_offset); menu.setFadeDegree(0.35f); menu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT); menu.setMenu(R