Uwp phone toolbar - win-universal-app

I'd like to have a toolbar in my uwp app (only on phone version) and I can't figure it out. I'd like to make it like Groove Music store app have it on mobile phone :
I' d like to customize this toolbar with a toggle button and a title at least. So is there a way to do that on universal win?

It will probably be slightly different than you are thinking. UWP doesn't think so much about "what device am I on" as it thinks about what screen size it is being displayed at. So when you design your app, you want the toolbar to appear only at screen sizes below a certain amount. The closest thing to what you want might be a Command Bar, which you can put at the bottom or top.
https://msdn.microsoft.com/en-us/library/windows/apps/hh465302.aspx
Or you could make a custom XAML control that appears where you want it to and only shows up with a screen below a certain size. I hope this helps answer the question.

Related

Hide "Quick Access" pushpin icons in Windows 10 navpane?

So, I'm trying to create a minimal navigation pane in Windows Explorer on Windows 10. Under the Quick Access menu, I have pinned some favorites and frequently accessed folders/shortcuts. I believe that it'd look neater -cleaner-, to not have the little gray push pins icons to the right of the pinned folders and shortcuts. I mean, hello, I pinned them, of course they're pinned, I know it. I guess I was hoping there was some regedit mod I could change right quick to hide all push pins in the navigation pane. Does anyone know of anything like that? Google doesn't seem to....
Hide Push Pins
I realize you asked this several months ago, but here's your answer. It's a bit hack-y and involves 3rd party software, but it works perfectly.
Download Customizer God
Create a transparent .png (assuming you have Photoshop/GIMP/Affinity Photo)
Convert the .png to .ico
Open Customizer God. Select "General Icons"
Find the Quick Access pin icon by scrolling down a bit.
Hit "Change" and select your .ico
The results:

Change UWP menu button icon image in title bar (simple way)

I want a hamburger menu button in my UWP app title bar.
I already know how to make a "back" button visible in the title bar and how to handle its clicked event.
I have seen samples of how to customize the title bars colors and stuff, and I have also seen some samples of how to put controls in it, but its all too much complicated.
Here is a hamburger menu which is really simple but functional. No code-behind, just XAML.
https://github.com/vborovikov/hamburger
The hamburger button sits below the title bar like in any other Windows 10 apps.
If you are looking for a simple hamburger control, here is a video tutorial I followed to while learning. It is simple and does the work pretty well. The source is available on the provided link. Please mark as answer if it helped you.

How should a material design dialog box be animated?

I'm writing an application with a material design layout, but can't find any guidelines on how to animate dialog boxes onto the screen.
This suggests that the box should just "ping" into existence, but that seems to go against the ethos of the design, with its animations and tactile feel.
Does anyone have more information on what the correct course of action is?
Here are the specs for dialog boxes, by the way: http://www.google.co.uk/design/spec/components/dialogs.html#dialogs-specs
I took a look at existing Google apps, and it appears that the dialog box fades in at full size. The transition is pretty quick, like 0.25 seconds.
If you go into Developer Options and change Window animation scale to 10x, it will slow things down enough for you to see it clearly.
I chose Google Calendar > New Event, then select the different fields to see the dialog appear.
Here's a screen recording I did that shows the animation.
https://www.youtube.com/watch?v=jbU5yRhSbKg

Android Menu coming from bottom like Google Drive

I have a floating action button and when the users taps on it I want a layout to be shown, animating from the bottom exactly like the Google Drive app (so not covering the whole screen).
I read someone suggest the open source Umano's AndroidSlidingUpPanel but that is more similar to the Google Play Music app and I don't want that as I don't need the panel to be draggable/slidable.
What component should I use?
This is the Bottom sheet component. Check out its specs:
http://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-specs
There are third libraries for the bottom sheet if you don't want to make it your self.

android - UI like sliding down notification bar

I want to develop a panel with animation same as notification panel. I mean to say the notification panel is a cool control where you grab and slide down the notification bar and see all the notifications.
Actually, I am having 2 UI , 1st should be shown with Button at top, when user click on that button, the 2nd UI with listview items should be slide down same as notification panel and again when user click or drag the 2nd UI at the top side, then 2nd UI should be become invisible. I hope i made clear my question.
From Christian's answer, I am trying to use a sliding drawer that will display a
list of options. I need this to expand over the current ListView on the page.
So if anybody know how to implement such layout or UI with sliding down animation then please share it.
Please suggest how to build with such control or layout? any ideas or suggestions
Thanx
Have you tried the SlidingDrawer widget?
Paresh I found a solution in this post about sliding drawers.
android misc widgets has it implemented , though it still has some flaws but it will definitely prove helpful.
Though in the same SO post CommonsWare has quoted :
...
You similarly cannot make a
SlidingDrawer that descends from the
top.
Good Luck.
You can use SlidingTray from: http://aniqroid.sileria.com to make this happen
http://aniqroid.sileria.com/doc/api/com/sileria/android/view/SlidingTray.html
Alternatively you can also use a custom PopupWindow class which is part of Android API.

Resources