本文實例為大家分享了android仿支付寶密碼輸入框展示的具體代碼,供大家參考,具體內(nèi)容如下
這個沒什么好分析的,就是一些基本的繪制什么線,矩形什么的,看代碼更具體
布局文件:
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <com.example.custompasswordview.PasswordView android:id="@+id/passwordview" android:layout_width="match_parent" android:layout_height="105px" android:layout_marginTop="100px" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:inputType="number" android:cursorVisible="false" android:focusable="true" android:focusableInTouchMode="true" android:enabled="true" android:clickable="true" /> <Button android:id="@+id/btn_pass_reset" android:layout_width="250px" android:layout_height="90px" android:text="重置" android:layout_below="@id/passwordview" android:layout_marginTop="20px" android:layout_marginLeft="40px" android:gravity="center" /> </RelativeLayout>
當前文章:android仿支付寶密碼輸入框效果-創(chuàng)新互聯(lián)
瀏覽路徑:http://vcdvsql.cn/article6/cdepig.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供企業(yè)網(wǎng)站制作、App設計、Google、建站公司、網(wǎng)站制作、軟件開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容