[Android] The emulation overlay now sets the button positions based upon the locations chosen in the input overlay configuration settings. Documented the hell out of how the initialization of the Drawables works inside InputOverlay.java.

Also made the use of InputOverlayItem.java obsolete. So this is now removed.
This commit is contained in:
Lioncash
2013-10-25 20:34:38 -04:00
parent 88c797a9c0
commit c8cf71c913
4 changed files with 105 additions and 114 deletions

View File

@ -5,7 +5,7 @@
android:layout_height="fill_parent" >
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
android:id="@+id/buttonA"
android:id="@+id/button_a"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
@ -13,20 +13,20 @@
android:background="@drawable/button_a" />
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
android:id="@+id/buttonB"
android:id="@+id/button_b"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/buttonA"
android:layout_toRightOf="@+id/button_a"
android:background="@drawable/button_b" />
<org.dolphinemu.dolphinemu.settings.input.InputOverlayConfigButton
android:id="@+id/buttonStart"
android:id="@+id/button_start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_toRightOf="@+id/buttonB"
android:layout_toRightOf="@+id/button_b"
android:background="@drawable/button_start" />
</RelativeLayout>