Myanmar font embedded TextViews. Currently, it supports
- Myanmar 3
- Masterpiece
- MyMyanmar
- Yunghkio
- Zawgyi One
- NotoSans Myanmar Regular
- NotoSans Myanmar Bold
Checkout sample app.
MMFont Lib is pushed to Maven Central as an AAR, so you just need to add the following dependency to your build.gradle.
dependencies {
compile 'org.mmaug.mmfont:library:1.1.0'
}
Replace your TextView
with embedded view.
<!-- Myanmar3 Font -->
<org.mmaug.mmfont.MM3
android:id="@+id/tv_mm3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- Masterpiece Uni Round Font -->
<org.mmaug.mmfont.MSP
android:id="@+id/tv_msp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- MyMyanmar Universal Font -->
<org.mmaug.mmfont.MyMM
android:id="@+id/tv_mymm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- Noto Sans Myanmar Regular Font -->
<org.mmaug.mmfont.Noto
android:id="@+id/tv_noto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- Noto Sans Myanmar Bold Font -->
<org.mmaug.mmfont.NotoBold
android:id="@+id/tv_noto_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- Yunghkio Font -->
<org.mmaug.mmfont.YGK
android:id="@+id/tv_ygk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
<!-- Zawgyi-One Font -->
<org.mmaug.mmfont.ZG
android:id="@+id/tv_zg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="25sp" />
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright 2014 Myanmar Android User Group(MMAUG)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Fonts are respectively copyrighted by font owners.