天天看點

Android去掉頂部的陰影

首先定義一個style 

 <style name="Theme.IOSched" parent="android:style/Theme.Light">

    <item name="android:windowNoTitle">true</item>

    <item name="android:windowContentOverlay">@null</item>

</style> 

然後在AndroidManifest.xml裡面,針對需要去掉陰影的Activity使用該style

<activity android:label="@string/app_name" android:name=".MainActivity" android:theme="@style/Theme.IOSched"> 

本文轉自Kai的世界,道法自然部落格園部落格,原文連結:http://www.cnblogs.com/kaima/archive/2011/07/29/2121457.html,如需轉載請自行聯系原作者。

繼續閱讀