Android Question Editing Theme

techknight

Well-Known Member
Licensed User
Longtime User
I was looking at the google site:

https://developer.android.com/training/material/theme.html

Which shows how to edit the ActionBar Theme, etc..

This part here:

B4X:
<resources>
  <!-- inherit from the material theme -->
  <stylename="AppTheme"parent="android:Theme.Material">
    <!-- Main theme colors -->
    <!--   your app branding color for the app bar -->
    <item name="android:colorPrimary">@color/primary</item>
    <!--   darker variant for the status bar and contextual app bars -->
    <item name="android:colorPrimaryDark">@color/primary_dark</item>
    <!--   theme UI controls like checkboxes and text fields -->
    <item name="android:colorAccent">@color/accent</item>
  </style></resources>

How do I put that into B4A? Manifest Editor?
 

techknight

Well-Known Member
Licensed User
Longtime User
That answered my questions. Thanks.

However the ActionBar is a little too tall for my liking. How to adjust the size?
 
Last edited:
Upvote 0

Similar Threads

Replies
1
Views
3K
  • Locked
  • Article
Android Code Snippet [B4X] Light theme B4XDateTemplate
Replies
2
Views
10K
  • Article
Android Code Snippet Theme Colors
Replies
3
Views
34K
Top