Last active
December 24, 2015 15:29
-
-
Save ChrisRisner/6820727 to your computer and use it in GitHub Desktop.
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
<style name="ActionBarStyle" parent="android:style/Widget.Holo.Light.ActionBar"> | |
<item name="android:colorBackground">@color/dull_purple</item> | |
<item name="android:background">@color/dull_purple</item> | |
<item name="android:textColor">@android:color/white</item> | |
<item name="android:titleTextStyle">@style/TitleTextStyle</item> | |
</style> |
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> | |
<!-- | |
Base application theme, dependent on API level. This theme is replaced | |
by AppBaseTheme from res/values-vXX/styles.xml on newer devices. | |
--> | |
<style name="AppBaseTheme" parent="android:Theme.Light"> | |
<!-- | |
Theme customizations available in newer API levels can go in | |
res/values-vXX/styles.xml, while customizations related to | |
backward-compatibility can go here. | |
--> | |
</style> | |
<!-- Application theme. --> | |
<style name="AppTheme" parent="AppBaseTheme"> | |
<!-- All customizations that are NOT specific to a particular API-level can go here. --> | |
</style> | |
</resources> |
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
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN); | |
getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); | |
super.onCreate(savedInstanceState, true); | |
setContentView(R.layout.activity_pies_list); | |
// Show the Up button in the action bar. | |
setupActionBar(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment