Reglages de l'affichage pour la ContactList
authorJean-Manuel Da Silva <dasilvj@gmail.com>
Thu, 12 Nov 2009 03:11:22 +0100
changeset 507 71cf79d83c71
parent 506 8e33a89c21a3
child 508 7d8da3df2907
Reglages de l'affichage pour la ContactList
res/layout/contactlist.xml
res/layout/contactlist_group.xml
res/layout/contactlistcontact.xml
res/values-fr/strings.xml
--- a/res/layout/contactlist.xml	Thu Nov 12 02:26:03 2009 +0100
+++ b/res/layout/contactlist.xml	Thu Nov 12 03:11:22 2009 +0100
@@ -2,26 +2,16 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 	android:layout_width="fill_parent" android:layout_height="fill_parent"
 	android:orientation="vertical">
-
 	<Gallery xmlns:android="http://schemas.android.com/apk/res/android"
-		android:id="@+id/contactlist_banner"
-		android:layout_width="fill_parent"
-		android:layout_height="42px"
-		android:spacing="42px"
-		android:unselectedAlpha="0.4"
-		android:background="#222222" />
-		
-	<View android:layout_width="fill_parent"
-		android:layout_height="2dp"
-		android:fadingEdge="horizontal"
-		android:background="#555555" />
-
+		android:id="@+id/contactlist_banner" android:layout_width="fill_parent"
+		android:layout_height="42px" android:spacing="42px"
+		android:unselectedAlpha="0.4" android:background="#222222" />
+	<View android:layout_width="fill_parent" android:layout_height="2dp"
+		android:fadingEdge="horizontal" android:background="#555555" />
 	<LinearLayout android:layout_width="fill_parent"
-		android:layout_height="fill_parent"
-		android:orientation="horizontal"
+		android:layout_height="fill_parent" android:orientation="horizontal"
 		android:padding="2px">
-		<ListView android:id="@+id/contactlist"
-			android:layout_width="fill_parent"
+		<ListView android:id="@+id/contactlist" android:layout_width="fill_parent"
 			android:layout_height="fill_parent" />
 	</LinearLayout>
 
--- a/res/layout/contactlist_group.xml	Thu Nov 12 02:26:03 2009 +0100
+++ b/res/layout/contactlist_group.xml	Thu Nov 12 03:11:22 2009 +0100
@@ -1,4 +1,5 @@
 
 <TextView xmlns:android="http://schemas.android.com/apk/res/android"
 	android:textColor="@color/white" android:textColorHighlight="@color/red"
-	android:typeface="normal" android:textStyle="bold" android:id="@+id/contactlist_group"></TextView>
\ No newline at end of file
+	android:textSize="18sp" android:typeface="normal" android:textStyle="bold"
+	android:id="@+id/contactlist_group"></TextView>
\ No newline at end of file
--- a/res/layout/contactlistcontact.xml	Thu Nov 12 02:26:03 2009 +0100
+++ b/res/layout/contactlistcontact.xml	Thu Nov 12 03:11:22 2009 +0100
@@ -2,8 +2,8 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 	android:orientation="horizontal" android:layout_width="fill_parent"
 	android:layout_height="wrap_content" android:paddingLeft="10px"
-	android:paddingRight="10px" android:paddingTop="4px"
-	android:paddingBottom="4px" android:gravity="center_vertical">
+	android:paddingRight="10px" android:paddingTop="8dip"
+	android:paddingBottom="8dip" android:gravity="center_vertical">
 	<ImageView android:id="@+id/contactliststatus"
 		android:adjustViewBounds="true" android:layout_width="wrap_content"
 		android:layout_height="wrap_content" android:gravity="center_vertical" />
@@ -14,12 +14,12 @@
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:paddingLeft="16px" android:singleLine="true"
 			android:maxLines="1" android:textColor="@color/white"
-			android:textSize="14px" android:textStyle="bold" />
+			android:textSize="18sp" android:textStyle="bold" />
 		<TextView android:id="@+id/contactlistmsgperso"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:paddingLeft="16px" android:singleLine="true"
 			android:maxLines="1" android:linksClickable="false" android:autoLink="all"
-			android:scrollHorizontally="true"
-			android:textColorLink="@color/white" android:textSize="12px" />
+			android:scrollHorizontally="true" android:textColorLink="@color/white"
+			android:textSize="12px" />
 	</LinearLayout>
 </LinearLayout>
--- a/res/values-fr/strings.xml	Thu Nov 12 02:26:03 2009 +0100
+++ b/res/values-fr/strings.xml	Thu Nov 12 03:11:22 2009 +0100
@@ -70,7 +70,7 @@
 	<string name="ChangeStatusActTitle">Beem - Changer mon statut</string>
 
 	<string name="ChangeStatusType">Mon statut</string>	
-	<string name="ChangeStatusText">Mon message personnel</string>
+	<string name="ChangeStatusMessage">Mon message personnel</string>
 	<string name="MenuAddContact">Ajouter un nouveau contact</string>
 	<string name="MenuAccountAbout">Beem Project</string>
 	<string name="MenuAccountCreate">Créer un compte</string>