res/layout/login_anim.xml
author Da Risk <da_risk@beem-project.com>
Tue, 14 May 2013 18:24:25 +0200
changeset 1036 a1f3a20c87f8
parent 745 8d56b9de5a92
permissions -rw-r--r--
ContactList: Separate creation of ContactListAdapter and managment of the group list This is two separate things. getContactListAdapter is called in ContactListFragment.onActivityCreated() which is during a fragment transaction. Management of the group list calls FragmentPagerAdapter.notifyDataSetChanged() which repopulate the FragmentPagerAdapter and to do so calls FragmentManager.executePendingTransactions() in a recursive way and is not allowed (IllegalStateException).

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_height="fill_parent" android:layout_width="fill_parent"
	android:orientation="vertical">
	<ImageView android:id="@+id/loginanim_logo_anim" android:src="@drawable/beem_icon_launcher_color"
		android:layout_height="wrap_content" android:layout_width="wrap_content"
		android:layout_gravity="center_vertical|center_horizontal|center"
		android:layout_weight="1" />
	<TextView android:id="@+id/loginanim_status_text"
		android:layout_width="fill_parent" android:layout_height="wrap_content"
		android:textSize="20sp" android:gravity="center" android:textColor="@color/vert_manu"/>
	<Button android:id="@+id/loginanim_cancel_button"
		android:layout_height="wrap_content" android:layout_width="fill_parent"
		android:layout_gravity="bottom" android:text="@string/CancelButton" />
</LinearLayout>