This is a migrated thread and some comments may be shown as answers.

Friends App - Change from Flat to Native Theme

2 Answers 116 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 11 Apr 2014, 03:29 AM
I'm working with the Friends Sample App and it appears that it is hard-coded with the Kendo UI Flat theme. Does anyone know how to enable the native theme support so that if viewing on iPhone, the iOS native theme shows and if view on Android, the Android native theme shows?

Thank you.

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 15 Apr 2014, 03:38 PM
Hello Matthew,

Indeed the Friends app is initialized as a kendo.mobile.Application with a flat skin. The application is initialized in the app.js file and the skin is set as descried in the Kendo.Mobile.Applicaiton Configuration tutorial.

If you instead change the skin setting from flat to an empty string:
// Initialize KendoUI mobile application
var mobileApp = new kendo.mobile.Application(document.body, {
    transition: 'slide',
    layout: 'mobile-tabstrip',
    statusBarStyle: statusBarStyle,
    skin: ''
});
you will get a native look and feel of the app as the skin will depend on the device on which the app is currently running on. Please give this a try and let us know if it helps.

Regards,
Tina Stancheva
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Peter
Top achievements
Rank 1
answered on 15 Nov 2014, 05:05 PM
Well It helped me! Thanks :)
Tags
General Discussion
Asked by
Matthew
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Peter
Top achievements
Rank 1
Share this question
or