Telerik Forums
UI for Xamarin Forum
1 answer
39 views
Using Xamarin. I am trying to programmatically change the first day of the week (here to Monday) on the calendar.
    var cal = calendarView.Calendar;
    cal.FirstDayOfWeek = 2;
    calendarView.Calendar = cal;
So the issue is that if the locale defined on the phone has first day of the week as Sunday (en-US for example) then the days title would change correctly but the dates themselves remain as if the first day is still Sunday. 
 It would look something like that (in the broken state)
Mon Tue Wed Thu Fri Sat Sun
19    20   21     22   23  24  25

Could use some help with this issue, am I doing something wrong?
Thanks,
Alex.
Todor
Telerik team
 answered on 28 Jul 2015
1 answer
48 views

Hi,

I wonder if it's possible to add/draw a coloured square/rectangle on the background of a list item. I made a sketch and added it to this post.

I've got the example projects but I couldn't find what I am looking for.

 

Many thanks in advance.

Sophi
Telerik team
 answered on 16 Jul 2015
1 answer
108 views

Hi, Great job so far with these controls.

+1 for more detailed/extensive doco.

It would have been good to know that databinding in iOS needs a type converter registered in AppDelegate...

eg the line below is required for the databinding listview example but not mentioned anywhere.

IOSTypeConverter.Register<Item, NSItem>();

I missed that in the SDKBrowser sample.

I have a lot of different types to display. Do I need to register an NS____ for each one that I want to display in a ListView?

Pavel R. Pavlov
Telerik team
 answered on 15 Jul 2015
1 answer
101 views

Hi,

 

As say in the title, witg UI for Xamarin Android or iOS, how to export a Chart into Bitmap ?

I am using Telerik for Xamarin Android Trial.

 

Thanks

Ves
Telerik team
 answered on 13 Jul 2015
1 answer
174 views

Hi Telerik Team!

 We are using Telerik Xamarin UI Charts to display RadPieChart. How can we customize the chart Tooltip appearance?

 Any help would be appreciated.

 

Zohaib.

Ves
Telerik team
 answered on 10 Jul 2015
2 answers
139 views

Hi,

 I'm trying to restore all dll files from the nuget manger but I don't see the packages folder. Where do I get that folder?

 

Thanks,

Somchai

Brew Hutch
Top achievements
Rank 1
 answered on 08 Jul 2015
2 answers
126 views

Hello,

yesterday I have downloaded the demo of xamarin forms controls to play around with ListView control. I'm developing an app targeting three platforms.

I have compiled your solution SDKBrowser.sln, and deployed this on Windows Phone. There was no ListView example available for WP. So I have commented out 

   ExcludeFrom>WinPhone</ExcludeFrom>

in Examples.xml file.

The example is now available but.. it doesn't work. It looks as if items aren't rendered at all. There's only blank space where there should be items. What's wrong? WP is not supported?

I'm attaching two screenshots: from WP and Android

 

catqbat
Top achievements
Rank 1
 answered on 07 Jul 2015
3 answers
157 views

Hi,

tried compiling 'Telerik_UI_for_Xamarin_2015_2_624_Dev ' but I get the following issues:

 Android

1>------ Build started: Project: SDKBrowser.Android, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Properties\AndroidManifest.xml : warning XA0101: @(Content) build action is not supported
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(634,153,634,180): error CS0117: 'SDKBrowser.Droid.Resource.Drawable' does not contain a definition for 'abc_ab_share_pack_holo_dark'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(635,154,635,182): error CS0117: 'SDKBrowser.Droid.Resource.Drawable' does not contain a definition for 'abc_ab_share_pack_holo_light'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(795,155,795,188): error CS0117: 'SDKBrowser.Droid.Resource.Layout' does not contain a definition for 'abc_activity_chooser_view_include'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(912,144,912,168): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V11_Theme_AppCompat'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(914,150,914,180): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V11_Theme_AppCompat_Light'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(916,144,916,168): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V14_Theme_AppCompat'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(917,151,917,182): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V14_Theme_AppCompat_Dialog'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(918,150,918,180): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V14_Theme_AppCompat_Light'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(919,157,919,194): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_V14_Theme_AppCompat_Light_Dialog'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(948,167,948,214): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_Widget_AppCompat_Light_ActivityChooserView'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(949,168,949,216): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Base_Widget_AppCompat_Light_AutoCompleteTextView'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(966,145,966,170): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Platform_AppCompat_Dialog'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(968,151,968,182): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'Platform_AppCompat_Light_Dialog'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(970,170,970,220): error CS0117: 'SDKBrowser.Droid.Resource.Style' does not contain a definition for 'RtlOverlay_Widget_AppCompat_ActionButton_CloseMode'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(1138,142,1138,156): error CS0117: 'SDKBrowser.Droid.Resource.Styleable' does not contain a definition for 'CompatTextView'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(1139,154,1139,180): error CS0117: 'SDKBrowser.Droid.Resource.Styleable' does not contain a definition for 'CompatTextView_textAllCaps'
1>C:\Program Files (x86)\Telerik\UI for Xamarin Q2 2015\Examples\XamarinForms\SDKBrowser\SDKBrowser.Android\Resources\Resource.Designer.cs(1354,141,1354,154): error CS0117: 'SDKBrowser.Droid.Resource.Styleable' does not contain a definition for 'Toolbar_theme'
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

 What SDK was this project built against? I'm building to API21 which is fine for my apps but not this one.

 

