I STRONGLY recomment you to check the Thread Erel posted instead of asking first.Thanks artless but how can I applied it
etApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ff039be5</color>
<color name="statusbar">#ff006db3</color>
<color name="textColorPrimary">#ffffffff</color>
<color name="navigationBar">#ff006db3</color>
</resources>
)
CreateResource(values, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Material.Light">
<item name="android:colorPrimary">@color/actionbar</item>
<item name="android:colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
</style>
</resources>
)
Check the code from Erel and add this line together with the others in the manifest:Thanks artless but how can I applied it
<item name="android:colorBackground">#FF6495ED</item>
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ff039be5</color>
<color name="statusbar">#ff006db3</color>
<color name="textColorPrimary">#ffffffff</color>
<color name="navigationBar">#ff006db3</color>
<color name="colorBackground">#6EFF33</color>
</resources>
)
CreateResource(values-v20, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Material.Light">
<item name="android:colorPrimary">@color/actionbar</item>
<item name="android:colorPrimaryDark">@color/statusbar</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:navigationBarColor">@color/navigationBar</item>
<item name="android:colorBackground">@color/colorBackground</item>
</style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/CustomActionBarStyle</item>
</style>
<style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/actionbar</item>
</style>
</resources>
)
thanks TILogistic is work nowView attachment 150742
B4X:SetApplicationAttribute(android:theme, "@style/LightTheme") CreateResource(values, colors.xml, <resources> <color name="actionbar">#ff039be5</color> <color name="statusbar">#ff006db3</color> <color name="textColorPrimary">#ffffffff</color> <color name="navigationBar">#ff006db3</color> <color name="colorBackground">#6EFF33</color> </resources> ) CreateResource(values-v20, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme.Material.Light"> <item name="android:colorPrimary">@color/actionbar</item> <item name="android:colorPrimaryDark">@color/statusbar</item> <item name="android:textColorPrimary">@color/textColorPrimary</item> <item name="android:navigationBarColor">@color/navigationBar</item> <item name="android:colorBackground">@color/colorBackground</item> </style> </resources> ) CreateResource(values-v14, theme.xml, <resources> <style name="LightTheme" parent="@android:style/Theme.Holo.Light"> <item name="android:actionBarStyle">@style/CustomActionBarStyle</item> </style> <style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"> <item name="android:background">@color/actionbar</item> </style> </resources> )
Do not expect anyone can give you a congrete answer if you do not upload a small project showing the issue.hello how can i remove the white space around the logo i tried to make the logo bigger but nothing changed
Do not expect anyone can give you a congrete answer if you do not upload a small project showing the issue.
How can we know what you did and how?
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#FF7F5B8B</color>
<color name="statusbar">#ff006db3</color>
<color name="textColorPrimary">#ffffffff</color>
<color name="navigationBar">#ff006db3</color>
<color name="colorBackground">#FF7F5B8B</color>
</resources>
)
CreateResource(values-v20, theme.xml,
<resources>
<style name="LightTheme" parent="@android:style/Theme.Material.Light">
<item name="android:colorBackground">@color/colorBackground</item>
</style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
<style name="CustomActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/actionbar</item>
</style>
</resources>
)
I´ll not try to guess what could be wrong. Your Manifest helps exactly zero to reproduce the issue.hi don i have used this snipped code in manifest editor and also select logo with 512 size