Subversion Repository Public Repository

Nextrek

Diff Revisions 674 vs 675 for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/MapActivity.java

Diff revisions: vs.
  @@ -156,16 +156,16 @@
156 156 return false;
157 157 }
158 158 });
159 - // addressView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
160 - // @Override
161 - // public void onFocusChange(View v, boolean hasFocus) {
162 - // if (hasFocus) {
163 - // otherInfo.setVisibility(View.GONE);
164 - // } else {
165 - // otherInfo.setVisibility(View.VISIBLE);
166 - // }
167 - // }
168 - // });
159 + addressView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
160 + @Override
161 + public void onFocusChange(View v, boolean hasFocus) {
162 + if (hasFocus) {
163 + otherInfo.setVisibility(View.GONE);
164 + } else {
165 + otherInfo.setVisibility(View.VISIBLE);
166 + }
167 + }
168 + });
169 169
170 170
171 171 Bundle b;