how to add toolbar XML layout in to my activity - toolbar

i watching the Android Material Design in YouTube part 3 about Android ToolBar Example- Android Tutorial For Beginners in this video add this code in the Main Activity
the toolbar error in the MainActivity is for what?
the error is
setSupportActionBar(android.support.v7.widget.toolbar) in AppCompatActivity cannot be applied to (android.Widget.Toolbar )

The reason is that you used android.support.v7.widget.Toolbar, but in your MainActivity, you imported android.widget.Toolbar. It's different. You need change the import part.

Related

UISearchDisplayController is no longer supported when linking against this version of iOS

Unable to use Googleplaces SDk, No where I'm using "UISearchDisplayController" in my project. So searched in my project which is showing in GooglePlaces
I'm no where using "GMSAutocompleteTableDataSource", I'm Using "GMSAutocompleteResultsViewController" for getting the places.
When adding a searchBar to UIViewController in Storyboard, the UISearchBarDisplayController will be added. Just click to it add press 'Delete'
I have just removed searchDisplayController used in storyboard viewController.
Search for searchDisplayController and just remove it and it's outlet if created.
I have a search Display Controller in my storyboard, which is not pulling up when i search like this. so search with "searchDisplayController" in each storyBoards. Referred from this post

Unable to add an image in the storyboard editor in Visual Studio to create a splash screen for Xamarin.iOS

I'm trying to add a splash screen to an iOS app built using Xamarin.Forms. I'm able to get the splash screen itself to display, but I'm unable to add an image to an ImageView in the storyboard editor.
I can replicate this behavior in a brand-new "Cross Platform" solution, and I'm following the instructions here. Specifically, at step 10 in the instructions, you're supposed to be able to select the image from a dropdown.
If you actually click on the arrow of what only appears to be a dropdown, however, nothing actually "drops down"; instead VS opens an OpenFileDialog entitled "Add Existing Item".
No matter what file I choose, VS only adds it to the project's Resource folder (as a BundleResource), but doesn't change the image in the storyboard at all.
I've tried adding the images to the Asset Catalog as both a Launch Image and a regular Image Set. I've tried typing either a filename or an asset set name into the editable part of the "dropdown"; no luck. I've also tried editing the storyboard XML to add an image= attribute (to the ImageView tag), again using either a filename or an asset set name, but it doesn't work, and subsequent saves from the storyboard editor actually remove the attribute. I also tried explicitly adding the entire "Assets.xcassets" folder to the project, as suggested by one of the answers here.
FWIW, the property labeled "Highlighted", directly under "Image", also has the same behavior. I'm assuming this is a VS bug of some sort; the behavior of the property is different not only from what's described in the docs, but conflicts with the appearance of the control.
Has anyone come across a workaround?
Windows 10 Pro
VS 2017 15.8.3
Xamarin 4.11.0.756
Xamarin Designer 4.14.221
Xamarin.iOS and Xamarin.Mac SDK 11.14.0.13
It is bug, you can voite to this problem https://developercommunity.visualstudio.com/content/problem/319294/xamarinios-cant-select-image-asset-for-image-view.html

QML App full screen/immersive mode on Android and iOS

I made a very simple Qt Quick Application (all using QML) and want it to appear as full screen/immersive mode on android. How can I achieve that?
You can achieve it with QML in ApplicationWindow:
ApplicationWindow {
//...
visibility: Window.FullScreen
}
Android creates an "activity" instance (android "view") before your/any Qt code runs. This view/activity decides whether the "title bar" of android is shown or not, so you will need to modify the parameters with which this view/window is created. I believe this can't be done at runtime of your app (you could make two activities and switch between them though).
Your Qt-project needs an AndroidManifest.xml to be deployed with your compiled code. If you didn't add one yourself then the default one gets pulled during deployment, but you can override it with your own file. The parameters needed to go fullscreen can be set in this file. See About the Full Screen And No Titlebar from manifest for details.

Create custom Popup in Ionic App

I try to create custom Popup in my Ionic App, I try to modify using Ionic CSS in to full fill my requirement but don't get success. Please help me or suggest me if any third party CSS available which i can edit and full fill my requirement.
Proposed Design
Have a look at ionic ModalController it can be used to create custom popup along with custom template rather customizing Alert Controller. All you have to do is create a normal ionic page using ionic generate page <pageName> then using ModalController inflate the template and present the pop up to user. Read this thread to create full flexed pop up that match up your requirement. This is how you can add animation to models.
constructor(public modalCtrl: ModalController) {
}
let profileModal = this.modalCtrl.create(Profile);
profileModal.present();

iCon file is missing when upload to App Store

When i upload my iPad app for iOS7 to app store , i got following message.
And here is my plist file.
I don't know where am i wrong?
Under App icons category under general section , select correct image like this. see screen shot.
Change your way to add icons on your project. You can refer here.
But, in your case, you have a problem with the name.
Your icon is named iCons and the #2x named iCon#2x without S and verify if you have all your icons file in your resources.
Here the guidelines iOS for all icons and the new guidelines for iOS 7 here.
and Here a website to create all size of your icons for iOS 6, 7 and Android with the 1024*1024.
Add the different keys of your icon in your info.plist and add the icons in your resources :

Resources