<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dojox mobile themes - dojox.mobile.deviceTheme vs. setting a specific CSS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojox-mobile-themes-dojox-mobile-devicetheme-vs/m-p/717905#M66669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My first mobile project is based on the Find Nearby sample.&amp;nbsp; It specifies the iPhone CSS&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;link type="text/css" href='http://serverapi.arcgisonline.com/jsapi/arcgis/2.7/js/dojo/dojox/mobile/themes/iPhone/iPhone.css' rel='stylesheet'&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In testing, there are issues on some Android phones.&amp;nbsp; On one it is loading fine, another not at all and a third it loaded, but was pretty slow.&amp;nbsp; As I've read further on the dojo site, it sounds like if I add &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.require("dojox.mobile.deviceTheme)&lt;/PRE&gt;&lt;SPAN&gt; then it will handle the themes for the various devices for me.&amp;nbsp; I'm wondering if the lack of a specific Android theme is part of the problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is, If I add this, should I remove my existing CSS reference to the iPhone theme?&amp;nbsp; Or is it OK because adding the deviceTheme as a requirement takes care of it anyway?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html"&gt;http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 12:08:21 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2012-11-27T12:08:21Z</dc:date>
    <item>
      <title>dojox mobile themes - dojox.mobile.deviceTheme vs. setting a specific CSS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojox-mobile-themes-dojox-mobile-devicetheme-vs/m-p/717905#M66669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My first mobile project is based on the Find Nearby sample.&amp;nbsp; It specifies the iPhone CSS&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;link type="text/css" href='http://serverapi.arcgisonline.com/jsapi/arcgis/2.7/js/dojo/dojox/mobile/themes/iPhone/iPhone.css' rel='stylesheet'&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In testing, there are issues on some Android phones.&amp;nbsp; On one it is loading fine, another not at all and a third it loaded, but was pretty slow.&amp;nbsp; As I've read further on the dojo site, it sounds like if I add &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.require("dojox.mobile.deviceTheme)&lt;/PRE&gt;&lt;SPAN&gt; then it will handle the themes for the various devices for me.&amp;nbsp; I'm wondering if the lack of a specific Android theme is part of the problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is, If I add this, should I remove my existing CSS reference to the iPhone theme?&amp;nbsp; Or is it OK because adding the deviceTheme as a requirement takes care of it anyway?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html"&gt;http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 12:08:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojox-mobile-themes-dojox-mobile-devicetheme-vs/m-p/717905#M66669</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-27T12:08:21Z</dc:date>
    </item>
  </channel>
</rss>

