android:fadingEdge="horizontal"
android:scrollHorizontally="true"
<resources>
<style name="Theme" parent="android:Theme" />
<style name="Theme.Transparent">
<item name="android:windowBackground">@drawable/transparent_background</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<drawable name="transparent_background">#00000000</drawable>
</resources>
<activity android:name=".Controlls"
android:label="Controlls"
android:theme="@style/Theme.Transparent">
本文介绍如何在Android中为ListView设置水平渐隐效果并启用水平滚动特性,同时展示了如何通过XML定义一个透明的主题样式,并应用于Activity中。

被折叠的 条评论
为什么被折叠?



