Telerik Forums
UI for Xamarin Forum
2 answers
319 views

Just copied in the tab view XAML from the Getting Started page for the TabView and then ran the project.  Compiles and displays fine for Android but on iOS I get the error below.  The project is configured to support ARMv7s - is this saying that Telerik.UI does not support ARMv7s?  Thanks!

clang : error : linker command failed with exit code 1 (use -v to see invocation)
error MT5209 : Native linking error : file is universal (4 slices) but does not contain a(n) armv7s slice: blah/mtouch-cache/TelerikAppFeedback.a file 'blah/mtouch-cache/TelerikAppFeedback.a' for architecture armv7s
MTOUCH : error MT5202: Native linking failed. Please review the build log.

Jaja
Top achievements
Rank 1
 answered on 03 Jul 2018
1 answer
111 views

 Is there an equivalent to:

presenter.Style.DayNameTextEffect = TKCalendarTextEffect.Uppercase;

in Android?

I am already using a renderer to style Android cells successfully, but I did not see any way to get the Text of the DayName so I could do a simple

.ToUpper()

 on it.

 

Thanks.


Yana
Telerik team
 answered on 03 Jul 2018
1 answer
316 views

Hello, is in-page navigation within the TabView supported in Xamarin.Forms?  I can't seem to find an example anywhere. 

Basically the workflow I need is that there will be 4 tabs within the tab view where the 4th tab will be a settings tab.  The settings tab will initially present a listview that has 3 rows which represent 3 categories of grouped settings.  Once the user taps on a row then I need to push the related settings page onto the stack and of course display the back button to allow them to navigate back to the category selection page. 

Is in-page (push/pop page navigation) such as this supported in the Xamarin.Forms tab view?  Thanks!

Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Jul 2018
3 answers
860 views

I'm looking to set the color of an alternating row but I'm having a hard time finding a property or method to latch on to.

I'm unable to find a method to override to find the rowID of the current cell, which will allow me to then determine if the row is even or odd, and set the color. The Xamarin forms Listview has the SetupContent method to override, but the Telerik listview does not expose this method. What method should be used instead?

Also, please feel free to give a recommendation if another method is preferred for your product. 

Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Jul 2018
1 answer
188 views

Hi,

In Xamarin Forms, the SideDrawer is appearing in Android but not appearing in iOS Simulator for which i looked into this earlier thread [Thread Link] but even after doing so mentioned in that thread as a fix, the SideDrawer still doesn't appear in the iOS Simulator please help me with this issue.

XAML Snippet :

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
             x:Class="APP.LPage">
    
    <StackLayout BackgroundColor="White" Spacing="0" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand">

        <telerikPrimitives:RadSideDrawer x:Name="drawer" DrawerLength="250" >
            <telerikPrimitives:RadSideDrawer.MainContent>

                <StackLayout x:Name="LPageStack1" >
                    <telerikDataControls:RadListView x:Name="ViewBinding" ItemsSource="      {Binding Source}" SelectionMode="Single" SelectionGesture="Tap" HeightRequest="250">
                        <telerikDataControls:RadListView.ItemTemplate>
                            <DataTemplate>
                                <telerikListView:ListViewTemplateCell>
                                    <telerikListView:ListViewTemplateCell.View>

                                        <StackLayout Orientation="Horizontal" VerticalOptions="FillAndExpand">
                                            <Label x:Name="ListCust" Text="{Binding Customer}" FontSize="Large" HorizontalOptions="StartAndExpand" HorizontalTextAlignment="Center"/>
                                            <Label x:Name="ListWO" Text="{Binding WorkOrder}" FontSize="Large" HorizontalOptions="EndAndExpand" HorizontalTextAlignment="Center"/>
                                        </StackLayout>

                                    </telerikListView:ListViewTemplateCell.View>
                                </telerikListView:ListViewTemplateCell>
                            </DataTemplate>
                        </telerikDataControls:RadListView.ItemTemplate>
                    </telerikDataControls:RadListView>
                </StackLayout>

            </telerikPrimitives:RadSideDrawer.MainContent>
            <telerikPrimitives:RadSideDrawer.DrawerContent>

                <StackLayout VerticalOptions="CenterAndExpand">
                    <Button Text="Button 1"  />
                    <Button Text="Button 2"  />
                    <Button Text="Button 3"  />
                    <Button Text="Button 4"  />

                </StackLayout>

            </telerikPrimitives:RadSideDrawer.DrawerContent>
        </telerikPrimitives:RadSideDrawer>
    </StackLayout>
