CheckBox with Background attribute renders incorrectly?

by Romain Guy » Tue, 06 Oct 2009 01:32:15 GMT


Sponsored Links
 You need to add padding to your background drawable.






-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. print commands with full log in init.rc

Dear all,

I am porting android froyo on arm platform. I want init.rc to print
the command it executes while the kernel boots. I am already printing
verbose log messages by changing the loglevel 3 to loglevel 15 at the
start of init.rc.
Please let me know if there are any other commands which will increase
the verbosity, especially I want to be able to print the actual
command which is executed.

thank you for your time

Android Enthusiast

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Improper Audio format while using AudioRecord API

I am doing recording in following way and storing byte array in a
binary file. But the binary file I am getting is not in any format.
what can be the problem?


int bufferSize = AudioRecord.getMinBufferSize(8000,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT);
                        byte[] tempBuffer = new byte[bufferSize];
                        AudioRecord recorder = new
AudioRecord(MediaRecorder.AudioSource.MIC, 8000,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT,bufferSize*4);
                        recorder.startRecording();
                        bufferRead = recorder.read(tempBuffer, 0, bufferSize);
                        FileOutputStream fos = new FileOutputStream(new 
File("sdcard/
output.bi"));
                        OutputStreamWriter osw = new OutputStreamWriter(fos);
                        for (int idxBuffer = 0; idxBuffer < bufferRead; 
++idxBuffer) {
                                        osw.write(tempBuffer[idxBuffer]);
                        }

-- 

3. sqlite with 莽/帽

4. .apk installation problem with froyo fs

5. What is the best approach to store audio files for use in android application?

6. WiFi Range and Ad-Hoc Networks

7. Controlling a TextView's select behavior