In my Android app, I have a button for voting photos. When the user selects this button, the text on this button becomes “Thank you for your vote”, and when he sees the photo that he voted before, the text “you already voted for this photo” will appear on Button ... the problem is that it looks like this : http://i55.tinypic.com/t4z3vl.png
Can someone help me, can I pick up the text on the button?
Any idea is welcome. Thanks in advance.
In xml, I have this:
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/imagetitle" android:orientation="horizontal"> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Previous" android:id="@+id/previous" /> <Button android:layout_width="185dip" android:layout_height="wrap_content" android:text="Vote for this picture" android:id="@+id/vote" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Next" android:id="@+id/next" /> </LinearLayout>
source share