Formatting issue with Button having singleLine=true

Below is an xml layout that displays a Button with the label "Record Number", and is set to display on a single line (android:singleLine="true").

The button was generated as a preview in Android Studio.

<Button
    android:id="@+id/left"
    android:layout_width="100dp"
    android:layout_height="100dp"
    android:text="Too Long"
    android:textSize="20sp"
    android:textColor="#FF000000"
    android:layout_alignParentLeft="true"
    android:layout_centerVertical="true"
    android:singleLine="true"/>    

enter image description here

When I do something similar in my production app, the text centers but there is no padding or ellipses, it just gets pushed to the borders and eventually cropped on both sides.

I'm setting the single line from code with _btnDropDown.SetSingleLine(true);

This was taken from screen shot on a tablet:

enter image description here

Are there any settings that can help give the results from the first button, so that padding is retained and ellipses are shown, and the left-hand text doesn't push off out of view?