<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Android_Studio%3A_EditText</id>
	<title>Android Studio: EditText - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Android_Studio%3A_EditText"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Android_Studio:_EditText&amp;action=history"/>
	<updated>2026-04-10T06:54:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=Android_Studio:_EditText&amp;diff=64872&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot; We can create a EditText instance by declaring it inside a layout(XML file) or by instantiating it programmatically (i.e. in Java Class).  EditText code in XML:   &lt;EditText...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Android_Studio:_EditText&amp;diff=64872&amp;oldid=prev"/>
		<updated>2022-04-13T01:24:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; We can create a EditText instance by declaring it inside a layout(XML file) or by instantiating it programmatically (i.e. in Java Class).  EditText code in XML:   &amp;lt;EditText...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
We can create a EditText instance by declaring it inside a layout(XML file) or by instantiating it programmatically (i.e. in Java Class).&lt;br /&gt;
&lt;br /&gt;
EditText code in XML:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;EditText&lt;br /&gt;
 android:id=&amp;quot;@+id/simpleEditText&amp;quot;&lt;br /&gt;
 android:layout_height=&amp;quot;wrap_content&amp;quot;&lt;br /&gt;
 android:layout_width=&amp;quot;match_parent&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Retrieving / Getting the Value From EditText In Java Class:&lt;br /&gt;
&lt;br /&gt;
Below is the example code of EditText in which we retrieve the value from a EditText in Java class. We have used this code in the example you will find at the end of this post.&lt;br /&gt;
&lt;br /&gt;
 EditText simpleEditText = (EditText) findViewById(R.id.simpleEditText);&lt;br /&gt;
 String editTextValue = simpleEditText.getText().toString();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://abhiandroid.com/ui/edittext&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>