Fundamentals
Introduction
1st Android Application

OOPS Concepts
Class
Object
Abstraction
Encapsulation

Polymorphism
Inheritance
Message Passing
Dynamic Binding

UI Controls
TextView
Button
Toggle Button
CheckBox
Radio Button
Spinner
ProgressBar
SeekBar
RadioGroup
RatingBar
Switch
EditText
AutoComplete
TextView

MultiAutoComplete
TextView

ImageView
ImageButton
Gallery
MediaPlayer
VideoView
MediaController

TimePicker
DatePicker
CalendarView
Chronometer
Analog Clock
Digital Clock

Layouts
LinearLayout
RelativeLayout
GridLayout
TableLayout
FrameLayout
Fragment

Composite
ListView
ExpandableListView
GridView
ScrollView
SearchView
Sliding Drawer
Tab Widget
WebView

Transitions
Image Switcher
StackView
TextSwitcher
ViewAnimator
View Flipper
View Switcher

Advanced
Request Focus
View
View Stub
TextureView
Gesture Overlay View

SurfaceView
NumberPicker
Zoom Button
Zoom Controls
AbsoluteLayout

Database
SharedPreference
SQLite DB
MySQL DB

Webservices
Check HttpURLConnection
Single Webservice Call
Multi Webservice Call
ListView from Webservice
SQLite from Webservice
Data from Database

Telephone Manager
IMEI
IMSI
Phone Type
Sim Type
Network Type

Content Providers
Contact Provider
BookMark Provider
Own Provider


Message & Networking
Send SMS
SMS with Reports
Group SMS

Send E-Mail
Download Binary Data


Location Based Service
Display Google Map
Events with Google Map

Android Services
Create Service
Create Longtime Service

Asynchronous Task
Repeating Services
IntentService

Activity from a Service
Bind Activity to Service


Sample Projects
HMS
CNB
Login Screen
Camera Event
Browse Option
QR Code Events
Accelerometer Sensor
EditText from Spinner

Android MultiAutoCompleteTextView

  1. MultiAutoCompleteTextView Creation in Android
  2. MultiAutoCompleteTextView from MySql Database
  3. RunTime Add Item to MultiAutoCompleteTextView
  4. GetText from MultiAutoCompleteTextView
  5. AutoCompleteTextView vs MultiAutoCompleteTextView

Note                     Download ADT Plugin Here.
Here I am using,
OS : Linux (Ubuntu 12.04)
Eclipse : Juno (Version 4.2.0)
Android API Level : 3 to 'n' as per need
Emulator API Level : It will be displayed in output image

A. MultiAutoCompleteTextView Creation in Android


Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. Fill the forms and click "Finish" button. If you have any doubt regarding create a new project Click Here.

Step 2 : Open res -> layout -> activity_main.xml (or) main.xml and add following code :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
 
    <MultiAutoCompleteTextView
        android:id="@+id/multiAutoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="61dp"
        android:ems="14"
        android:hint="MultiAutoCompleteTextView" >
 
        <requestFocus />
    </MultiAutoCompleteTextView>
 
</RelativeLayout>

Step 3 : Open src -> package -> MainActivity.java and add following code :

package balaji.mactv_creation;
 
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.ArrayAdapter;
import android.widget.MultiAutoCompleteTextView;
 
public class MainActivity extends Activity {
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        String[] str={"Andoid","Jelly Bean","Froyo",
        		"Ginger Bread","Eclipse Indigo","Eclipse Juno"};
        
        MultiAutoCompleteTextView mt=(MultiAutoCompleteTextView)
        		findViewById(R.id.multiAutoCompleteTextView1);
        
        mt.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
        
        ArrayAdapter<String> adp=new ArrayAdapter<String>(this,
        		android.R.layout.simple_dropdown_item_1line,str);
        
        mt.setThreshold(1);
        mt.setAdapter(adp);
    }
 
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }    
}

Step 4 : Open AndroidManifest.xml and add following code :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="balaji.mactv_creation"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="15" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>

