<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wake Up Sun &#187; develop</title>
	<atom:link href="http://www.wakeupsun.com/tag/develop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wakeupsun.com</link>
	<description>Developer - mobile applications and games - Android and iOS</description>
	<lastBuildDate>Fri, 14 Feb 2014 10:14:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Android Tips: cut textview to see &#8216;&#8230;&#8217; (ellipsis)</title>
		<link>http://www.wakeupsun.com/tutorial/android-tips-cut-textview-to-see-ellipsis/</link>
		<comments>http://www.wakeupsun.com/tutorial/android-tips-cut-textview-to-see-ellipsis/#comments</comments>
		<pubDate>Thu, 03 Oct 2013 16:16:54 +0000</pubDate>
		<dc:creator>WakeUp Sun</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android tips]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[ellipsis]]></category>
		<category><![CDATA[textview]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wakeupsun]]></category>

		<guid isPermaLink="false">http://www.wakeupsun.com/?p=230</guid>
		<description><![CDATA[Android tips: cut textview and add ellipsis Single line Add android:ellipsize=&#8221;end&#8221; in the properties of the texview. If you want your text on one line, add android:singleLine=&#8221;true&#8221;. Example: &#60;TextView android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="Text to cut because it is too long" android:ellipsize="end" &#8230; <a href="http://www.wakeupsun.com/tutorial/android-tips-cut-textview-to-see-ellipsis/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h1>Android tips: cut textview and add ellipsis</h1>
<h2>Single line</h2>
<p>Add <strong>android:ellipsize=&#8221;end&#8221;</strong> in the properties of the texview.</p>
<p>If you want your text on one line, add <strong>android:singleLine=&#8221;true&#8221;</strong>.</p>
<p>Example:</p>
<pre>&lt;TextView
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:text="Text to cut because it is too long"
  android:ellipsize="end"
  android:singleLine="true"
/&gt;</pre>
<h2>Multi lines</h2>
<p>If your textview will be on 2 lines for example, add<span id="more-230"></span> android:maxLines=&#8221;2&#8243; in your textview properties.</p>
<p>Example:</p>
<pre>&lt;TextView
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:text="Text to cut because it is too long but I want it on 2 lines"
  android:ellipsize="end"
  android:maxLines="2"
/&gt;</pre>
<p>I hope it helps,</p>
<p>WakeUp Sun</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wakeupsun.com/tutorial/android-tips-cut-textview-to-see-ellipsis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop with Asus Transformer</title>
		<link>http://www.wakeupsun.com/article/develop-asus-transformer/</link>
		<comments>http://www.wakeupsun.com/article/develop-asus-transformer/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 13:48:45 +0000</pubDate>
		<dc:creator>WakeUp Sun</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[asus transformer]]></category>
		<category><![CDATA[develop]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.wakeupsun.com/?p=56</guid>
		<description><![CDATA[Tutorial Asus Transformer development You have just buy the android tablet Asus Transformer and you are wondering how to connect it on your PC to develop your applications? Just read this following tutorial. STEPS Don&#8217;t connect your tablet and your &#8230; <a href="http://www.wakeupsun.com/article/develop-asus-transformer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>Tutorial Asus Transformer development</h2>
<p>You have just buy the android tablet Asus Transformer and you are wondering how to connect it on your PC to develop your applications? Just read this following tutorial.</p>
<p><a title="Develop with Asus Transformer" href="http://www.wakeupsun.com/article/develop-asus-transformer/"><img class="size-medium wp-image-57 alignleft" title="asus-transformer" src="http://www.wakeupsun.com/wp-content/uploads/2012/01/asus-transformer-300x300.jpg" alt="asus-transformer" width="300" height="300" /></a></p>
<h3><span id="more-56"></span>STEPS</h3>
<ol>
<li>Don&#8217;t connect your tablet and your PC!</li>
<li>USB driver installation on the PC: get the USB driver from ASUS on its site : <a title="Asus driver site" href="http://support.asus.com/download/ModelList.aspx?keyword=transformer&amp;type=1" target="_blank">http://support.asus.com/download/ModelList.aspx?keyword=transformer&amp;type=1</a></li>
<li>Once you get the zip, unzip it where you want on your computer.</li>
<li>Back to your Asus tablet : go in Settings, then Applications and Development (Settings&gt;Applications&gt;Development). Check USB debugging.</li>
<li>Now, you can connect your Asus Transformer on your computer.</li>
<li>Windows asks you about the driver. Help it to find the asus driver repertory : the repertory you unzip at the step 3.</li>
<li>Windows will ask for 2 drivers. Don&#8217;t worry, the drivers are in the driver zip you have downloaded. Just help windows to find the driver by select the repertory.</li>
<li>Launch eclipse.</li>
<li>Run your application in manual mode:<img class="aligncenter size-full wp-image-59" title="run configurations" src="http://www.wakeupsun.com/wp-content/uploads/2012/01/run-configurations1.png" alt="run configurations eclipse" width="697" height="345" /><a href="http://www.wakeupsun.com/wp-content/uploads/2012/01/Android-device-chooser.png"><img class="aligncenter size-full wp-image-60" title="Android device chooser" src="http://www.wakeupsun.com/wp-content/uploads/2012/01/Android-device-chooser.png" alt="Device chooser in eclipse" width="625" height="449" /></a></li>
<li>Enjoy!</li>
</ol>
<p>&nbsp;</p>
<p>Just an help if you have connected your tablet before getting the drivers : go in the Windows device manager and right click on the <img class="alignnone size-full wp-image-61" title="unknown device" src="http://www.wakeupsun.com/wp-content/uploads/2012/01/unknown-device.png" alt="unknown device usb driver" width="35" height="36" /> to re-install the driver.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wakeupsun.com/article/develop-asus-transformer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
