Skip to content

Instantly share code, notes, and snippets.

@vamsitallapudi
Created August 28, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vamsitallapudi/296e85c1992f5c5bc6e74f54d3070c99 to your computer and use it in GitHub Desktop.
Save vamsitallapudi/296e85c1992f5c5bc6e74f54d3070c99 to your computer and use it in GitHub Desktop.
<resources> <!-- Base application theme for Android Custom Font -->
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. -->
<item name="android:typeface">monospace</item>
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style> <!--Defining colors for TextInputLayout's EditText-->
<style name="TextLabel" parent="TextAppearance.AppCompat"> <!-- Hint color and label color in FALSE state -->
<item name="android:textColorHint">#9575cd</item>
<item name="android:textSize">20sp
</item> <!-- Label color in TRUE state and bar color FALSE and TRUE State -->
<item name="colorAccent">@color/colorAccent</item>
<item name="colorControlNormal">#9575cd</item>
<item name="colorControlActivated">@color/colorAccent</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment