车牌输入框以及键盘

image.png

image.png

车牌输入框以及自带键盘,支持电动车车牌,7位车牌以及8位车牌用法简单
用法:

 maven { url "https://jitpack.io" }
implementation 'com.gitee.ZhuBaJieBiaoGe:licensePlate:V1.1.0'
汽车车牌 
    <com.xieyx.licenseplate.ElectricLicensePlateTextView
                    android:id="@+id/plate_electricView"
                    android:layout_width="match_parent"
                    android:layout_height="40dp"/>

 plateView.setPlateTo8();切换8位车牌
 plateView.setPlateTo7();切换7位车牌
getPlateText();//获取输入内容
setPlateText();设置预显示内容

电动车车牌

                <com.xieyx.licenseplate.LicensePlateTextView
                    android:id="@+id/plate_View"
                    android:layout_width="match_parent"
                    android:layout_height="40dp"
                    android:visibility="gone"/>
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容