2010-03-05 11 views

cevap

6

GetWindow() metodu kesinlikle, android.id.id.title

View title = getWindow().findViewById(android.R.id.title); 
View titleBar = (View) title.getParent(); 
titleBar.setBackgroundColor(Color.RED);` 
+1

benim için çalışmıyor ........ bir çalışma zamanı hatası veriyor –

+1

java.lang.NullPointerException – vNext

+0

@vNext Bu hatayı çözdünüz mü? – mrid