Where is the "translucent_background"?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Where is the "translucent_background"?

Postby hyena0 » Wed Jan 09, 2008 3:05 pm

I try to change the background to translucent type.

But I could'nt , because I could'nt find the next file "translucent_background".

styles.xml file is include below coding sentences.

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <style name="Theme.Translucent">
  2.  
  3. <item name="android:windowBackground">@drawable/translucent_background</item>
  4.  
  5. <item name="android:windowNoTitle">true</item>
  6.  
  7. <item name="android:foregroundColor">#fff</item>
  8.  
  9. </style>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


There is no such file, translucent_background.
what is the problem?
Do you know, guys? why?
hyena0
Freshman
Freshman
 
Posts: 2
Joined: Wed Jan 09, 2008 3:03 pm

Top

I found it

Postby hyena0 » Wed Jan 09, 2008 5:02 pm

"transparent_background" was not file.

I defined drawable resource in styles.xml

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <drawable name="transparent_background">#a0000000</drawable>
Parsed in 0.000 seconds, using GeSHi 1.0.8.4
hyena0
Freshman
Freshman
 
Posts: 2
Joined: Wed Jan 09, 2008 3:03 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests