0
Appeared an improper space in the android project... How can I solve?
<RelativeLayout
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"
tools:context="com.wbsotware.wesley.forecast.MainActivity">
<ImageView
android:layout_width="match_parent"
android:layout_height="500dp"
android:src="@drawable/bgverde"/>
</RelativeLayout>
This space will not be part of the image?
– ramaral
No... I want it to sit on top. In some screen resolutions it sits on top, in others it doesn’t.
– use3265498465
Place
android:scaleType="fitXY"
in your imageView and the magic will happen. If it works, you can add an answer to your question showing how you solved it ;)– itscorey
I believe this problem is related to the fact that the application has the upper Toolbar active in Styles.xml. If the @itscorey solution doesn’t work, post your Styles.xml, please.
– Amelco