Skip to content

Instantly share code, notes, and snippets.

@Garretthh07
Created April 27, 2016 16:29
Show Gist options
  • Save Garretthh07/04d831a5a767d1084153a6c1996b9b0b to your computer and use it in GitHub Desktop.
Save Garretthh07/04d831a5a767d1084153a6c1996b9b0b to your computer and use it in GitHub Desktop.
JustJava
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<!-- Style for a header TextView -->
<style name="CustomText">
<item name="android:textSize">20sp</item>
<item name="android:textColor">#4527A0</item>
<item name="android:textStyle">italic</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>
<item name="android:layout_marginLeft">20sp</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment