I am using PCL xamarin form having two project android and IOS.
I want to implement Rating bar in xamarin.forms.
I search for the same but did not help me.
Please suggest me How to implement Rating Bar
Thanks in advance
Please have a look at these two articles:
https://blog.xamarin.com/behaviors-in-xamarin-forms/
http://blog.falafel.com/xamarin-rate-this-article/
The main feature to look at are behaviors.
Related
as explained in the title I would like to know if I can set a custom animation and/or background for the Activity Dialog. I don't find in your documentation any information regarding this... and further than that I have problems setting the Theme... it doesn't matter which theme I set, always see the same.
All this look the same:
DialogTheme.DEVICE_DEFAULT_LIGHT, DialogTheme.MATERIAL_LIGHT, DialogTheme.DEVICE_DEFAULT_DARK...
I use the following code:
_activityDialog = Dialog.service.create(
new ActivityBuilder()
.setTheme( new DialogTheme( DialogTheme.DEVICE_DEFAULT_LIGHT))
.build()
);
Thanks in advance for any help
There is no way to control the animations of native dialogs at this point.
The themes are applicable only to Android and depend on the version of Android you are using.
If you are looking for an enhancement to the ANE feel free to drop an enhancement request into github: (http://github.com/distriqt/ANE-Dialog/issues)
Or add a request to our suggestion site: http://distriqt.uservoice.com
I saw this android calendar widget used in an app called cal and was quite impressed.
I would like to implement a similar one in my app as well. Currently I am using an android calendar framework called caldroid and I am using it as a Fragment and will be invoked on action bar button click and will get collapsed clicking back on the action bar button.
But I would like to do the widget like in the app. Screen shots attached.
I would like to know if you guys are aware of any frameworks that can used to achieve this or any approach or tips on how to code this.
I am bit new and know basics of android. Haven't attempted to create custom widgets yet.
Thanks,
Bala
Maybe this library can help you.
https://github.com/blazsolar/android-collapse-calendar-view
I am very new to MapKit so forgive me if I do not make sense when I am asking questions. I would like to replicate the default Map application that comes on the iPhone and iPod Touch. There is this feature that I am interested in but can't seem to find it here, google, other iPhone app sites. If you would to run the default Maps application, the annotation title has and image and a button. How do I do both the image and button? What is the name of the method should I call?
Thanks in advance!
They are called rightCalloutAccessoryView and leftCalloutAccessoryView.
http://developer.apple.com/library/iOS/documentation/MapKit/Reference/MKAnnotationView_Class/Reference/Reference.html#//apple_ref/occ/instp/MKAnnotationView/leftCalloutAccessoryView
http://developer.apple.com/library/iOS/documentation/MapKit/Reference/MKAnnotationView_Class/Reference/Reference.html#//apple_ref/occ/instp/MKAnnotationView/rightCalloutAccessoryView
if you use the Google Plus App on Android and switch to the Stream, you get a view where you can swipe to the left and right between the All circles/Incoming/Nearby-Stream. What view component is used for this? Is this a standard Android component? Or where can I find democode how i can build such a view component?
You should take a look at the ViewPager from Android Compatibility Package for the desired widget/swipe navigation. Find more about it here
http://developer.android.com/sdk/compatibility-library.html
Also, checkout this recently posted tutorial and some sample code on ViewPager by Richard:
http://geekyouup.blogspot.com/2011/07/viewpager-example-from-paug.html
It is a combination of a ViewPager together with an indicator for where you are currently and where you can go swiping left and right.
A sample of how this can be done along with code you can use in your own apps may for example be found here. I've played with this code a little and it works pretty well.
None of the default widgets/views. I guess, it's some kind of a custom view with swipe functionality.
Honeycomb opens up a few new widgets which seem to have these functionality. Have a look here.
http://developer.android.com/sdk/android-3.0.html (New Widgets)
I used APKTool to take a look at what's going on. Hopefully it is okay to post this here. This is from version 1.0.2 of the G+ APK.
removed google+ app code as per CommonsWare's suggestion
So, it looks like they're using standard views, though perhaps with a good deal of gesture detection and smooth animation magic.
EDIT) If you really want to know about the exact inner-workings of what is going on in the Stream activity, I suggest you use APKTool yourself and examine the .smali code
I had used the normal form in my project.
In that form i had used the item
1)textfield
2)ChoiceGroup
I want to set focus on choice group when the from appears.How do i get this.
Please help me.
You can try
Display.getDisplay(this).setCurrentItem(choiceGroup);