Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Android - customize EditText like a page in textbook.

, 9 Jan 2013 CPOL
Customize EditText in Android with has lines inside.
CustomizeEditTextDemo.zip
.classpath
.project
.settings
org.eclipse.jdt.core.prefs
assets
bin
gen
vn
com
enclave
android
demo
ic_launcher-web.png
libs
android-support-v4.jar
project.properties
res
drawable-hdpi
ic_launcher.png
drawable-ldpi
ic_launcher.png
drawable-mdpi
ic_launcher.png
drawable-xhdpi
ic_launcher.png
layout
menu
values
src
vn
com
enclave
android
demo
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)

Share

About the Author


| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150224.1 | Last Updated 9 Jan 2013
Article Copyright 2013 by Phat (Phillip) H. VU
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid