Need to load the image from resource path and then area should be selected and have to add some comments against selected area.
How to achieve in Xamarin Forms(Android and iOS)?
Related
I'm trying to integrate a common wide background image for Xamarin Forms Carousel page. As the requirement I need to smoothly change the visible part of the image according to changes of child pages (Ex. moving the visible part of the theme background image of a mobile phone when moving the menu pages). Is there any way to achieve this approach.
I'm building cross platfomr app in Xamarin Forms but iOS not showing MasterDetailPage icon correctly.
How to solve this.
iOS:
Android:
Some idea for iOS to show like Android?
If using the app logo icon:
it will show as follows:
Because the background color of the icon is not Transparent. If the background color of icon is transparent, it will work.
Such as contacts.png:
The effect:
Or other Xamarin-50.png:
The effect:
================================Update================================
If you want to show the original color of icon, you need to use the image from Asset Catalogs, you can refer to Adding images to an asset catalog image set to add icon inside asset, but not forget to set icon Render as Original.
For example, image named Cat and add source image as follows:
Then move to the properties of Cat and Render as Original:
The effect:
I want to develop NativeScript-Angular Mobile App as the screenshot below:
But I'm unable to hover the settings box over the existing component on the page.
Since settings dropbox is part of action bar under Header component and below that is another component with a image which covers the entire space available on page.
The Setting dropbox is a StackLayout in header component and so is the component with image for the entire page.
How to overlay one component over another
You can use a GridLayout and assign the same row/column to the two components
I am new in Android and Xamarin . i have grid view with image and text view in my xamarin (android) application . but i wont to use font awesome icon or material icon in place of image in grid view reason behind that is reduce size of application.i try this NuGet package but it's not work for me "https://www.nuget.org/packages/FontAwesome.Xamarin/"
but i don't found proper tutorial for that. so please help me for that and i have one another doubt when i use icon in place of .png so it's help me for reducing size of application or not??
I am looking for a image gallery to use on Xamarin Android for a app i am creating but cant cant find any Gallery that slides left or right, Cant even find any blogs post on creating it to
I found a this one for Android its Called Android Image Slider
https://github.com/daimajia/AndroidImageSlider
But I cant open it Xamarin Studio
Also I am using the free version of Xamarin Studio
Is there any way i can achieve this using Xamarin?
I have implemented a image slider in xamarin android using FragmentStatePager adapter. You need three things
1) Main Activity which implements Adapter (Point #2)
2) Implementation of FragmentStatePagerAdapter for items and instantiate the fragment class (Point#3).
3) You need to implement fragment and set the image on the view. This fragment is then instantiated from the FragmentStatePagerAdapter and displayed on the screen as you scroll.
All you have to do count the no.of images you have in library and then on the activity, you need to shift the images on the view pager at certain time interval.
//displaying image for 2 seconds
Thread.Sleep (2000);
//Updating the view pager with the next image.
this.RunOnUiThread (() => _pager.SetCurrentItem (imageValue, true));
SetCurrentItem method on viewpager will show the display of the fragment.
Full Example and explanation in detail is available on Code Project
http://www.codeproject.com/Tips/1038358/Xamarin-Android-Image-Auto-Slider-and-OOM-Issue-Ha
Source code can be downloaded from my GIT HUB.
https://github.com/sahilkhan99/learnings/tree/master/autoImageSlider
Cheers