How to run the program on the new SAMSUNG GALAXY under windows XP

by dan raaka » Wed, 15 Jul 2009 07:30:26 GMT


Sponsored Links
 what do you see ? have you enabled adb on the device in the settings ?

-Dan





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



Other Threads

1. Layout_Weight wierdness with ListView and Buttons (within vertical orientation LinearLayout)

Hi, I'm trying to create a screen with a listview and two buttons on
it.

I tried the following combination in main.xml and it seemed to work
right (with the listview taking up ~80% of the height and the two
buttons ~10% each)

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
.......
    <ListView android:id="@+id/android:list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
        android:layout_weight="0.8" .........

    <Button android:id="@+id/test1"          android:text="@string/
test1"
        android:layout_width="wrap_content"
android:layout_height="wrap_content"
        android:layout_weight="0.1" ........ and similarly for button2
------------
Then, I tried increasing the button weights to 0.3 each and I reduced
the listview weight to 0.4.

With these changes, my expectation was that the listview would take
40% of the screen height and that the buttons would take 30% each.
However, after the changes, the listview took up even more space than
before. So I could see more list elements on the first screen now
(though the listview weight was now only 40% and it had been 80%
earlier)
     The two buttons shrunk in height and so the button text wasn't
drawn

Does anyone know why increasing the layout_weight of the two buttons
(from 10% to 30% each) decreased the height of the buttons (and why
decreasing the layout_weight of the listview increased its height)

Thanks Ram
--~--~---------~--~----~------------~-------~--~----~

2. Background color quirks when sizing EditText to small px heights

When I specify EditText at a small height like 14px, the background
color directly behind the text is a white color, which clashes with
the gray gradient of the EditText widget.  Is there any way to fix
this?
--~--~---------~--~----~------------~-------~--~----~

3. When our widgets fill the screen, how do we set autoscrolling?

4. Raw folder for mp3 files

5. Is there more information about Syncable and android.content.SyncAdapter?

6. combining views

7. APIDemos Gallery1 Next Question