Skip to content

Commit

Permalink
Updated Uri and HTML encoding/decoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Nov 30, 2018
1 parent 74aa27f commit f2d19a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Binary file modified release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/java/com/liambeckman/removemywaste/materials.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public void onResponse(String response) {
}
// Display the repspose string.
//mTextView.setText(response);
//Log.d("MyApp", "response: " + response);
mTextView.setText(response);
Log.d("MyApp", "response: " + response);
mTextView.setText(Html.fromHtml(response));
//materials[i].setText(responseArray[i*3]);

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected void onCreate(Bundle savedInstanceState) {

doMySearch("");

getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
//getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);

EditText edit_txt = (EditText) findViewById(R.id.editText1);
mButton = (Button)findViewById(R.id.button1);
Expand All @@ -49,7 +49,7 @@ public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
if (actionId == EditorInfo.IME_ACTION_DONE) {
mButton.performClick();

hideKeyboard(v);
//hideKeyboard(v);
return true;
}
return false;
Expand Down
1 change: 0 additions & 1 deletion src/main/res/layout/activity_search_material.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
android:layout_marginEnd="2dp"
android:layout_marginRight="2dp"
android:autofillHints="Search"
android:inputType="textPersonName"
app:layout_constraintEnd_toStartOf="@+id/button1"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView">
Expand Down

0 comments on commit f2d19a8

Please sign in to comment.