title: Android Nexus S EditText settings ignored (2.3.4)
body: <p>I hadn't seen this issue until after the 2.3.4 update for the Nexus S phone.</p>
  
  <p>I have a very simple application, with a main activity that loads on start of the application.</p>
  
  <p>This main activity has a LinearLayout consisting of some TextViews, and EditText, a couple Spinners, and a Button.</p>
  
  <p>I am now having an issue with the input to the EditText. It is supposed to come up with a soft keyboard with the phone input type. Instead it comes up with the standard alpha-numeric soft keyboard and once you start typing input, it passes this to the Google Search application, and does not fill in the EditText at all.</p>
  
  <p>If I go to my settings activity and navigate back, the EditText functions properly.</p>
  
  <p>I can't for the life of me figure out what is going wrong here, and am on the verge of declaring this an issue with the 2.3.4 update for the phone.</p>
  
  <p>Activity code:</p>
  
  <pre><code>public class MainActivity extends Activity {
  
  private boolean unregistered = false;
  
  private Spinner location, time;
  private Button submit;
  
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
  
      setContentView(R.layout.main);
  
      EditText pin = (EditText) findViewById(R.id.pfp_pin);
  
      pin.setOnKeyListener(new OnKeyListener() {
          public boolean onKey(View v, int keyCode, KeyEvent event) {
              if(debugMode) System.out.println("In onKeyListener for PIN");
  
              // If the event is a key-down event on the "enter" button
              if ((event.getAction() == KeyEvent.ACTION_DOWN) &amp;&amp;
                  (keyCode == KeyEvent.KEYCODE_ENTER)) {
                return true;
              }
              return false;
          }
  
          public int getInputType() {
              return InputType.TYPE_CLASS_PHONE;
          }
  
      });   
  
      pin.setTransformationMethod(new PasswordTransformationMethod());
      pin.requestFocus();
  
      location = (Spinner) findViewById(R.id.pfp_location);
  
      ArrayAdapter&lt;CharSequence&gt; loc_adapter = ArrayAdapter.createFromResource(
              this, R.array.pfp_locs, android.R.layout.simple_spinner_item);
      loc_adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
      location.setAdapter(loc_adapter);
      location.setOnItemSelectedListener(new LocOnItemSelectedListener());
  
      time = (Spinner) findViewById(R.id.pfp_time);
  
      ArrayAdapter&lt;CharSequence&gt; time_adapter = ArrayAdapter.createFromResource(
              this, R.array.pfp_times, android.R.layout.simple_spinner_item);
      time_adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
      time.setAdapter(time_adapter);
      time.setOnItemSelectedListener(new TimeOnItemSelectedListener());
  
      submit = (Button) findViewById(R.id.pfp_submit);
      submit.setOnClickListener(new SubmitOnClickListener()); 
  }
  </code></pre>
  
  <p>In there I tried forcing focus, password masking, and the phone input type as first measures to see if I could fix it. These don't change any behavior and could be ignored as they were not there when the issue began.</p>
  
  <p>Layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"&gt;
  
      &lt;ImageView  
              android:maxHeight="88sp"
              android:scaleType="centerInside"
              android:adjustViewBounds="true"
              android:src="@drawable/header" android:layout_gravity="center" android:layout_height="wrap_content" android:layout_width="wrap_content"/&gt;
  
  
      &lt;TextView android:id="@+id/pfp_pin_title" 
          android:text="@string/pfp_pin_title" 
          android:paddingLeft="14dip" 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
      &lt;EditText android:id="@+id/pfp_pin" 
          android:text="" 
          android:password="true" 
          android:singleLine="true"
          android:inputType="phone"
          android:linksClickable="false"
          android:imeOptions="actionDone"
          android:autoLink="none"     
          android:nextFocusUp="@+id/pfp_time"
          android:layout_gravity="top" 
          android:layout_width="fill_parent" android:layout_height="wrap_content"&gt;&lt;/EditText&gt;
  
  &lt;TextView android:id="@+id/pfp_loc_label" 
      android:text="@string/pfp_loc_label" 
      android:paddingLeft="14dip" 
      android:layout_width="fill_parent" 
      android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
  
  &lt;Spinner android:layout_height="wrap_content" 
      android:layout_width="fill_parent" 
      android:id="@+id/pfp_location" 
      android:prompt="@string/pfp_location_s" 
      android:layout_marginBottom="5dp"&gt;&lt;/Spinner&gt;
  &lt;TextView android:id="@+id/pbp_time_label" 
      android:layout_height="wrap_content" 
      android:text="@string/pfp_time_label" 
      android:paddingLeft="14dip" 
      android:layout_width="fill_parent"&gt;&lt;/TextView&gt;
  &lt;Spinner android:layout_height="wrap_content" 
      android:layout_width="fill_parent" 
      android:id="@+id/pfp_time" 
      android:prompt="@string/pfp_time_s" 
      android:layout_marginBottom="25dp"&gt;&lt;/Spinner&gt;
  &lt;Button android:layout_width="wrap_content" 
      android:id="@+id/pfp_submit" 
      android:text="@string/pfp_submit_s" 
      android:layout_height="65dp" 
      android:nextFocusDown="@+id/pfp_pin"
      android:layout_gravity="center_horizontal"&gt;&lt;/Button&gt;
  
  &lt;ImageView  
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content" 
              android:layout_gravity="center"
              android:maxHeight="50sp"
              android:scaleType="centerInside"
              android:adjustViewBounds="true"
              android:src="@drawable/powered_by_reversed" /&gt;
  </code></pre>
  
  <p></p>