I wrote following code in xml file but Imageview (shown in bold) not Showing Image on Android 2.2 and not on Android 4.0
Please help out. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="fill" android:layout_weight="1" > <ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/imgScrollView" > *<ImageView* * android:id="@+id/imageView1"* * android:layout_width="fill_parent"* * android:layout_height="wrap_content"* * android:adjustViewBounds="true"* * />* </ScrollView> </LinearLayout> <!-- Player Footer --> <LinearLayout android:id="@+id/player_footer_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0" android:background="@layout/bg_player_footer" android:gravity="center" android:orientation="vertical"> <!-- Timer Display --> <LinearLayout android:id="@+id/timerDisplay" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2dp" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" > <!-- Current Duration Label --> <TextView android:id="@+id/songCurrentDurationLabel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="left" android:textColor="#eeeeee" android:textStyle="bold" /> <!-- Total Duration Label --> <TextView android:id="@+id/songTotalDurationLabel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="right" android:textColor="#04cbde" android:textStyle="bold" /> </LinearLayout> <!-- Progress Bar/Seek bar --> <SeekBar android:id="@+id/songProgressBar" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2dp" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:progressDrawable="@drawable/seekbar_progress" android:thumb="@drawable/seek_handler" /> <!-- Player Buttons --> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@layout/rounded_corner" android:gravity="center_vertical" android:orientation="horizontal" android:paddingLeft="10dp" android:paddingRight="10dp" > <!-- Backward Button --> <ImageButton android:id="@+id/btnBackward" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@null" android:src="@drawable/btn_backward" /> <!-- Play Button --> <ImageButton android:id="@+id/btnPlay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@null" android:src="@drawable/btn_play" /> <!-- Forward Button --> <ImageButton android:id="@+id/btnForward" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@null" android:src="@drawable/btn_forward" /> </LinearLayout> </LinearLayout> </LinearLayout> -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.