<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Android: Adding styling to a text (bold italic etc..)</title>
	<atom:link href="http://www.stealthcopter.com/blog/2010/01/android-adding-styling-to-a-text-bold-italic-etc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stealthcopter.com/blog/2010/01/android-adding-styling-to-a-text-bold-italic-etc/</link>
	<description>Android, Linux, Python and stealthcopters</description>
	<lastBuildDate>Wed, 08 Feb 2012 11:08:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.stealthcopter.com/blog/2010/01/android-adding-styling-to-a-text-bold-italic-etc/comment-page-1/#comment-6627</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 27 Dec 2011 19:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=416#comment-6627</guid>
		<description>Thanks very much. This is the only Gridview I got working now.

This is my res/layou/main.xml:

    

        
        

    

and this is how I call it in the Activity:
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		DisplayMetrics metrics = new DisplayMetrics();
		getWindowManager().getDefaultDisplay().getMetrics(metrics);
		
		GridView gridview = (GridView)findViewById(R.id.gridView1);
	    gridview.setAdapter(new MonthAdapter(this, 11, 2011, metrics));

	    gridview.setOnItemClickListener(new OnItemClickListener() {
            public void onItemClick(AdapterView parent, View v, int position, long id) {
                Toast.makeText(CanTimeActivity.this, &quot;&quot; + position, Toast.LENGTH_SHORT).show();
            }
        });</description>
		<content:encoded><![CDATA[<p>Thanks very much. This is the only Gridview I got working now.</p>
<p>This is my res/layou/main.xml:</p>
<p>and this is how I call it in the Activity:<br />
	public void onCreate(Bundle savedInstanceState) {<br />
		super.onCreate(savedInstanceState);<br />
		setContentView(R.layout.main);</p>
<p>		DisplayMetrics metrics = new DisplayMetrics();<br />
		getWindowManager().getDefaultDisplay().getMetrics(metrics);</p>
<p>		GridView gridview = (GridView)findViewById(R.id.gridView1);<br />
	    gridview.setAdapter(new MonthAdapter(this, 11, 2011, metrics));</p>
<p>	    gridview.setOnItemClickListener(new OnItemClickListener() {<br />
            public void onItemClick(AdapterView parent, View v, int position, long id) {<br />
                Toast.makeText(CanTimeActivity.this, &#8220;&#8221; + position, Toast.LENGTH_SHORT).show();<br />
            }<br />
        });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lacy</title>
		<link>http://www.stealthcopter.com/blog/2010/01/android-adding-styling-to-a-text-bold-italic-etc/comment-page-1/#comment-4744</link>
		<dc:creator>Lacy</dc:creator>
		<pubDate>Tue, 01 Mar 2011 09:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=416#comment-4744</guid>
		<description>Thanks, useful info.</description>
		<content:encoded><![CDATA[<p>Thanks, useful info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vani</title>
		<link>http://www.stealthcopter.com/blog/2010/01/android-adding-styling-to-a-text-bold-italic-etc/comment-page-1/#comment-2424</link>
		<dc:creator>vani</dc:creator>
		<pubDate>Tue, 08 Jun 2010 17:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.stealthcopter.com/blog/?p=416#comment-2424</guid>
		<description>Hi

In addition to the text styles(like bold n italic), can we get the list types like bullets and number types.Is there any chance  to get the numbers and bullets by adding the respective html tags. 

Thank you!

Regards,
Bhavani.G</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>In addition to the text styles(like bold n italic), can we get the list types like bullets and number types.Is there any chance  to get the numbers and bullets by adding the respective html tags. </p>
<p>Thank you!</p>
<p>Regards,<br />
Bhavani.G</p>
]]></content:encoded>
	</item>
</channel>
</rss>