Step 5 : Open res ->values ->strings.xml and add following code :

<resources>
 
    <string name="app_name">MACTV_Creation</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_main">MainActivity</string>
 
</resources>

Step 6 : Our output will be like this :


Output









B. MultiAutoCompleteTextView from MySql Database


Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. Fill the forms and click "Finish" button. If you have any doubt regarding create a new project Click Here.

Step 2 : Create a Database and Table like below :


Output


Step 3 : Open res -> layout -> activity_main.xml (or) main.xml and add following code :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
 
    <MultiAutoCompleteTextView
        android:id="@+id/multiAutoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="66dp"
        android:ems="15"
        android:hint="MultiAutoCompleteTextView" >
 
        <requestFocus />
    </MultiAutoCompleteTextView>
 
</RelativeLayout>

Step 4 : Open src -> package -> MainActivity.java and add following code :

package balaji.mactv_mysql_db;
 
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.JSONArray;
import org.json.JSONObject;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.view.Menu;
import android.widget.ArrayAdapter;
import android.widget.MultiAutoCompleteTextView;
 
public class MainActivity extends Activity {

	InputStream is=null;
	String result=null;
	String line=null;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        try
        {
        	HttpClient httpclient = new DefaultHttpClient();
        	HttpPost httppost = new HttpPost("http://10.0.2.2/text.php");
        	HttpResponse response = httpclient.execute(httppost); 
        	HttpEntity entity = response.getEntity();
        	is = entity.getContent();
        	Log.e("Pass 1", "connection success ");
        }
        catch(Exception e)
        {
        	Log.e("Fail 1", e.toString());
        }
        
        try
        {
        	BufferedReader br=new BufferedReader
			(new InputStreamReader(is,"iso-8859-8"),8);
        	StringBuilder sb=new StringBuilder();
        	
        	while((line=br.readLine())!=null)
        	{
        		sb.append(line+"\n");
        	}
        	
        	is.close();
        	result=sb.toString();
        	Log.e("Pass 2", "Success");
        }
        catch(Exception e)
        {
        	Log.e("Fail 2", e.toString());
        }
        
        try
        {
        	JSONArray ja=new JSONArray(result);
        	JSONObject jo=null;
        	String[] str=new String[ja.length()];
        	for(int i=0;i<ja.length();i++)
        	{
        		jo=ja.getJSONObject(i);
        		str[i]=jo.getString("name");
        	}
        	
        	MultiAutoCompleteTextView auto=(MultiAutoCompleteTextView) 
        			findViewById(R.id.multiAutoCompleteTextView1);
        	
        	auto.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
        	
        	ArrayAdapter<String> adp= new ArrayAdapter<String>(getBaseContext(),
        			android.R.layout.simple_dropdown_item_1line,str);
        	
        	adp.setDropDownViewResource(android.R.layout.simple_expandable_list_item_1);
        	auto.setThreshold(1);
        	auto.setAdapter(adp);
        }
        catch(Exception e)
        {
        	Log.e("Fail 2", e.toString());
        }
    }
 
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }    
}

Step 5 : Open text.php and add following code :

<?php
	$host='127.0.0.1';
	$uname='root';
	$pwd='password';
	$db='android';

	$con = mysql_connect($host,$uname,$pwd) or die("connection failed");
	mysql_select_db($db,$con) or die("db selection failed");

	$r=mysql_query("select * from class",$con);

	while($row=mysql_fetch_array($r))
	{
		$cls[]=$row;
	}

	print(json_encode($cls));
	mysql_close($con);
?>
Step 6 : Open AndroidManifest.xml and add following code :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="balaji.mactv_mysql_db"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="15" />
    
    <uses-permission android:name="android.permission.INTERNET"/>
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>

Step 7 : Open res ->values ->strings.xml and add following code :

<resources>
 
    <string name="app_name">MACTV_MySql_DB</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_main">MainActivity</string>
 
</resources>

Step 8 : Our output will be like this :


Output









