aa.JPG
그래프를 버튼으로 그리려고 합니다

예를 들면 버튼을 생성하고

초록색이 버튼 입니다

그리고 자바단에서 값을 가져와서

사이즈(width)를 동적으로 변경 시켜주고 싶은데
===============xml====================
  <Button android:id="@+id/month1"
    android:layout_width="300px"
    android:layout_height="45px"
    android:layout_marginTop="3pt"
    android:background="@drawable/graph_bar2"
    />
==================================
 month1 = (Button) findViewById(R.id.month1);
        month1.setText("30000");
        month1.setWidth(100);

setText는 먹어도
setWidth는 안먹히네요

동적으로 변경이 안되는건가요??

ImageButton은 setWidth가 없는것 같고,,

혹시 아신다면 답변 주시면 감사하겠습니다