</ContentPage>

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Jul 2018
4 answers
87 views

Not super important.. but it bugs me that I don't understand it..

 

Given a list of states as the source for Autocomplete,

 

With S I get South Carolina and South Dakota

http://puu.sh/AMw1S/6e7248fdb4.png

 

But with T I get only Tennessee and not Texas?

http://puu.sh/AMw2K/80575a80c0.png

 

I have to go all the way to Tex before I see Texas?

http://puu.sh/AMw3n/a7c1213eb6.png

Pavel R. Pavlov
Telerik team
 answered on 02 Jul 2018
3 answers
102 views
When creating a new project with the "Telerik Xamarin UI Application" template it uses the Portable class library.  Is there a template that uses the .NET Standard instead?
Lance | Senior Manager Technical Support
Telerik team
 answered on 29 Jun 2018
9 answers
320 views

When I scroll horizontally the headers get messed up. I assume due to virtualization.

Code I assume is in error (but would like to use).

DataGridTextColumn x = new DataGridTextColumn();
                x.PropertyName = mf.name;
                x.HeaderText = count.ToString();
                DataGridColumnHeaderStyle z = new DataGridColumnHeaderStyle();
                DataTemplate dt = new DataTemplate(() =>
                {
                    View oView = null;
                    Label oNED = new Label()
                    {
                        Text = mf.legend,
                        BackgroundColor = Color.White,
                        FontSize = 24.0,
                        TextColor = Color.Black,
                        VerticalOptions = LayoutOptions.FillAndExpand,
                        HorizontalOptions = LayoutOptions.FillAndExpand
                    };
                    oView = oNED;
                    View rView = null;
                    Entry rNED = new Entry()
                    {
                        Text = "Mamba",
                        BackgroundColor = Color.White,
                        TextColor = Color.Black,
                        VerticalOptions = LayoutOptions.FillAndExpand,
                        HorizontalOptions = LayoutOptions.FillAndExpand
                    };
                    rView = rNED;
                    rView.IsVisible = false;
                    StackLayout tempStack = new Xamarin.Forms.StackLayout()
                    {
                        InputTransparent = true,
                        Orientation = StackOrientation.Vertical,
                        Children = { oView, rView },
                        Margin = new Thickness(0),
                        Padding = new Thickness(0)
                    };
                    return tempStack;
                });
                x.HeaderContentTemplate = dt;
                z.OptionsButtonTextColor = Color.Transparent;
                z.TextColor = Color.Black;
                z.TextFontAttributes = FontAttributes.Bold;
                z.TextFontSize = 20;
                x.HeaderStyle = z;
                DataGridTextCellStyle y = new DataGridTextCellStyle();
                y.TextColor = Color.Black;
                y.FontSize = 18;
                x.CellContentStyle = y;
                grid.Columns.Add(x);
Didi
Telerik team
 answered on 29 Jun 2018
1 answer
256 views

Hello, 

   I want to know how can we set a RowStyle for RadDataGrid  in xamarin.    I have to do a application with android like the picture attached.   

If we can't set RowStyle for RadDataGrid, could you tell me another way to do this ?

Lance | Senior Manager Technical Support
Telerik team
 answered on 28 Jun 2018
3 answers
210 views

We are setting the localization of our app via:

CultureInfo.DefaultThreadCurrentCulture = ...               CultureInfo.DefaultThreadCurrentUICulture = ...

 

But the RadCalendar is not translating the DayNames nor the Title, (see attached) it remains in English. We also use Humanizer to globalize and it does translate the month name and the ordinal identifiers for languages other than English. (see attached)

Is there another property RadCalendar is looking at that I need to set? Is there a property of RC I can set to force it? (since we do language switching inside our app)

 

Thanks,

 

 


Didi
Telerik team
 answered on 28 Jun 2018
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?