Need help with CodeEditor?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

153 Stars 25 Forks Apache License 2.0 48 Commits 6 Opened issues


Code Editor Native Way

Services available


Need anything else?

Contributors list

CodeEditor Android Arsenal

This is a text/code(Base From [ModPE IDE] ) editor meant for integration as a modular component of the overall UI. The aim is to provide a powerful editor that can be used just like any other View.

CodeEditor has been used for this purpose because it is feature-rich, fast, and easy to modify and embed in applications.

Please note that this library is currently supported on android API 15 and above.

Integration with existing project

Click For Play Video


Play Video


build.gradle (project)
allprojects {
    repositories {
        maven {
            url ''

build.gradle (app)

dependencies {
    implementation 'com.github.ahmadaghazadeh:CodeEditor:1.0.17'

Basic Usage

XML DataBinding


    <com.github.ahmadaghazadeh.editor.widget.codeeditor bind:isreadonly="@{true}" bind:code="@{viewModel.code}" bind:lang="@{viewModel.lang}" bind:isshowextendedkeyboard="@{false}" android:layout_width="match_parent" android:layout_height="match_parent"></com.github.ahmadaghazadeh.editor.widget.codeeditor>




    <com.github.ahmadaghazadeh.editor.widget.codeeditor bind:code="&lt;html&gt;&lt;/html&gt;" bind:lang="html" bind:isreadonly="true" bind:isshowextendedkeyboard="false" android:layout_width="match_parent" android:layout_height="match_parent"></com.github.ahmadaghazadeh.editor.widget.codeeditor>



Demo Activity: ```java public class MainActivity extends Activity {

protected void onCreate(Bundle savedInstanceState) {
    editor = findViewById(;


} ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.