Visual cleanup so everything looks nicely aligned in views

This commit is contained in:
TwistedUmbrella 2014-01-24 14:18:19 -05:00
parent 95c6a1cc18
commit 24a9927cca
2 changed files with 6 additions and 1 deletions

View File

@ -371,6 +371,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:layout_marginLeft="4dp"
android:text="Joystick" />
<LinearLayout
@ -408,6 +409,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:layout_marginLeft="4dp"
android:text="DPad Up" />
<LinearLayout
@ -444,6 +446,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginLeft="4dp"
android:ems="10"
android:text="DPad Down" />
@ -481,6 +484,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginLeft="4dp"
android:ems="10"
android:text="DPad Left" />
@ -518,6 +522,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginLeft="4dp"
android:ems="10"
android:text="DPad Right" />

View File

@ -209,7 +209,7 @@ public class InputModFragment extends Fragment {
ImageView r_button_icon = (ImageView) getView()
.findViewById(R.id.r_button_icon);
r_button_icon.setImageDrawable(getButtonImage(160, 64));
r_button_icon.setImageDrawable(getButtonImage(162, 64));
final TextView r_button_text = (TextView) getView()
.findViewById(R.id.r_button_key);
getKeyCode("r_button", r_button_text);