button's text does not return to its original position after increase and decrease its size on HoneyComb
<p>The next code shows three buttons. You can increase and decrease the text size of one of those buttons , called 'main' button. The main button also has an image (compound drawable)</p>

<p>You'll note that the text position will change (Eg: increase the text to a big size, and then decrease it to its original size ). Also, you can see the text size changes int  logcat.
This behavior is reproduced in android 3.1 
This behavior is not reproduced in android 2.2 </p>

<p>Why is this happening?</p>

<p>the code:</p>

<pre><code>public class Acc extends Activity {
/**
 * main button
 */
Button b;
/*
 * the text size
 */
float textSize;
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    b = new Button(this);  //create main button
    b.setText("I'm main button"); //set its text
    b.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.icon, 0, 0); //add a drawable 
    textSize=14;//assign initial textsize
    b.setTextSize(textSize); //set it to the button's text size
    b.setHeight(200);

    LinearLayout layout = (LinearLayout) findViewById(R.id.main); //get the activity layout
    layout.addView(b); //add the main button to the layout

    addZoomInOutButtons(layout); //add two buttons to increase and decrease the main button's height and text size 
    Log.v("my log","FIRST TIME: text size:"+textSize);
}
/**
 * Create two buttons, to increase and decrease with and text size of main button
 * @param layout
 */
private void addZoomInOutButtons(LinearLayout layout){
    Button bzi = new Button(this);
    bzi.setText("zoom in");

    Button bzo = new Button(this);
    bzo.setText("zoom out");

    layout.addView(bzi);
    layout.addView(bzo);

    bzi.setOnClickListener(new OnClickListener(){

        @Override
        public void onClick(View v) {
            textSize+=10;
            b.setTextSize(textSize);
            Log.v("my log","text size:"+textSize);
        }

    });
    bzo.setOnClickListener(new OnClickListener(){

        @Override
        public void onClick(View v) {
            textSize-=10;
            b.setTextSize(textSize);
            Log.v("my log","text size:"+textSize);
        }

    });
}
</code></pre>

<p>}</p>

<p>also the manifest:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
</code></pre>

<p>
    </p>

<pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
    &lt;activity android:name=".Acc"
              android:label="@string/app_name"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;

&lt;/application&gt;
    &lt;uses-sdk android:minSdkVersion="3"  android:targetSdkVersion="8"/&gt;
</code></pre>

<p></p>
