<Button
android:id="@+id/btnload"
android:background="@drawable/btnback"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
<Button
android:id="@+id/btnload"
android:background="@drawable/btnloadwallpaper"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
/>
because you're making the width math_parent while it should be 0dp because you are use weight.