android-side-navigation

Android Facebook style slide

本秂侑毒 提交于 2019-11-26 05:40:57
问题 The new Facebook application and its navigation is so cool. I was just trying to see how it can be emulated in my application. Anyone has a clue how it can be achieved? On clicking the the top left button the page slide and the following screen is shown: YouTube Video 回答1: I've had a play with this myself, and the best way I could find was to use a FrameLayout and lay a custom HorizontalScrollView (HSV) on top of the menu. Inside the HSV are your application Views, but there is a transparent

How did Google manage to do this? Slide ActionBar in Android application

穿精又带淫゛_ 提交于 2019-11-26 01:55:24
问题 I really want to implement this (the side navigation) in an app of my own, does anyone know how Google managed to do this? They seem to have pulled the current window aside and put in a fly-in navigation of their own. 回答1: In fact, there's a way to do this. Even without implementing your own ActionBar . Just have a look at the hierachyviewer ! (Located in the tools directory) There's the DecorView , and a LinearLayout as a child. This LinearLayout contains both the ActionBar and the other