Tuesday, 11 October 2011

Android Copyright symbol in string (xml layout) Example

 So many people are think how to display the copyright symbol in your app.
 we can display copyright symbol in app using Unicode definition in a string.

Just see this below example:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="fill_parent"
    tools:ignore="HardcodedText" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="\u00A9 2011 androidsurya.blogspot.in"
        android:textSize="25dp" />
</RelativeLayout>

Output Screenshot:


2 comments:

  1. I simply want to say I’m very new to blogs and actually loved you’re blog site. Almost certainly I’m going to bookmark your blog post . You absolutely come with great well written articles. Thanks a lot for sharing your blog.
    http://www.credosystemz.com/training-in-chennai/best-android-training-in-chennai/

    ReplyDelete
  2. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Android training in bangalore

    ReplyDelete

Android SQLite Database Viewer or Debuging with Stetho

Every Android Developer uses SQLite Database to store data into the Android Application data. But to view the data in SQLite have a lot of...