-1
두 개의 서로 다른 텍스트가 단일 EditText에 나타나길 원합니다.하나의 EditText에 두 개의 텍스트를 표시하는 방법
나는
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:textSize="25dp"
android:editable="false"
android:textColor="@color/white"
android:text="+91"
android:layout_marginTop="20dp"
android:theme="@style/Regestration_edit_text"
android:id="@+id/rhs_country_code"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<EditText
android:textColorHint="@color/white"
android:textSize="25dp"
android:hint="Mobile Number"
android:layout_marginTop="20dp"
android:theme="@style/Regestration_edit_text"
android:id="@+id/rhs_mobile_number"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
이 사람이 나를 도울 수이 같은 시도?
(bg_line_edit_text)을 그릴 수있다. –
'editText.setText ("+ 91"+ mobileNumber); ' –
@MuhammadBabar –