2013-05-20 4 views
-2

내 응용 프로그램 로그인 화면에서 다음과 같은 텍스트 대신에 기본 키보드를 다음 화살표로 바꿔야합니다. 이렇게하면 안드로이드에서 가능합니까? 누구든지이 질문에 답할 수 있습니다.키보드에서 기본 키보드의 다음 화살표를 사용자 정의 이름으로 변경하는 방법은 무엇입니까?

+0

검색하기 전에 질문을하기 때문에 이미 많은 질문이 있습니다. http://stackoverflow.com/questions/14100482/how-to-change-the-softkeyboard-enter-button-text-in-android –

+0

나는 이미 그 중 하나를 시도합니다. 하지만 키보드에서 그 화살표 대신 다음을 얻으실 때까지 – user2372490

+0

테스트 할 장치는 무엇입니까? 나는 모토로라 atrix 같은 일부 모토로라 장치에서 같은 문제가있어 –

답변

2

당신은 안드로이드를 사용할 수 있습니다 안드로이드 : 대해서는 imeOptions = "actionNext"아래

EditText 속성은 샘플 코드를입니다

  <EditText 
       android:id="@+id/edit_user" 
       android:layout_width="fill_parent" 
       android:layout_height="wrap_content" 
       android:layout_marginTop="5dp" 
       android:hint="@string/userprofile_email" 
       android:inputType="textEmailAddress" 
       android:imeActionLabel="@string/next" 
       android:imeOptions="actionNext" 
       /> 
+0

화살표가 변경되지 않았습니다. 다른 방법으로이 3 시간 동안 시도 할 수 없습니다. 다음 텍스트 – user2372490

+0

우리는 아이콘을 변경할 수는 없지만 "actionNext"라는 다른 imeOptions를 시도하고 확인하십시오. –

0

사용 안드로이드 : imeActionLabel = "YourText" 또는 : 대해서는 imeOptions는 = "actionGo는"당신의 EditText 뷰는 다음 이동 버튼이 나타납니다이 글고보기 키보드 클릭에로

<RelativeLayout 
     android:id="@+id/relative" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:layout_below="@+id/header" 
     android:background="@drawable/rounded_corner_bg" > 

     <EditText 
      android:id="@+id/userName" 
      android:layout_width="wrap_content" 
      android:layout_height="60dp" 
      android:layout_marginLeft="20dp" 
      android:background="@android:color/transparent" 
      android:ems="10" 
      android:hint="@string/Username" 
      android:inputType="textEmailAddress" > 

      <requestFocus /> 
     </EditText> 

     <View 
      android:id="@+id/lineView" 
      android:layout_width="match_parent" 
      android:layout_height="1dp" 
      android:layout_below="@+id/userName" 
      android:background="@color/lineColor" /> 

     <EditText 
      android:id="@+id/password" 
      android:layout_width="wrap_content" 
      android:layout_height="60dp" 
      android:layout_alignLeft="@+id/userName" 
      android:layout_below="@+id/lineView" 
      android:background="@android:color/transparent" 
      android:ems="10" 
      android:hint="@string/Password" 
      android:imeOptions="actionGo" 
      android:inputType="textPassword" 
      android:singleLine="true" /> 
    </RelativeLayout> 
+0

나는이 키보드를 사용해 본다. 표시되지 않음 이동 버튼 기타 옵션을 알고 계십니까 – user2372490

+0

위의 코드를 확인하십시오. – OMAK

+0

감사합니다. omak에게 감사합니다. – user2372490