﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - Crosslight Android Preferences</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-Preferences/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Crosslight Android Preferences</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-Preferences/</link><pubDate>Sun, 24 Aug 2014 22:17:30 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the sample helps.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Android Preferences</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-Preferences/</link><pubDate>Sun, 24 Aug 2014 11:28:26 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Thanks, for the great sample project.&lt;br&gt;&lt;/p&gt;</description></item><item><title>Crosslight Android Preferences</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-Preferences/</link><pubDate>Wed, 20 Aug 2014 22:15:48 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please find the attached AndroidPreferenceSample.zip file and download the simple project which implements PreferenceActivity.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;In the MainLayout.axml file, a button called SettingsButton is added. The click event handler is defined in the SimpleActivity.cs file using following snippet code.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected override void OnCreate(global::Android.OS.Bundle savedInstanceState)
{
    base.OnCreate(savedInstanceState);

    Button settingsButton = this.FindViewById&amp;lt;Button&amp;gt;(Resource.Id.SettingsButton);
            
    if (settingsButton != null)
    {
        settingsButton.Click += OnSettingsButtonClick;
    }
}

private void OnSettingsButtonClick(object sender, System.EventArgs e)
{
    Intent intent = new Intent(this, typeof(SettingsActivity));
    this.StartActivity(intent);
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Clicking the SettingsButton will starts the SettingsActivity. In SettingsActivity, the preferences are added by invoking the AddPreferencesFromResource() method. For more detail, please check the SettingsActivity.cs file in the project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Crosslight Android Preferences</title><link>http://www.intersoftsolutions.com/Community/Crosslight/Crosslight-Android-Preferences/</link><pubDate>Fri, 15 Aug 2014 08:05:10 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;do have any sample code for using ISharedPreferences and/or PreferenceActivity with Crosslight Android?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>