Last active
May 24, 2017 12:45
-
-
Save udacityandroid/095e6b1fae26bf1a8a7e to your computer and use it in GitHub Desktop.
Android for Beginners : Themes Solution
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. --> | |
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | |
<!-- App branding color for the app bar --> | |
<item name="colorPrimary">#009688</item> | |
<!-- Darker variant for the status bar and contextual app bars --> | |
<item name="colorPrimaryDark">#00796B</item> | |
<!-- Theme UI controls like checkboxes and text fields --> | |
<item name="colorAccent">#536DFE</item> | |
</style> | |
<!-- Style for header text in the order form --> | |
<style name="HeaderTextStyle"> | |
<item name="android:layout_width">wrap_content</item> | |
<item name="android:layout_height">48dp</item> | |
<item name="android:gravity">center_vertical</item> | |
<item name="android:textAllCaps">true</item> | |
<item name="android:textSize">15sp</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment