Click here to Skip to main content
15,885,278 members
Articles / Mobile Apps / Android

Android - customize EditText like a page in textbook.

Rate me:
Please Sign up or sign in to vote.
4.95/5 (16 votes)
9 Jan 2013CPOL 34.6K   1.1K   74  
Customize EditText in Android with has lines inside.
package vn.com.enclave.android.demo;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions