Hi! I have a RelativeLayout in wich i have two images. The problem is: the scale up. They are displayed way bigger than the are supposed to. Here is my layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gallery_batch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/batch_background">
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/icon_success"
android:id="@+id/view_batch_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:padding="5dp"
android:layout_gravity="center_vertical"/>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/text_bereits_geladen"
android:layout_toRightOf="@id/view_batch_icon"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dp"/>
Can anybody tell me what i am doing wrong here? Thanks!