res/layout/subscription.xml
author Da Risk <da_risk@beem-project.com>
Wed, 31 Oct 2012 23:11:14 +0100
changeset 1005 4c7edc276676
parent 767 74a987c3efb5
child 1022 16040c6df950
permissions -rw-r--r--
Switch to Florian Shmauss maintained version of asmack. See doc/asmack-beem/README.txt for more information on how to build the asmack jar. The upstream asmack has a better implementation of XEP-0115 EntityCapabilities. So this commit remove the specific Beem implementation of this XEP and switch to the asmack one.

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent"
	android:orientation="vertical">
	<LinearLayout android:orientation="vertical"
		android:layout_width="fill_parent" android:layout_height="fill_parent"
		android:padding="10dip">

		<TextView android:layout_width="wrap_content"
			android:layout_height="wrap_content" android:autoLink="none"
			android:id="@+id/SubscriptionTitle" android:text="@string/SubscriptTitle"
			android:textStyle="bold" android:textColor="@color/white"
			android:textSize="18sp" android:layout_marginBottom="10dip" />

		<TextView android:layout_width="wrap_content"
			android:layout_height="fill_parent" android:autoLink="none"
			android:id="@+id/SubscriptionText" android:text="@string/SubscriptText"
			android:textColor="@color/white" android:textSize="14sp"
			android:layout_weight="1" android:layout_marginBottom="18dp"
			android:focusable="true"/>

		<LinearLayout android:orientation="horizontal"
			android:layout_width="fill_parent" android:layout_height="wrap_content">

			<Button android:id="@+id/SubscriptionAccept"
				android:layout_width="fill_parent" android:layout_height="fill_parent"
				android:layout_weight="1" android:text="@string/AcceptButton" />

			<Button android:id="@+id/SubscriptionRefuse"
				android:layout_width="fill_parent" android:layout_height="fill_parent"
				android:layout_weight="1" android:text="@string/RefuseButton" />
		</LinearLayout>
	</LinearLayout>
</ScrollView>