I use the Angular templete, fro this I run :
tns create app-name --template tns-template-drawer-navigation-ng
In fact I want to show this theme, like in photo:
The menu is in bootom.
But for me when I run coman, install this theme, like in photo.
The menu is in top:
Please, what is the diffrent? How to displey menu like in photo one. Menu in bootom.
Thanx
The template works properly. If you use NativeScript Sidekick you can see that the expected result for a template is different for iOS and Android. Your first screenshot is an iOS emulator, default iOS style is to have the menu at the bottom. In your second screenshot you show an Android emulator, the default Android style is to have the menu at the top.
This is quite common for such apps. If you'd want it to be the same for both devices then you'd have to remove the OS specific code.
Related
I downloaded octave and accidentally pressed some buttons which changed the design of the software to be more specific it doesn't look like how my professor at university was working with it . Could you please help me to fix it in order to look like how it did in the beginning?
I upload a picture of how it looks like now
OK, it appears you are only looking at the Editor window, which is normally docked with other windows like the command window, documentation, etc. It also appears to be maximized, hiding everything else.
In the upper right you see two icons, one that looms like an x, and one that looks like two overlapping squares (two windows). If you click the x, that should close the editor and you should be able to see the rest of your desktop including the rest of the octave GUI. If you cannot see octave anywhere, of you are in Windows try using ALT-Tab or clicking on Octave in the task bar to make the window visible.
In the main octave window there should be a "Reset Default Window Layout" menu item under the Window menu. That should restore everything to the default layout without having to go to the trouble of a full reinstall.
The following YouTube video doesn't exactly match your problem, but it does show how to change and restore the GUI layout:
https://youtu.be/0USOvYHLqSU
I have installed easylife switcher in magento. Everything is working fine except the image is not showing correctly. It is zoomed image and I am unable to zoom in or zoom out.
I have selected the option of switch all media section as switch main image is not working at all.
Please help!!
I have found the answer by myself after struggling with the code. There is nothing wrong with easylife switcher. The thing is that according to your theme you have to add code. So for generating thumbnails in my theme bxslider was used. So, I just initialized that along with existing code in JS callback.
My Samsung Galaxy Duos phone has a small pull out tab on the left edge which basically pulls out a panel for quick access to Gmail, FB etc (as seen in the picture attached). I would like to do the same for my android app's navigation drawer. I tried to look it up on google and do some reading. However, I didn't get much success. Is it even possible to customize this in Android. Any help is much appreciated.
Use this. Just on each item in ListView put action to start new Activity via Intent. Other things are pure cosmetic.
I have developed a weather application for windows using html and css with the help of tide sdk.But i want to give it a widget look like windows desktop gadgets i.e i do not want the title bar and borders that windows applications normally have.
Secondly,please tell me the way of removing application from statusbar i.e its name should not be shown in status bar when application is running,similar to desktop gadgets.I can't figure out how to do this using tide.
Thanks.
"There are two types of transparency in TideSDK. Full window transparency specified with the transparency property and background transparency specified with the transparent-background property."
Look at the example at the very bottom of this page
http://tidesdk.multipart.net/docs/user-dev/generated/#!/guide/getting_started
Im creating an app (rather big one) with Worklight. When im testing the app in an android phone and press the backbutton it closes the app.. now i want it to go back one page. Right now the page navigation is with dojox mobile implemented system. this way:
<button data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props="transition:'fade',dir:'1',moveTo:'Contact'" class="buttonHem" style="color:black; font-size:1em;">Kontakta Oss</button>
is there a way to use the android backbutton without having to redo everything?
we have deadline in 2 weeks so there is really no time to redo the app with jquery mobile..
Answers will be appreciated.
If you're talking about a hardware Android back button you have a WL API to override it's behaviour.
WL.App.overrideBackButton(function() { doSomething });
and WL.App.resetBackButton();
The back button functionality should work in Dojo Mobile. Looking at the documentation for ToolBarButton I think what you need to do is use a # in front of your next view for the moveTo attribute. In your example it would be moveTo:'#Contact' Take a look at the moveTo attribute in the doc below for more info.
http://dojotoolkit.org/reference-guide/1.8/dojox/mobile/ToolBarButton.html