Guest User

Untitled

a guest
Jan 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <Button
  2. android:layout_marginTop="0dp"
  3. android:layout_marginBottom="5dp"
  4. android:layout_marginLeft="40dp"
  5. android:layout_marginRight="40dp"
  6. android:id="@+id/buttonLogin"
  7. android:text="Login"
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:theme="@style/ButtonTheme"/>
  11.  
  12. <resources>
  13.  
  14. <!-- Base application theme. -->
  15. <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
  16. <!-- Customize your theme here. -->
  17. <item name="colorPrimary">@color/colorPrimary</item>
  18. <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  19. <item name="colorAccent">@color/colorAccent</item>
  20. </style>
  21.  
  22. <style name="AppTheme.NoActionBar">
  23. <item name="windowActionBar">false</item>
  24. <item name="windowNoTitle">true</item>
  25. </style>
  26.  
  27. <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
  28.  
  29. <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
  30.  
  31. <style name="EditTextTheme">
  32. <item name="colorControlActivated">@color/colorPrimaryDark</item>
  33. </style>
  34.  
  35. <style name="ButtonTheme">
  36. <item name="android:background">@color/colorPrimary</item>
  37. <item name="android:textColor">@color/colorWhite</item>
  38. </style>
  39. </resources>
Add Comment
Please, Sign In to add comment