merge
authorNikita Kozlov <nikita@beem-project.com>
Sat, 16 Jan 2010 21:10:23 +0100
changeset 827 032cd7e2c938
parent 826 8649e502be0e (current diff)
parent 639 af35b5109f17 (diff)
child 828 6089f3255c5f
child 831 af3a788344f9
merge
.classpath
AndroidManifest.xml
res/values-fr/strings.xml
--- a/AndroidManifest.xml	Sat Jan 16 21:05:08 2010 +0100
+++ b/AndroidManifest.xml	Sat Jan 16 21:10:23 2010 +0100
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 	package="com.beem.project.beem" android:versionCode="1"
-	android:versionName="0.1">
+	android:versionName="0.1.1">
 	<application android:label="@string/app_name"
 		android:icon="@drawable/beem_launcher_icon_silver" android:theme="@style/Theme.BEEM.Default"
 		android:debuggable="true" android:name="@string/app_name">
@@ -90,6 +90,6 @@
 	<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
 	<uses-permission android:name="com.beem.project.beem.BEEM_SERVICE"></uses-permission>
 	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
-	<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="6" />
+	<uses-sdk android:minSdkVersion="3"/>
 
 </manifest> 
--- a/default.properties	Sat Jan 16 21:05:08 2010 +0100
+++ b/default.properties	Sat Jan 16 21:10:23 2010 +0100
@@ -10,5 +10,5 @@
 # Indicates whether an apk should be generated for each density.
 split.density=false
 # Project target.
-target=android-5
+target=android-4
 apk-configurations=
--- a/res/anim/rotate_and_scale.xml	Sat Jan 16 21:05:08 2010 +0100
+++ b/res/anim/rotate_and_scale.xml	Sat Jan 16 21:10:23 2010 +0100
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <set xmlns:android="http://schemas.android.com/apk/res/android">
-    <scale android:fromXScale="0.5" android:toXScale="1.0"
-	android:fromYScale="0.5" android:toYScale="1.0"
+    <scale android:fromXScale="0.3" android:toXScale="0.3"
+	android:fromYScale="0.3" android:toYScale="0.3"
 	android:pivotX="50%" android:pivotY="50%" 
 	android:repeatMode="reverse" android:duration="8000"
 	android:repeatCount="infinite" />
--- a/res/layout/chat.xml	Sat Jan 16 21:05:08 2010 +0100
+++ b/res/layout/chat.xml	Sat Jan 16 21:10:23 2010 +0100
@@ -2,25 +2,26 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 	android:layout_width="fill_parent" android:layout_height="fill_parent"
 	android:orientation="vertical">
-	<RelativeLayout android:id="@+id/chat_header"
+	<LinearLayout android:id="@+id/chat_header"
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:orientation="horizontal" android:gravity="center_vertical"
 		android:background="#222222" android:padding="4px">
 		<ImageView android:id="@+id/chat_contact_status_icon"
 			android:adjustViewBounds="true" android:layout_width="wrap_content"
-			android:layout_height="wrap_content"
-			android:layout_centerVertical="true" />
-		<TextView android:id="@+id/chat_contact_name"
+			android:layout_height="wrap_content" android:gravity="center_vertical" />
+		<LinearLayout android:orientation="vertical"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:layout_toRightOf="@id/chat_contact_status_icon"
-			android:layout_marginLeft="15sp"
-			android:lines="1" android:singleLine="true" android:textSize="16sp"
-			android:textStyle="bold" android:textColor="#FFFFFF" />
-		<TextView android:id="@+id/chat_contact_status_msg"
-			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:layout_below="@id/chat_contact_name" android:layout_alignLeft="@id/chat_contact_name"
-			android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF"
-			android:textColorLink="#FFFFFF" />
-	</RelativeLayout>
+			android:paddingLeft="15sp">
+			<TextView android:id="@+id/chat_contact_name"
+				android:layout_width="fill_parent" android:layout_height="wrap_content"
+				android:lines="1" android:singleLine="true" android:textSize="16sp"
+				android:textStyle="bold" android:textColor="#FFFFFF" />
+			<TextView android:id="@+id/chat_contact_status_msg"
+				android:layout_width="fill_parent" android:layout_height="wrap_content"
+				android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF"
+				android:textColorLink="#FFFFFF" />
+		</LinearLayout>
+	</LinearLayout>
 	<View android:layout_width="fill_parent" android:layout_height="2dp"
 		android:fadingEdge="horizontal" android:background="#555555" />
 	<ListView android:id="@+id/chat_messages"
@@ -31,7 +32,7 @@
 	<LinearLayout android:layout_width="fill_parent"
 		android:layout_height="wrap_content" android:orientation="horizontal"
 		android:background="#222222" android:padding="8px">
-		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
+		<EditText android:id="@+id/chat_input" android:layout_width="wrap_content"
 			android:layout_height="fill_parent" android:layout_weight="1"
 			android:maxLines="5"
 			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
--- a/res/menu/edit_settings.xml	Sat Jan 16 21:05:08 2010 +0100
+++ b/res/menu/edit_settings.xml	Sat Jan 16 21:10:23 2010 +0100
@@ -4,7 +4,7 @@
 		android:icon="@drawable/ic_menu_invite"
 		android:title="@string/settings_menu_create_account" />
 	<item android:id="@+id/settings_menu_privacy_lists"
-		android:visible="true"
+		android:visible="false"
 		android:title="@string/settings_menu_privacy_lists"
 		android:icon="@drawable/ic_menu_blocked_user" />
 </menu>
--- a/res/values-fr/strings.xml	Sat Jan 16 21:05:08 2010 +0100
+++ b/res/values-fr/strings.xml	Sat Jan 16 21:10:23 2010 +0100
@@ -221,7 +221,7 @@
 	<string name="comments_xmpp_server">example.com</string>
 	<string name="settings_xmpp_port">Port</string>
 	<string name="comments_xmpp_port">Default: 5222</string>
-	<string name="settings_xmpp_use_tls">Utiliser SSL/TLS</string>
+	<string name="settings_xmpp_use_tls">SSL/TLS obligatoire</string>
 	<string name="settings_reco_delay">Délai de reconnexion</string>
 
 
--- a/src/com/beem/project/beem/ui/Subscription.java	Sat Jan 16 21:05:08 2010 +0100
+++ b/src/com/beem/project/beem/ui/Subscription.java	Sat Jan 16 21:10:23 2010 +0100
@@ -162,7 +162,7 @@
 		    break;
 		case R.id.SubscriptionRefuse:
 		    Toast.makeText(Subscription.this, getString(R.string.SubscriptRefused), Toast.LENGTH_SHORT).show();
-
+		    finish();
 		    break;
 		default:
 		    Toast.makeText(Subscription.this, getString(R.string.SubscriptError), Toast.LENGTH_SHORT).show();