프로젝트
GitHub에서 보기 CodeEditor
ahmadaghazadeh/CodeEditor
소개
Code Editor Native Way
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCodeEditor

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
Setup
build.gradle (project)
allprojects {
repositories {
...
maven {
url 'https://jitpack.io'
}
}
}
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"/>
...
XML
...
<com.github.ahmadaghazadeh.editor.widget.CodeEditor
bind:code="<html></html>"
bind:lang="html"
bind:isReadOnly="true"
bind:isShowExtendedKeyboard="false"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
...
Java
Demo Activity:
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
editor = findViewById(R.id.editor);
}
}
관련 프로젝트 살펴보기
불러오는 중…
