Skip to content

nectec-opensource/thai-widget

Repository files navigation

Android-Thai-Widget

Build Status Download

Thai style android custom widget by thai-dev for thai-dev

Widget

CitizenIdEditText

EditText for Citizen ID with validator

CitizenIdEditText

HouseIdEditText

EditText for House ID with validator

CitizenIdEditText

AreaPicker

For input area size in Rai Ngan Wa2 format

CitizenIdEditText

AddressPicker

Selector of Thai's Province District and SubDistrict

CitizenIdEditText

DatePicker

Buddha year version of android DatePicker

CitizenIdEditText

Download

JCenter

Add JCenter to your build file's list of repositories.

repositories {
    jcenter()
}

Add dependencies on app module

dependencies {
    ...
    compile 'th.or.nectec.android:thai-widget:{LATEST_VERSION}'
    ...
}

for latest version look at Download badge

Proguard-Rule

Add follow this in proguard-rules.pro in your project.

-keepattributes Signature
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.stream.** { *; }
-keep class th.or.nectec.thai.** { *; }

Libraries

This project depend on

Test libraries use on this project

Code Quality

This project use quality control by unit-test ui-test and code analysis tools.

Static code analysis tools

check for config of those tools at Java Quality Config

Develop by

License

Copyright © 2015 NECTEC
  National Electronics and Computer Technology Center, Thailand

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.

NECTEC