Permalink
Browse files

front: Cheat editor: Case insensitivity

  • Loading branch information...
1 parent 375c932 commit 3d54b6076c68b141318f55e86eba71c3c5cabbd3 @easyaspi314 easyaspi314 committed with fzurita Apr 8, 2016
@@ -13,7 +13,7 @@
<EditText
android:id="@+id/textCheatTitle"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/cheatEditor_hint_cheatTitle"
android:inputType="textNoSuggestions|text"
@@ -27,23 +27,21 @@
android:layout_margin="5dp"
android:gravity="top|start"
android:hint="@string/cheatEditor_hint_cheatNotes"
- android:lines="8"
- android:maxLines="10"
android:minLines="1"
android:scrollbars="vertical"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
android:id="@+id/textCheat"
android:layout_width="match_parent"
- android:layout_height="150dp"
+ android:layout_height="wrap_content"
+ android:minHeight="150dp"
android:layout_margin="5dp"
- android:digits="0123456789ABCDEF? \n"
+ android:digits="0123456789ABCDEFabcdef? \n"
android:gravity="top"
android:hint="@string/cheatEditor_hint_cheatData"
android:inputType="textCapCharacters"
- android:lines="8"
- android:maxLines="10"
+ android:textAllCaps="true"
android:minLines="1"
android:singleLine="false"
android:textAppearance="?android:attr/textAppearanceSmall"
@@ -52,16 +50,15 @@
<EditText
android:id="@+id/textOptions"
android:layout_width="match_parent"
- android:layout_height="150dp"
+ android:layout_height="wrap_content"
+ android:minHeight="150dp"
android:layout_margin="5dp"
android:gravity="top"
android:hint="@string/cheatEditor_hint_optionData"
- android:lines="8"
- android:maxLines="10"
android:minLines="1"
android:singleLine="false"
android:textAppearance="?android:attr/textAppearanceSmall"
android:typeface="monospace" />
</LinearLayout>
-</ScrollView>
+</ScrollView>
@@ -13,7 +13,7 @@
<EditText
android:id="@+id/textCheatTitle"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/cheatEditor_hint_cheatTitle"
android:inputType="textNoSuggestions|text"
@@ -44,9 +44,10 @@
android:layout_height="match_parent"
android:layout_margin="5dp"
android:layout_weight="2"
- android:digits="0123456789ABCDEF"
+ android:digits="0123456789ABCDEFabcdef"
android:hint="@string/cheatEditor_hint_cheatAddress"
android:inputType="textCapCharacters"
+ android:textAllCaps="true"
android:maxLength="8"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -57,9 +58,10 @@
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
- android:digits="0123456789ABCDEF"
+ android:digits="0123456789ABCDEFabcdef"
android:hint="@string/cheatEditor_hint_value"
android:inputType="textCapCharacters"
+ android:textAllCaps="true"
android:maxLength="4"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -98,4 +100,4 @@
</LinearLayout>
</LinearLayout>
-</ScrollView>
+</ScrollView>
@@ -12,9 +12,10 @@
android:layout_height="match_parent"
android:layout_margin="5dp"
android:layout_weight="2"
- android:digits="0123456789ABCDEF"
+ android:digits="0123456789ABCDEFabcdef"
android:hint="@string/cheatEditor_hint_cheatAddress"
android:inputType="textCapCharacters"
+ android:textAllCaps="true"
android:maxLength="8"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -25,9 +26,10 @@
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="1"
- android:digits="0123456789ABCDEF"
+ android:digits="0123456789ABCDEFabcdef"
android:hint="@string/cheatEditor_hint_value"
android:inputType="textCapCharacters"
+ android:textAllCaps="true"
android:maxLength="4"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -40,4 +42,4 @@
android:contentDescription="@string/cheatEditor_remove_option"
android:src="@android:drawable/ic_menu_close_clear_cancel" />
-</LinearLayout>
+</LinearLayout>
@@ -12,9 +12,10 @@
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_weight="2"
- android:digits="0123456789ABCDEF"
+ android:digits="0123456789ABCDEFabcdef"
android:hint="@string/cheatEditor_hint_value"
android:inputType="textCapCharacters"
+ android:textAllCaps="true"
android:maxLength="4"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -38,4 +39,4 @@
android:contentDescription="@string/cheatEditor_remove_option"
android:src="@android:drawable/ic_menu_close_clear_cancel" />
-</LinearLayout>
+</LinearLayout>

0 comments on commit 3d54b60

Please sign in to comment.