mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 23:00:09 -05:00
Removed unnecessary layout containers
This commit is contained in:
parent
b9e0ec1ab4
commit
661ed08061
@ -4,13 +4,6 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="12dp"
|
||||
@ -34,6 +27,4 @@
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -24,11 +24,6 @@
|
||||
android:orientation="vertical"
|
||||
android:background="#ededed" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/identity_container"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<Button
|
||||
android:id="@+id/identity"
|
||||
android:layout_width="fill_parent"
|
||||
@ -37,8 +32,6 @@
|
||||
android:layout_marginLeft="6dip"
|
||||
android:layout_marginRight="6dip"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/to_wrapper"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -419,7 +419,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
|
||||
if (mAccount.getIdentities().size() == 1 &&
|
||||
Preferences.getPreferences(this).getAvailableAccounts().size() == 1) {
|
||||
findViewById(R.id.identity_container).setVisibility(View.GONE);
|
||||
mChooseIdentityButton.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
mToView = (MultiAutoCompleteTextView) findViewById(R.id.to);
|
||||
|
Loading…
Reference in New Issue
Block a user