Android Question Help Manifest Editor

josmaroal

Member
Licensed User
Hello friends I am moving my old programs to the new views of B4A, as well as learning the latest news about the magic of Erel and the great contributors to this forum.
Hope it's possible to get the Light-Blue look with Manifest Editor and have the old "Dialogs". For reasons of request from my clients (over 70 years old) they liked the new look but they do not get used to the Calendar-Time management.
Please see image.

'Este código se aplicará al archivo de manifiesto durante la compilación.
'No es necesario modificarlo en la mayoría de los casos.
'Más información: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'Fin del texto predeterminado.
SetApplicationAttribute(android:theme, "@style/LightTheme")
CreateResource(values, colors.xml,
<resources>
<color name="actionbar">#ff039be5</color>
<color name="statusbar">#ff006db3</color>
<color name="textColorPrimary">#ff0000ff</color>
<color name="navigationBar">#ff006db3</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>
</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>
)
'End of default text.
 

Attachments

  • Views_Vistas.png
    Views_Vistas.png
    253.7 KB · Views: 59

josmaroal

Member
Licensed User
Hello friend Erel, I thought it could be done and I was running out of time for not asking. As for the code if I try but wanting to put it, it indicates to enter two or more characters and I did not understand why. But with your guide the next I write "/ code" and paste the code
Thank you, go two steps in one.
Greetings

José
Note: I will put it into practice.
 
Upvote 0
Top