AltheaFriedlerc
New Member
If you guys need to see code for this one, if it's not something obvious, let me know, I posted waaaaay too much code on my last question apparently. I have been developing and android app in eclipse, and when run, below the title, my app is empty. Nothing but white space, none of my controls/UI are visible.Main.xml\[code\]<?xml version="1.0" encoding="utf-8"?><ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"><RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" androidadding="5dp"> <TextView android:id="@+id/textViewChan" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" android:text="@string/channel"/> <SeekBar android:id="@+id/seekBarChan" android:layout_below="@+id/textViewChan" android:layout_width="wrap_content" android:layout_height="wrap_content" android:max="4" androidaddingBottom="10dp" /> <Button android:id="@+id/btnChoose" android:layout_below="@+id/seekBarChan" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:text="@string/choose"/> <Button android:id="@+id/btnRandom" android:layout_below="@+id/btnChoose" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:text="@string/random"/> <TextView android:id="@+id/textViewRed" android:layout_below="@+id/btnRandom" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="10dp" android:text="@string/Red" /> <SeekBar android:id="@+id/seekBarRed" android:layout_below="@+id/textViewRed" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="255" androidaddingBottom="10dp" /> <TextView android:id="@+id/textViewGreen" android:layout_below="@+id/seekBarRed" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="10dp" android:text="@string/Green" /> <SeekBar android:id="@+id/seekBarGreen" android:layout_below="@+id/textViewGreen" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="255" androidaddingBottom="10dp" /> <TextView android:id="@+id/textViewBlue" android:layout_below="@+id/seekBarGreen" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="10dp" android:text="@string/Blue" /> <SeekBar android:id="@+id/seekBarBlue" android:layout_below="@+id/textViewBlue" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="255" androidaddingBottom="10dp" /> <Spinner android:id="@+id/spinnerMode" android:layout_below="@+id/seekBarBlue" android:layout_width="match_parent" android:layout_height="wrap_content" android:entries="@array/mode_array" androidrompt="@string/mode_prompt" /> <TextView android:id="@+id/textViewSide" android:layout_below="@+id/spinnerMode" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="5dp" android:text="@string/side" /> <RadioButton android:id="@+id/radio0" android:layout_below="@+id/textViewSide" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:layout_marginLeft="10dp" android:checked="true" androidnClick="onRadioButtonClicked" android:text="@string/left" /> <RadioButton android:id="@+id/radio1" android:layout_below="@+id/textViewSide" android:layout_toRightOf="@+id/radio0" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right" androidnClick="onRadioButtonClicked" android:text="@string/right" /> <TextView android:id="@+id/textViewBand" android:layout_below="@+id/radio0" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="10dp" android:text="@string/band" /> <SeekBar android:id="@+id/seekBarBand" android:layout_below="@+id/textViewBand" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="5" androidaddingBottom="10dp" /> <TextView android:id="@+id/textViewSens" android:layout_below="@+id/seekBarBand" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingLeft="5dp" androidaddingTop="10dp" android:text="@string/sens" /> <SeekBar android:id="@+id/seekBarSens" android:layout_below="@+id/textViewSens" android:layout_width="match_parent" android:layout_height="wrap_content" android:max="255" androidaddingBottom="10dp" /> <Button android:id="@+id/btnApply" android:layout_below="@+id/seekBarSens" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:text="@string/apply"/> <Button android:id="@+id/btnSave" android:layout_below="@+id/btnApply" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:text="@string/save"/></RelativeLayout></ScrollView>\[/code\]