UI improvements to the "select identity" button

This commit is contained in:
Jesse Vincent 2012-03-23 21:34:29 -04:00 committed by cketti
parent 365f8e71e0
commit 580f1639c3
2 changed files with 2 additions and 11 deletions

View file

@ -29,20 +29,11 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:layout_marginRight="6dip"
android:text="@string/send_as"
android:textColor="@android:color/primary_text_light"
android:textAppearance="?android:attr/textAppearanceMedium"/>
<Button
android:id="@+id/identity"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="left|center"
android:layout_marginLeft="6dip"
android:layout_marginRight="6dip"/>

View file

@ -1868,7 +1868,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
}
private void updateFrom() {
mChooseIdentityButton.setText(getIdentityDescription(mIdentity));
mChooseIdentityButton.setText(mIdentity.getEmail());
}
private void updateSignature() {