C. RunTime Add Item to MultiAutoCompleteTextView


Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. Fill the forms and click "Finish" button. If you have any doubt regarding create a new project Click Here.

Step 2 : Open res -> layout -> activity_main.xml (or) main.xml and add following code :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
 
    <EditText
        android:id="@+id/editText1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="22dp"
        android:ems="10" >
 
        <requestFocus />
    </EditText>
 
    <Button
        android:id="@+id/button1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/editText1"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="20dp"
        android:text="Add" />
 
    <MultiAutoCompleteTextView
        android:id="@+id/multiAutoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/button1"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="20dp"
        android:ems="15"
        android:hint="MultiAutoCompleteTextView" />
 
</RelativeLayout>

Step 3 : Open src -> package -> MainActivity.java and add following code :

package balaji.mactv_runtime;
 
import java.util.ArrayList;
import java.util.List;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.MultiAutoCompleteTextView;
import android.widget.Toast;
 
public class MainActivity extends Activity {
 
	List<String> li;
	MultiAutoCompleteTextView auto;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        li=new ArrayList<String>();
        li.add("Item 1");
        li.add("Item 2");
        li.add("Item 3");
        
        auto=(MultiAutoCompleteTextView) findViewById(R.id.multiAutoCompleteTextView1);
        final EditText et1=(EditText) findViewById(R.id.editText1);
        Button b1=(Button) findViewById(R.id.button1);
                    
        add();
        
        b1.setOnClickListener(new View.OnClickListener() {
			
		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
				
			li.add(et1.getText().toString());
			et1.setText(null);
			add();
			Toast.makeText(getBaseContext(), "Item Added",
				Toast.LENGTH_SHORT).show();
		}
	});
    }
 
    private void add() {
		// TODO Auto-generated method stub
    	
	    	ArrayAdapter<String> adp=new ArrayAdapter<String>(this,
				android.R.layout.simple_dropdown_item_1line,li);
	    	
		adp.setDropDownViewResource(android.R.layout.simple_dropdown_item_1line);
		auto.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
		
		auto.setThreshold(1);
		auto.setAdapter(adp);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }    
}

Step 4 : Open AndroidManifest.xml and add following code :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="balaji.mactv_runtime"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="15" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>

Step 5 : Open res ->values ->strings.xml and add following code :

<resources>
 
    <string name="app_name">MACTV_RunTime</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_main">MainActivity</string>
 
</resources>

Step 6 : Our output will be like this :


Output


Output


Output


Output









D. GetText from MultiAutoCompleteTextView


Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. Fill the forms and click "Finish" button. If you have any doubt regarding create a new project Click Here.

Step 2 : Open res -> layout -> activity_main.xml (or) main.xml and add following code :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
 
    <MultiAutoCompleteTextView
        android:id="@+id/multiAutoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="71dp"
        android:hint="MultiAutoCompleteTextView" >
 
        <requestFocus />
    </MultiAutoCompleteTextView>
 
    <Button
        android:id="@+id/button1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:text="Button" />
 
</RelativeLayout>

Step 3 : Open src -> package -> MainActivity.java and add following code :

package balaji.mactv_gettext;
 
import java.util.ArrayList;
import java.util.List;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.MultiAutoCompleteTextView;
import android.widget.Toast;
 
public class MainActivity extends Activity {
	
	MultiAutoCompleteTextView multi;
	Button Get;
	List<String> list;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        list = new ArrayList<String>();        
        list.add("Selva");
        list.add("JP");
        list.add("Pons");
        list.add("Boopathy");
        list.add("God");
        list.add("Deepan");
        list.add("Siva");
        list.add("Karthik");
        
        multi = (MultiAutoCompleteTextView) findViewById(R.id.multiAutoCompleteTextView1);
        Get = (Button) findViewById(R.id.button1);
 
        ArrayAdapter<String> adp = new ArrayAdapter<String> 
        (this, android.R.layout.simple_dropdown_item_1line, list);
        
        multi.setAdapter(adp);
        
        multi.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
        
        multi.setThreshold(1);
        
