Created
April 25, 2013 19:21
-
-
Save DavidTPate/5462374 to your computer and use it in GitHub Desktop.
Updated themes.xml for AndroidMenuDrawer sample to reduce overdraw and set the window background to null.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <resources> | |
| <style name="SampleBase" parent="@android:style/Theme.Light" /> | |
| <style name="SampleTheme" parent="SampleBase"> | |
| <item name="android:windowBackground">@null</item> | |
| <item name="menuDrawerStyle">@style/MenuDrawerStyle</item> | |
| </style> | |
| <style name="SampleTheme.RightDrawer" parent="SampleBase"> | |
| <item name="menuDrawerStyle">@style/MenuDrawerStyle.Right</item> | |
| </style> | |
| <style name="SampleTheme.TopDrawer" parent="SampleBase"> | |
| <item name="menuDrawerStyle">@style/MenuDrawerStyle.Top</item> | |
| </style> | |
| <style name="SampleTheme.BottomDrawer" parent="SampleBase"> | |
| <item name="menuDrawerStyle">@style/MenuDrawerStyle.Bottom</item> | |
| </style> | |
| </resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment