Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /usr/home/shadbb/domains/czub.info/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /usr/home/shadbb/domains/czub.info/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /usr/home/shadbb/domains/czub.info/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Szybki sposób na własne style w androidzie, dobrze jest używać styl owania żeby w jednym miejscu mieć informację o wyglądzie.
modyfikacje rozpoczynamy od stworzenia i edycji pliku:
gdzie dodajemy własne modyfikacje globalnego stalowania aplikacji:
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AppBaseTheme" parent="android:Theme.Light">
</style>
<style name="AppTheme" parent="AppBaseTheme">
</style>
<style name="TextButton" parent="@android:style/TextAppearance">
<item name="android:background">#996633</item>
<item name="android:textColor">#ffffff</item>
</style>
</resources> |
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AppBaseTheme" parent="android:Theme.Light">
</style>
<style name="AppTheme" parent="AppBaseTheme">
</style>
<style name="TextButton" parent="@android:style/TextAppearance">
<item name="android:background">#996633</item>
<item name="android:textColor">#ffffff</item>
</style>
</resources>
styl appki określamy w manifeście:
<application
...
android:theme="@style/AppTheme" > |
<application
...
android:theme="@style/AppTheme" >
Możliwość komentowania jest wyłączona.