In android studio I just inserted a ButtonView in a Relative layout. Although in the preview it looks good, when giving the play comes compressed:
code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.xxx.xxx.xxx"
android:orientation="vertical"
android:weightSum="1"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
>
<WebView
android:id="@+id/webV"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
</WebView>
<ImageButton
android:id="@+id/imageButton7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@mipmap/ic_engranaje" />
</RelativeLayout>