Gelöschter Account
- Forum-Beiträge: 1
05.12.2013, 21:27:19 via Website
05.12.2013 21:27:19 via Website
Hi, i am working on a script to change the color of the actionbar.
This is the important part my script:
ActionBar bar = getActionBar();
bar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#123456")));
But no matter what hex color i put into Color.parseColor(), the actionbar always changes to white.
Any idea Why?
By the way, i am new to this forum, forgive me if i posted this in the wrong forum.
This is the important part my script:
ActionBar bar = getActionBar();
bar.setBackgroundDrawable(new ColorDrawable(Color.parseColor("#123456")));
But no matter what hex color i put into Color.parseColor(), the actionbar always changes to white.
Any idea Why?
By the way, i am new to this forum, forgive me if i posted this in the wrong forum.
— geändert am 05.12.2013, 21:49:09
Empfohlener redaktioneller Inhalt
Mit Deiner Zustimmung wird hier ein externer Inhalt geladen.
Mit Klick auf den oben stehenden Button erklärst Du Dich damit einverstanden, dass Dir externe Inhalte angezeigt werden dürfen. Dabei können personenbezogene Daten an Drittanbieter übermittelt werden. Mehr Infos dazu findest Du in unserer Datenschutzerklärung.