Get code string in Android
<p>Ex: I have a project with UI contains a button..
Activity:</p>

<pre><code>package android.tuanshaker.myproject.com;
import android.app.Activity;
import android.os.Bundle;

public class MyProjectActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
}
}
</code></pre>

<p>And file main.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &gt;

&lt;Button
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:text="@string/hello" /&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>I want to display code and xml of my project by textview..How do i can to get them?</p>
