改变textview控件的形状 如题。textview始终都是一个正方体。能不能通过某种方法将他变成梯形或其他形状 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <shape></shape>描边如椭圆<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <gradient android:startColor="#FFFF0000" android:endColor="#80FF00FF" android:type="linear" android:angle="0"/> <padding android:left="7dp" android:top="7dp" android:right="7dp" android:bottom="7dp" /><corners android:radius="40dip" /></shape><TextView android:layout_width="80dip" android:layout_height="60dip" android:background="@drawable/shape" android:text="hello"/> android-sdk-windows-1.6_r1 下载链接 Android socket通信怎么看效果 在myeclipse2013上装了android的SDK,但是看不到模拟器图标 为什么解锁之后只有主界面? 图片效果处理 Android模拟器下如何运行html文件 Android获取Xml-rpc数据异常,老是提示ex:deserializable出错 关于handler的一些疑问 新手求助 找错 文字的超链接 Android 布局问题高分求教 Flex & Android将是趋势
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<gradient
android:startColor="#FFFF0000"
android:endColor="#80FF00FF"
android:type="linear"
android:angle="0"/>
<padding android:left="7dp"
android:top="7dp"
android:right="7dp"
android:bottom="7dp" />
<corners
android:radius="40dip" />
</shape><TextView
android:layout_width="80dip"
android:layout_height="60dip"
android:background="@drawable/shape"
android:text="hello"/>