- 👋 大家好,我是胖蔡
- 👀 我感兴趣的领域是前端开发
- 💞️ 我致力于网站开发方向,希望能做出正向贡献
- 📫 大家可以访问:www.enjoytoday.cn 来联系我
amikoj / shadowview Goto Github PK
View Code? Open in Web Editor NEWAndroid 阴影布局实现
Android 阴影布局实现
<aaa.ShadowLayout
android:id="@+id/bubble"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
app:blurRadius="5dp"
app:shadowColor="#0A000000"
app:shadowRadius="5dp"
android:background="@drawable/xxx"
app:xOffset="0dp"
app:yOffset="5dp">
<TextView
android:id="@+id/tv_chatcontent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
android:layout_gravity="center"
android:gravity="center|left"
android:lineSpacingExtra="2dp"
android:maxWidth="225.0dip"
android:minHeight="38dp"
android:paddingLeft="3dp"
android:paddingRight="5dp"
android:textColor="#333333"
android:textSize="15sp"
tools:text="111111111" />
</aaa.ShadowLayout>
如果这个地方是一张背景图,阴影没问题,但是背景图会有问题,不会显示
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.