E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
TextInputLayout
快速开发android应用3-基于okhttp解析服务数据
其中,使用
TextInputLayout
和TextInputEditText,代替传统的EditText来输入用户名和密码。使用LitePal代替android原生的Databa
youyu_torch
·
2020-06-30 09:25
android
EditText辅助控件—
TextInputLayout
封面1.介绍
TextInputLayout
是一个用于在EditText上显示Floating效果的辅助控件。
容华谢后
·
2020-06-28 01:28
AndroidASD完全解析02之
TextInputLayout
这是AndroidASD完全解析系列的第二篇,上一篇我们介绍过了NavigationView控件,这一篇我们介绍另外一个控件
TextInputLayout
,好了,不多说,下面我们直接进入主题。
张文文同学
·
2020-06-26 08:59
带删除按钮的自定义EditText
之前项目里EditText删除功能都是通过在EditText后面加一个View实现的,但是最近项目里的EditText看上去酷炫,加了android.support.design.widget.
TextInputLayout
总是擦破皮
·
2020-06-26 03:11
Android M新控件之AppBarLayout,NavigationView,CoordinatorLayout,CollapsingToolbarLayout的使用
废墟的树】上一篇博客我们学习了AndroidDesignSupportLibrary库中的是个简单的组件,不了解的童鞋可以参考之前的博客AndroidM新控件之FloatingActionButton,
TextInputLayout
废墟的树
·
2020-06-23 07:36
Android
UI
Android
5.x
Support
Library
新特性
Android M新控件之FloatingActionButton,
TextInputLayout
,Snackbar,TabLayout的使用
【转载请注明出处:http://blog.csdn.net/feiduclear_up/article/details/46500865CSDN废墟的树】在前不久的谷歌2015I/O大会上,发布了Android新版本M,貌似从这个版本开始Android不在以数字命名版本了。在这次的I/O大会上谷歌对Android并没有很大的改变,主要是修改完善之前AndroidL版本。不过在谷歌推出Materia
废墟的树
·
2020-06-23 07:35
Android
UI
Android
5.x
Support
Library
新特性
Material
Desing
support
library
Android Design Support Library系列之三:
TextInputLayout
的使用
说到这,就要介绍今天的主角
TextInputLayout
了,使用
TextInputLayout
能让hint属性提示的文字在用户输入时不消失,而是显示为EditText上方的浮动标签。TextIn
随风飘扬的smile
·
2020-06-23 00:22
TextInputLayout
的使用
原文链接:Android5.0新控件——
TextInputLayout
先看效果图:效果图简要描述使用方法:
TextInputLayout
其实是一个容器,他继承自LinearLayout,该容器是作用于TextView
bryanno1
·
2020-04-14 13:14
自定义
TextInputLayout
,有右边的按钮/文字的EditText
在输入框右边加入文字或者按钮,在
TextInputLayout
里是有一个CheckableImageButton的,用于明文和密文的切换,增加按钮是为里支持其他操作,例如清空输入框等等。
十默_
·
2020-04-12 11:52
Snackbar 使用
谷歌在其2015年的I/O大会上发布了一个全新兼容函数库,开发者可以在安卓2.1(APILevel7)及以上的设备中实现MaterialDesign的效果,提供了一系列的控件,主要包括:Snackbar,
TextInputLayout
yuzhiyi_宇
·
2020-04-08 18:56
TextInputLayout
使用以及自定义颜色
[+]继CoordinatorLayout之后,继续研究materialdesign的相关控件
TextInputLayout
,下面是效果图:1.gradle配置compile‘com.Android.supp
NeWolf
·
2020-04-08 03:36
Design库-
TextInputLayout
那些事
1.什么是TextInputLayoutLayoutwhichwrapsan{@linkandroid.widget.EditText}(ordescendant)toshowafloatinglabelwhenthehintishiddenduetotheuserinputtingtext.译:一个布局包裹了EditText(或者EditText的子类),在用户输入文本的时候显示一个浮动的提示标
积木Blocks
·
2020-04-06 23:49
从登陆界面学习
TextInputLayout
前言源码传送门https://github.com/xiehui999/fuseProgram在MaterialDesign出现之前,如果我们想写一个登陆界面是不是一般都写两组TextView,EditText及一个Button,如果你想在账号和密码后面加一个计数的功能,又需要加控件并且要自己实现计数,或者在密码框后面加个类似眼睛的密码显示开关,或者你想加一个账号或者密码输入无效或者错误的提醒,一
sirai
·
2020-04-04 14:31
TextInputLayout
1.设置文本框内的hint颜色
TextInputLayout
布局里android:textColorHint2.style里面的属性:colorControlNormal代表下划线没有获得焦点或点击时的颜色
wenxx1114
·
2020-04-03 23:30
Android Material Design之
TextInputLayout
最近在使用知乎Android客户端的时候发现一个十分好玩的UI。如下图:图1其实不难看出,知乎app使用了大量原生的AndroidMaterialDesign控件,包括ToolBar、DrawerLayout、NavigationView、CardView、SwipeRefreshLayout、FloatingActionButton、BottomNavigationBar等等等等。顺着这个思路,
天才木木
·
2020-04-03 20:47
design控件之
TextInputLayout
属性相关:xmlcounterEnabled:是否显示计数器counterMaxLength计数器最大值errorEnabled错误提示是否可用hintAnimationEnabled提示的动画hintEnabled是否允许输入的时候显示提示到上方hintTextAppearance设置提示文字的外观passwordToggleContentDescriptionpasswordToggleDra
Avalon1
·
2020-04-02 14:39
EditText密码输入框中密码的显示与隐藏
通过自定义EditText进行处理,对文本框进行判断密码是否显示design新特性
TextInputLayout
情况下的自定义edittext与一般情况下的edittext比较效果图:Paste_Image.pngPaste_Image.png
神山上人
·
2020-03-28 13:25
『Material Design入门学习笔记』CollapsingToolbarLayout与AppBarLayout(附demo)
这篇文章中,介绍到的其它组件有
TextInputLayout
,FloatingActionButton,Snackbar,CoordinatorLayout。
mymdeep
·
2020-03-28 01:31
TextInputlayout
入门讲解
textinputlayout
可以通过在java代码中设置setErrorEnabled(boolean)和setError(charSequence
sakasa
·
2020-03-27 12:14
MaterialDesign之
TextInputLayout
和TextInputEditText
最近总结一下自己开发中常见MaterialDesign的一些控件,
TextInputLayout
的使用及解析常用的属性,嘻嘻。
eirunye
·
2020-03-27 00:58
AndroidASD完全解析06之CollapsingToolbarLayout
前面几篇文章我们分别介绍过了NavigationView、
TextInputLayout
、FloatingActionButton、SnackBar、AppBarLayout、TabLayout,还简单地介绍过
张文文同学
·
2020-03-19 02:52
AndroidASD完全解析01之NavigationView
这8个控件分别是:NavigationView,
TextInputLayout
,FloatingActionButton,Snackbar,TabLayout,Coord
张文文同学
·
2020-03-17 18:18
Material 登录注册过渡动画实践
在网上看见一个不错的登录注册效果,尝试着写了一遍,主要使用
TextInputLayout
做输入框,FloatingActionButton做页面切换按钮。遵循Materialdesign色彩样式。
cherishyan
·
2020-03-16 23:49
Android基础之
TextInputLayout
控件使用
compile'com.android.support:support-v4:25.3.1'compile'com.android.support:design:25.3.1'使用之前记得加依赖.效果图效果图具体使用如下:2.布局代码1.里面是一个EditText;使用view是底部横线,可以自己定义颜色或者图片2.这里的悬浮的hint字体颜色是可以自己设置的,在style下,应用主题theme中
正阳Android
·
2020-03-15 19:41
Android Design新控件之
TextInputLayout
(文本输入布局)
谷歌在推出Android5.0的同时推出了全新的设计MaterialDesign,谷歌为了给我们提供更加规范的MD设计风格的控件,在2015年IO大会上推出了Design支持包,Design常用的新控件包括:
TextInputLayout
Angelicas
·
2020-03-14 03:57
Android 6.0新控件(一)
本文将会介绍Android6.0新控件中的FloatingActionButton,
TextInputLayout
,Snackbar,TabLayout,剩余的(NavigationView,CoordinatorLayout
ListenerGao
·
2020-03-12 01:57
关于FAB、CardView、Snackbar、
TextInputLayout
、Palette...
http://www.open-open.com/lib/view/open1416664217867.html1、着色tint通过修改图像的Alpha遮罩层来修改图像的颜色,从而达到重新着色的目的,效果如下:tint着色1、修改视图的形状outline可以使用ViewOutlineProvider来修改outline,之后再将outline作用于视图ViewOutlineProviderview
i冰点
·
2020-03-03 14:55
Android Material Design 之
TextInputLayout
TextInputLayout
是MaterialDesign风格的输入框。效果如下。EditText在获取焦点的时候,hint会作为title移动到上面去,这样用户输入的过程中也能看到hint。
teletian
·
2020-03-01 02:21
Android UI进阶之旅5--Material Design之
TextInputLayout
前言
TextInputLayout
可以轻松与EditText结合实现一些炫酷的效果,例如一些常见的:Hint动画错误提示字数计数基本使用首先需要有一个布局:hintAnimationEnabled属性是设置是否开启
小楠总
·
2020-02-28 00:39
Android Material Design库用法举例
本文将通过示例讲解该库里面常用的一些控件的使用方法,包括:
TextInputLayout
,FloatingActionButton,Snackbar,CoordinatorLayout等。
JackMeGo
·
2020-02-25 18:18
MaterialDesign--(5)
TextInputLayout
的使用以及如何阅读源码
1.
TextInputLayout
的使用2.
TextInputLayout
的所有属性3.如何阅读
TextInputLayout
源码来实现自己想要的效果,遇到这类控件再也不用去百度了~~老规矩,先上图。
Anonymous___
·
2020-02-25 02:41
MaterialDesign——
TextInputLayout
目前代码已经上传到GitHub,里面有博客里面MaterialDesign系列的所有代码GitHubMaterialDesign1、什么是
TextInputLayout
?
CodingSnail
·
2020-02-24 08:18
Android 中
TextinputLayout
的用法
textinputlayout
_pic.pngLayoutwhichwrapsanEditText(ordescendant)toshowafloatinglabelwhenthehintishiddenduetotheuserinputtingtext.
TextinputLayout
_Binguner
·
2020-02-22 04:57
!Android5.0下Design-八大控件
1.
TextInputLayout
集成于LinearLayout,但它只能放一个控件,跟ScrowView这点很像。通过getEditText可以获取里面的那个EditeText控件。
一直在变的风
·
2020-02-21 08:02
android
TextInputLayout
setError 隐藏后不再显示
最近研究android的materialdesign中的
TextInputLayout
发现setError()隐藏之后就无法再显示。
ericZhong
·
2020-02-18 23:05
TextInputLayout
惊现底层bug-on a null object
报错信息提取Android-Attempttoinvokevirtualmethod'voidandroid.view.View.getBoundsOnScreen(android.graphics.Rect)'onanullobjectreference整体崩溃信息FATALEXCEPTION:mainProcess:br.com.fornaro.armariovirtual,PID:5540j
ifjgm
·
2020-02-18 14:24
Android Material Design之
TextInputLayout
示例Github地址:https://github.com/ChaiJiangpeng/AndroidMaterialDesignDemoTextInputLayout是AndroidMaterialDesign中新的控件,要和EditText(或EditText的子类)结合使用,并且只能包含一个EditText(或EditText的子类)。作用:在用户输入文本的时候显示一个浮动的提示标签。1.简
柴江朋
·
2020-02-14 20:18
Materia Design系列之
TextInputLayout
今天我们将详细了解下MateriaDesign库中的
TextInputLayout
和TextInputEditText组件。
TextInputLayout
实际上是用于辅助EditText的。
禹兮_4518
·
2020-02-14 02:01
手把手教你掌握Design新控件(一)
2015年,谷歌在推出Android5.0的同时推出了全新的设计MaterialDesign,谷歌为了给我们提供更加规范的MD设计风格的控件,推出了Design支持包,Design常用的控件有下面8个:
TextInputLayout
洪生鹏
·
2020-02-11 11:48
Material design library系列——
TextInputLayout
前言今天给大家带来Materialdesign系列的第二篇文章,
TextInputLayout
的使用。
李晓通
·
2020-01-07 20:59
android 6.0中的FloatingActionButton,
TextInputLayout
,Snackbar
必须说下6.0里面的新控件1FloatingActionButton默认背景颜色是AppTheme中colorAccent的值,如果要修改背景可以用app:backgroundTint="@color/colorPrimary"使用android:background="@color/colorPrimary"会报错,在API>19无阴影效果加入app:borderWidth="0dp"2Text
ldoublem
·
2020-01-06 22:24
仿ios网易支付登录特效
就是点击输入框之后输入框上提示的文字会通过一个动画变换到输入框上方,不知道是怎么做的,就立马下了个android的网易支付app,但是安卓版未实现这种效果,一度搜索Android是否有此功能,然后发现在
TextInputLayout
xuancaocom
·
2020-01-06 09:52
Material Design 控件知识梳理(9) -
TextInputLayout
MaterialDesign控件知识梳理(1)-AndroidDesignSupportLibrary是什么MaterialDesign控件知识梳理(2)-AppBarLayout&CollapsingToolbarLayoutMaterialDesign控件知识梳理(3)-BottomSheet&&BottomSheetDialog&&BottomSheetDialogFragmentMater
泽毛
·
2020-01-06 08:03
MaterialDesign系列文章(十)
TextInputLayout
和TextInputEdittext
最近看见我的文章被很多人喜欢,这里先谢谢大家了!感谢你对我写作的认可。image我叫笔墨Android,希望大家记得!哈哈。。。写关于MD文章已经有10篇了,坚持真是一个很神奇的东西!不知不觉已经更新10篇文章了。这段时间自己的只是体系得到了提升,还结交到了很多朋友。感觉挺值的!如果我的文章有什么问题,希望你及时提出来,我会尽早的给你一个交代的!文末我会把我的QQ号奉上的,有问题找我哦!!!本文知
笔墨Android
·
2020-01-04 09:25
Android:MaterialTextField(
TextInputLayout
之另一种实现)
转发请注明原创:http://blog.csdn.net/snailbaby_soko/article/details/53893047Google在2015的IO大会上,给我们带来了更加详细的MaterialDesign设计规范,同时,也给我们带来了全新的AndroidDesignSupportLibrary,在这个support库里面,Google给我们提供了更加规范的MD设计风格的控件,这不
BmobSnail
·
2020-01-03 11:12
TextInputLayout
的使用与实现
TextInputLayout
的使用在Gradle的依赖中添加上com.android.support:design:23.0.0,其中23版本根据编译的android版本来调整对应版本即可gradle
None_Ling
·
2019-12-28 07:10
Andorid - Material Design之
TextInputLayout
老婆保佑,代码无BUG前言MaterialDesign系列第二篇
TextInputLayout
目录一:
TextInputLayout
如何使用xmlactivity代码style二:属性说明引用compile'com.android.support
Allens_Jiang
·
2019-12-26 08:09
Android 新控件
http://blog.csdn.net/buttonxin/article/details/51804693开源库
TextInputLayout
(文本输入布局)TabLaout(选项卡布局)SnackbarFloatingActionButton
奈何心善
·
2019-12-24 01:22
Android Design 新控件
文章后面收录了学习中参考过的相关文章,此处只对遇到的问题做必要的记录###design包里面的控件.png1、
TextInputLayout
###Paste_Image.png前后对比.gif问题说明:
CalvinNing
·
2019-12-20 02:21
AndroidASD完全解析03之FloatingActionButton
前面我们介绍过了NavigationView和
TextInputLayout
这两个控件了,下面我们介绍第三个控件FloatingActionButton,这一篇也是ASD完全解析系列的第三篇,有兴趣的可以去看看前面两个控件的介绍
张文文同学
·
2019-12-17 08:13
上一页
1
2
3
4
5
6
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他