Question: My `EditText` configured as follows won't show the hint: 

```
<EditText
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:gravity="right"
    android:hint="The hint..."
    android:scrollHorizontally="true"
    android:singleLine="true" />

```

It works if I set `android:gravity="left"` or if I remove `android:scrollHorizontally` and `android:singleLine` attributes, which is not desirable. Any suggestions?

Answer: 
using `android:ellipsize="end"` fixed it for me
Weird bug !! (but Android has a lot of these weirdo bug)
Using android:ellipsize="end" resolves the obvious platform bug. Unfortunately, Xperias still misbehave :(

I found no other solution than to:

```
if (android.os.Build.MANUFACTURER.matches(".*[Ss]ony.*"))
      editText.setGravity(Gravity.LEFT);
else
      editText.setGravity(Gravity.CENTER);

```