iOS

I can deploy the (slightly underwhelming) samples to the iOS simulator but not  to hardware devices

Warning 1   The iOS SDK version '7.1' is not installed. Using newer version '8.4' instead'. SDKBrowser.iOS
Error   2   Failed to deploy application on the target device. Please try to rebuild the solution and try again.    Xamarin.iOS Extension   0   0  

I am using the latest XCode SDK 8.4, latest build of Xamarin (3.11.666, monotouch-8.10.2.37), Up to date Android SDK and the chart controls run okay that I've already integrated.

I can open a ticket but as this is just the samples I didn't think it was necessary.

 

Just a few observations

  • The listview samples are a bit basic and lack any styling
  • Thumbs up for adding XAML samples rather than code ones :-)
  • I can't find any documentation on the Listview, any idea where it is (which libs do you need for the PCL, Droid & iOS projects...just for Listview)?
  • Doesn't compile for Android using API 21
  • Can't deploy to an iOS hardware to test (iPhone5s & 6)
  • Is the Listview still in Beta?

 I have no doubt this control will be very good but polished up samples would be good (like your marketing pictures suggest) and some documentation.

 Any help to get me started would be good as I've spent all afternoon fiddling with the control and have had to give up on it for now.

 

 

 

 

 

 

Antony Jekov
Telerik team
 answered on 03 Jul 2015
5 answers
172 views

Hi,

  I,m trying telrik ui calendar for my app and it's looking good but i get trouble to show event(appointment) indicator on cell.

  Here is my code :

    <com.telerik.widget.calendar.RadCalendarView
                android:id="@+id/calendarView"
                android:layout_width="match_parent"
                android:layout_height="match_parent" />

 Here is my activity :

 public override View OnCreateView( Android.Views.ViewGroup container, Android.OS.Bundle savedInstanceState)
        {              
            var ignored = base.OnCreateView(inflater, container, savedInstanceState);

           var view = this.BindingInflate(Resource.Layout.myCalendar, null);

            calendarView = view.FindViewById<RadCalendarView>(Resource.Id.calendarView);

            calendarView.SelectionMode = CalendarSelectionMode.Single;

             EventAdapter appointmnets = new EventAdapter(calendarView);

            List<Event> eventsSource = new List<Event>();

            // Get event from view model

            foreach (var app in this.ViewModel.Events)
                {
                    dates.Add(app.StartDate.Ticks);
                    Event theEvent = new Event(app.Subject, app.StartDate.Ticks, app.EndDate.Ticks)
                    {
                        Title = app.Subject,
                        StartDate = app.StartDate.Ticks,
                        EndDate = app.EndDate.Ticks                 
                       
                    };
                    if (theEvent != null)
                    {
                        if (theEvent.StartDate <= theEvent.EndDate)
                        {
                            eventsSource.Add(theEvent);
                           
                        }

                    }
                }
            }

             appointmnets.Events = eventsSource;     
            calendarView.EventAdapter = appointmnets;

               return view;
        }

    In EventAdapter of calendarView all appointment initialise but no any indicator display on calendar cell. Please help me to solve this.

    Thank you.

Antony Jekov
Telerik team
 answered on 30 Jun 2015
4 answers
118 views
Hi,

When can we realistically expect the forms versions of these controls?

Addition of swipe gesture is great as the forms support of gestures out of the box is really poor (only tap currently).

Thanks.
Nikolay
Telerik team
 answered on 22 Jun 2015
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?