        Get.setOnClickListener(new View.OnClickListener() {
			
		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			
			String[] str = multi.getText().toString().split(", ");
			
			for(int i=0; i<str.length; i++) {
				
				Toast.makeText(getBaseContext(), str[i], 100).show();
			}
		}
	});
    }
 
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
}

Step 4 : Open AndroidManifest.xml and add following code :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="balaji.mactv_gettext"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="15" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>

Step 5 : Open res ->values ->strings.xml and add following code :

<resources>
 
    <string name="app_name">MACTV_GetText</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_main">MainActivity</string>
 
</resources>

Step 6 : Our output will be like this :


Output


Output


Output









E. AutoCompleteTextView vs MultiAutoCompleteTextView


Step 1 : Select File -> New -> Project -> Android Application Project (or) Android Project. Fill the forms and click "Finish" button. If you have any doubt regarding create a new project Click Here.

Step 2 : Open res -> layout -> activity_main.xml (or) main.xml and add following code :

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
    
    <TextView
        android:id="@+id/textView1"
        android:textSize="20dp"
        android:textColor="#FF0000"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="50dp"
        android:text="AutoCompleteTextView" />
 
    <AutoCompleteTextView
        android:id="@+id/autoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="110dp"
        android:ems="14"
        android:hint="AutoCompleteTextView" >
 
        <requestFocus />
    </AutoCompleteTextView>
    
    <TextView
        android:id="@+id/textView2"
        android:textSize="20dp"
        android:textColor="#FF0000"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="200dp"
        android:text="MultiAutoCompleteTextView" />
 
    <MultiAutoCompleteTextView
        android:id="@+id/multiAutoCompleteTextView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="260dp"
        android:ems="14"
        android:hint="MultiAutoCompleteTextView" />
 
</RelativeLayout>

Step 3 : Open src -> package -> MainActivity.java and add following code :

package balaji.mactv_vs_actv;
 
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.MultiAutoCompleteTextView;
 
public class MainActivity extends Activity {
	
	/** Called when the activity is first created. */
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
 
		/*AutoCompleteTextView*/
		
		AutoCompleteTextView textView = (AutoCompleteTextView) 
				findViewById(R.id.autoCompleteTextView1);
 
		String[] days= new String[]{"Monday","Tuesday",
				"Wednesday","Thursday","Friday","Saturday","Sunday"};
 
		ArrayAdapter<String> adapter1 = new ArrayAdapter<String>(this, 
				android.R.layout.simple_dropdown_item_1line, days);
 
		textView.setThreshold(1);
		textView.setAdapter(adapter1);
 
		/*MultiAutoCompleteTextView*/
		
		MultiAutoCompleteTextView textView1 = (MultiAutoCompleteTextView)
				findViewById(R.id.multiAutoCompleteTextView1);
 
		textView1.setTokenizer(new MultiAutoCompleteTextView.CommaTokenizer());
 
		String[] friends= new String[]{"Balaji","Nagaraj","Ponnaiah",
				"Selva","JP","Boopathy","Naveen","Arul",
				"Godwin","Vinoth","Pradeep","Deepan"};
 
		ArrayAdapter<String> adapter2 = new ArrayAdapter<String>(this,
				android.R.layout.simple_dropdown_item_1line, friends);
 
		textView1.setThreshold(1);
		textView1.setAdapter(adapter2);
	}
}

Step 4 : Open AndroidManifest.xml and add following code :

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="balaji.mactv_vs_actv"
    android:versionCode="1"
    android:versionName="1.0" >
 
    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="15" />
 
    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/title_activity_main" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>

Step 5 : Open res ->values ->strings.xml and add following code :

<resources>
 
    <string name="app_name">MACTV_vs_ACTV</string>
    <string name="hello_world">Hello world!</string>
    <string name="menu_settings">Settings</string>
    <string name="title_activity_main">MainActivity</string>
 
</resources>

Step 6 : Our output will be like this :


Output


Output









SHARE THIS PAGE



product 2

product 3

product 4

Feedbacks : balaji.scz@gmail.com