[Android Themes] coolfire92:
Hi.I am trying to get this widget to fit on my mdpi screen(240x400).I edited the album_appwidget4x3.xml and managed to get the widget to fit.But the album art is larger than the pinmusic image

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="vertical" android:paddingLeft="1.0dip" android:paddingTop="1.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center" android:orientation="vertical" android:background="@android:color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="135.0px" android:layout_height="143.0px">
<ImageView android:gravity="center" android:id="@id/albumart" android:layout_width="170.0px" android:layout_height="170.0px" android:layout_marginLeft="1.0px" android:layout_marginTop="1.0px" android:scaleType="fitXY" />
<ImageView android:layout_width="175.0px" android:layout_height="175.0px" android:src="@drawable/appwidget_album_art_default_bg_small" android:scaleType="fitXY" />
<ImageView android:id="@id/albumartreflect" android:layout_width="0.0dip" android:layout_height="0.0dip" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_weight="1.0" />
</RelativeLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/album_appwidget" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="13.0px">
<TextView android:textSize="14.0sp" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textSize="12.0sp" android:textColor="#ffffffff" android:layout_gravity="center" android:id="@id/artist" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="horizontal" android:paddingTop="2.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageButton android:id="@id/control_prev" android:background="@android:color/transparent" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/back_button" android:scaleType="fitCenter" android:layout_weight="1.0" />
<ImageButton android:id="@id/control_play" android:background="@android:color/transparent" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/play_button" android:scaleType="fitCenter" android:layout_weight="1.0" />
<ImageButton android:id="@id/control_next" android:background="@android:color/transparent" android:layout_width="0.0dip" android:layout_height="0.0dip" android:src="@drawable/forward_button" android:scaleType="fitCenter" android:layout_weight="1.0" />
<ProgressBar android:id="@id/progress" android:paddingLeft="2.0dip" android:paddingTop="1.0dip" android:paddingRight="2.0dip" android:layout_width="0.0px" android:layout_height="0.0dip" android:progressDrawable="@drawable/progress" style="\?android:attr/progressBarStyleHorizontal" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</FrameLayout>

It looks like this

Could you help me please?