New navigation system in Discord and Slack on Android - java

So I'm a Note9 user. Lately, both Discord and slack updated their app to a new navigation system, where there is a toolbar at the bottom and you can swipe right and left from anywhere on your screen to see something like a hamburger layout. I guess this helped a lot after the new gesture system Android has implemented made it very hard to swipe to show the hamburger drawer.
My question is, can anyone point me in the right direction to implement something similar? I was thinking about a Pagerview, but I'm not sure that's what they're using.

Related

Hiding the NavBar

I am trying to reveal the navbar only when touched at a specific area on the screen.
Is that possible. I was able to hide it. The problem is it could be revealed by touching either the top or the bottom.
If you want to get the navigation interface out of the way as much as possible, Sticky Immersive Mode is what you're looking for. The user can always swipe on an edge to bring up navigation, but it's transparent and your app will still receive the swipe gesture as if nothing had happened. Access to navigation is always there for the user so they can't be trapped in an app with no way out.
You can add buttons or other controls in your app to show or hide the navigation interface if that's still something you want to do. The Advanced Immersive Mode sample provided with Android Studio shows how.

What's the name of the "Now Playing" bar in the bottom of Play Music?

This is the screenshot from Google Play Music, and what's the name of the widget in the bottom of the layout?(circled with red)
When user swipe it up or click it, the cover page will show up, which can be closed by swiping down on the screen -- and that's what I need((XDDD
Thx.
Not sure if there's any standard by Android Developer, but I found this. It seems pretty similar.
https://github.com/umano/AndroidSlidingUpPanel
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano. http://umano.me

How to add Android Device Monitor to Main Toolbar in Android Studio?

I'm following Udacity's Developing Android Apps class, and in their video it shows an icon at the top of Android Studio for a shortcut to Android Device Monitor. My shortcut icon is not there so I had to search to find it.
I'm trying to add it to the toolbar by right clicking and going into "Customize Toolbars and Menus" but I can't find anything. I googled multiple different things and can't seem to find the answer. Not sure if this is a recent change from Android Studio updates.
Is there a way to add this to the top toolbar? Thanks!
fortunately it is :)
open the customize menu and toolbars by right clicking the toolbar.
Navigate to Main toolbar-Android.MainToolBarSdkGroup and then click Add after... (in fact you can choose whatever position you like most).
Then simply choose All actions-Main menu-Tools-Android-Android device monitor
Profit – robot is there :)

Android App placed on screen when swiping left on the homescreen

How to make an Android app that will be placed on one of the home screens, for example, like LG SmartBulletin which opens when you swipe left on the homescreen.
I've been trying to find solution for quite some time now, but since I'm a beginner in app development I might just not know what to look for.

buttons ontop of everything in android

I am currently working on a calculator application for android. I am finding it difficult to conveniently take a screen shot of the app. So i have put my calculator on pause so I can write a simple screen shot app. It runs in the notification bar and when you click the notification the notification bar slides away and a few seconds later a snapshot is taken. This works perfectly. Now I would like to add functionality to take snapshots even for full screen apps. I have seen apps that put a sliding drawer on the screen onto of whatever app is running. That is there is always a button on the screen no matter what you are doing that when you click/drag it that sliding drawer came out. How did they do that? It should be a simple process to use a button instead of a drawer and when it's clicked hide it, snapshot and unhide it.
So my question bsically is
How can i put a usable button on the screen that stays above whatever app is running, even the homescreen
I realize I'm not answering your question directly, but if you simply want to get a screen capture of your application running, I would use ddms in your android tools directory. It has a menu option for getting a screen grab. I use it frequently.
Just go to Device > Screen Capture
More details here :
http://developer.android.com/guide/developing/debugging/ddms.html

Categories