Closed BackPackerDz closed 9 years ago
@SqualalaTeam have you changed anything else other than the theme, and does this occur when running the app on a real device? I assume the weird behaviour is the capitalisation?
@jamie-beardedhen I have not changed anything, and I use the theme "Theme.AppCompat.Light.DarkActionBar" and yes this happens on real devices
Can you post the layout XML that causes this issue?
<?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" xmlns:fontawesometext="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.beardedhen.androidbootstrap.BootstrapEditText
android:id="@+id/editPseudoSign"
android:layout_marginTop="20dp"
android:inputType="text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/nom_et_prenom"
bootstrapbutton:be_roundedCorners="false"
bootstrapbutton:be_state="primary"
android:ems="10" >
<requestFocus />
</com.beardedhen.androidbootstrap.BootstrapEditText>
<com.beardedhen.androidbootstrap.BootstrapEditText
android:id="@+id/editMdpSign"
android:inputType="textPassword"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/mot_de_passe"
bootstrapbutton:be_roundedCorners="false"
bootstrapbutton:be_state="primary"
android:ems="10" />
<com.beardedhen.androidbootstrap.BootstrapEditText
android:id="@+id/editMdpConfirmeSign"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="@string/confirme_mdp"
android:visibility="gone"
bootstrapbutton:be_roundedCorners="false"
bootstrapbutton:be_state="primary"
android:ems="10" />
<com.beardedhen.androidbootstrap.BootstrapEditText
android:id="@+id/editEmailSign"
android:inputType="textEmailAddress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/email"
bootstrapbutton:be_roundedCorners="false"
bootstrapbutton:be_state="primary"
android:ems="10" />
<ProgressBar
android:id="@+id/progressSign"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"
/>
<Button
android:id="@+id/btn_sign"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/inscription"
android:background="@drawable/btn_connexion_conf"
style="@style/ButtonText"/>
</LinearLayout>
Looks like this is a problem with the theme, not the library, use the textAllCaps attribute http://stackoverflow.com/questions/26958909/why-is-my-button-text-coerced-to-all-caps-on-lollipop
Sorry it's my fault, but I'm talking about the BootstrapEditText and not the button !
Hello, can anyone help me please ?
When I use holo theme I have this result with BootstrapEditText
And when I use Theme.AppCompat.Light.DarkActionBar, I have this strange result !