Android学习笔记之EditText效果
来源:互联网 发布:安卓编程入门 编辑:程序博客网 时间:2024/05/16 02:01
一般输入框
一般滴EditText输入框是下面这个样纸的
那么代码是这样滴
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="25dp" android:layout_marginRight="25dp" android:hint="输入账号" /> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="25dp" android:layout_marginRight="25dp" android:hint="输入账号" /> </LinearLayout></RelativeLayout>带点特效的输入框
带点特效的输入框就是界个样子滴
代码如下
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="25dp" android:layout_marginRight="25dp" android:background="#00ffffff" android:hint="输入账号" /> <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#00ffffff" android:layout_marginLeft="25dp" android:layout_marginRight="25dp" android:hint="输入账号" /> </LinearLayout></RelativeLayout>
在加点特效就成了介个样纸了仔细看,其实就是下面介一行起了作用
android:background="#00ffffff"
- Android学习笔记之EditText效果
- android学习笔记之editText
- Android学习笔记之EditText限制输入
- Android EditText 学习笔记
- Android EditText学习笔记
- Android学习之EditText
- Android学习之EditText
- 学习笔记--EditText点击全选效果
- [Android新手学习笔记12]-UI控件之EditText
- 《android studio学习笔记》之“查看密码按钮的EditText”
- [学习笔记-Android]EditText属性
- Android学习笔记之动画效果Animation
- android学习笔记之简易霓虹灯效果
- android之控件EditText学习
- Android EditText学习之 inputType
- Android之EditText控件学习
- Android UI学习之EditText
- Android学习笔记13:EditText的使用
- 分类信息推广的方法
- jquery 与JS异同
- 黑马程序员——复习银行业务调度系统
- POJ 1704
- Android--GestureOverlayView,手势识别
- Android学习笔记之EditText效果
- 选择PosgreSQL的十个理由,和几个 MySQL 胜出的特性
- 黑马程序员——Java多线程与线程并发库高级应用笔记
- 第一个留言板
- NB人的blog
- Oracle top10
- 对spring的aop理解
- 那些年,我们一起学过的算法。
- C++内存管理