i've developed an App that shows a ShinobiCharts DonutChart. Inside the donut i attached a view that shows correctly in a Galaxy Tab A and a Nexus 9 but shows too tiny on a nexus 7. The problem is the background image of this view (i attached an image to show the problem)... so i tried to change the image background size but it doesn't lead to how the image shows... someone can tell me why?
Here the layout of view:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center|center_vertical|center_horizontal"
android:src="@drawable/cerchio_centro_chartpie" />
<TextView
android:id="@+id/centro_line1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="33dp"
android:text="TOTALE"
android:textColor="@color/title_gray"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/centro_line2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@+id/centro_line1"
android:layout_centerHorizontal="true"
android:layout_below="@+id/centro_line1"
android:layout_marginTop="5dp"
android:text="TextView"
android:textSize="16sp"
android:textStyle="bold" />
</RelativeLayout>
and here the result: