编辑文本中的外部辉光 [英] Outer glow in edittext

查看:65
本文介绍了编辑文本中的外部辉光的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在编辑文本视图中增加外观,以更好地查看用户体验. 我尝试了一些方法来获得此结果.该示例中的一个是:

I'm trying to make outer grow in edit text view for better look for user experience. I tried some of the method to get this result. On of the example is:

<EditText
        android:id="@+id/editText1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="20dip"
        android:ems="10"
        android:gravity="top"
        android:inputType="textMultiLine"
        android:shadowColor="#003399"
        android:shadowDx="0"
        android:shadowDy="0" 
        android:shadowRadius="3">

但是它没有给出结果.他们还有其他有效的方法吗?还是我不得不放弃?

But it didn't give the result. Is their any other effective way or i just have to give up?

推荐答案

我已经使用9路径绘制工具完成了此操作. 链接

I have done this with 9 path drawing tool. Link

这篇关于编辑文本中的外部辉光的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