res/layout/chat.xml
author Vincent V. <marseille@beem-project.com>
Thu, 16 Aug 2012 11:52:52 +0200
changeset 949 6652d425ccca
parent 947 3c5724d30887
permissions -rw-r--r--
Bug resolve on the status update
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
500
4da77df8f950 Intégration de l´activité Chat à la place de l´activité SendIM
Jean-Manuel ¨dasilvj¨ Da Silva
parents: 493
diff changeset
     3
	android:layout_width="fill_parent" android:layout_height="fill_parent"
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     4
	android:orientation="vertical">
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
     5
	<LinearLayout android:id="@+id/chat_header"
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
     6
		android:layout_width="fill_parent" android:layout_height="wrap_content"
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
     7
		android:orientation="horizontal" android:gravity="center_vertical"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 904
diff changeset
     8
		android:background="#222222" android:padding="4dp">
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
     9
		<ImageView android:id="@+id/chat_contact_status_icon"
904
c067ee9a604c Lot of modification.
"Vincent Veronis"
parents: 819
diff changeset
    10
			android:layout_width="24dip"
c067ee9a604c Lot of modification.
"Vincent Veronis"
parents: 819
diff changeset
    11
			android:layout_height="24dip"
819
4b36a3c452e6 Use a common ImageView for avatar and status
Da Risk <darisk972@gmail.com>
parents: 792
diff changeset
    12
			/>
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    13
		<LinearLayout android:orientation="vertical"
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
    14
			android:layout_width="fill_parent" android:layout_height="wrap_content"
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    15
			android:paddingLeft="15sp">
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    16
			<TextView android:id="@+id/chat_contact_name"
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    17
				android:layout_width="fill_parent" android:layout_height="wrap_content"
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    18
				android:lines="1" android:singleLine="true" android:textSize="16sp"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    19
				android:textStyle="bold" android:textColor="#FFFFFF"
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    20
				android:focusable="true"/>
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    21
			<TextView android:id="@+id/chat_contact_status_msg"
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    22
				android:layout_width="fill_parent" android:layout_height="wrap_content"
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    23
				android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    24
				android:textColorLink="#FFFFFF"
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    25
				android:focusable="true"/>
704
e310d3275d5d Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents: 638
diff changeset
    26
			<TextView android:id="@+id/chat_contact_chat_state"
e310d3275d5d Finish reception of Chat State message.
Da Risk <darisk972@gmail.com>
parents: 638
diff changeset
    27
				android:layout_width="fill_parent" android:layout_height="wrap_content"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    28
				android:textStyle="italic" android:textSize="12sp"
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    29
				android:focusable="true"/>
638
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    30
		</LinearLayout>
f1d6e2fa672f hide of privacy list button in settings for the release
Nikita Kozlov <nikita@beem-project.com>
parents: 634
diff changeset
    31
	</LinearLayout>
493
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    32
	<View android:layout_width="fill_parent" android:layout_height="2dp"
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    33
		android:fadingEdge="horizontal" android:background="#555555" />
56af5554a081 Save of the work on activity Chat.
dasilvj
parents: 489
diff changeset
    34
	<ListView android:id="@+id/chat_messages"
763
e6a235546a90 Add a menu to change status in contact list.
Da Risk <darisk972@gmail.com>
parents: 752
diff changeset
    35
		android:layout_width="fill_parent" android:layout_height="0dip"
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    36
		android:layout_weight="1" android:transcriptMode="normal"
764
3d6983b46a03 Add filtering capability on contact list.
Da Risk <darisk972@gmail.com>
parents: 763
diff changeset
    37
		android:stackFromBottom="true"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 904
diff changeset
    38
		android:fadingEdge="none" android:padding="4dp"
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    39
		android:fastScrollEnabled="true" android:smoothScrollbar="false"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 763
diff changeset
    40
		android:focusable="true"/>
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    41
	<LinearLayout android:layout_width="fill_parent"
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    42
		android:layout_height="wrap_content" android:orientation="horizontal"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 904
diff changeset
    43
		android:background="#222222" android:padding="8dp">
763
e6a235546a90 Add a menu to change status in contact list.
Da Risk <darisk972@gmail.com>
parents: 752
diff changeset
    44
		<EditText android:id="@+id/chat_input" android:layout_width="0dip"
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    45
			android:layout_height="fill_parent" android:layout_weight="1"
537
f9d7d3876e58 Le chat devrait etre plus utilisable
Da Risk <darisk972@gmail.com>
parents: 526
diff changeset
    46
			android:maxLines="5"
f9d7d3876e58 Le chat devrait etre plus utilisable
Da Risk <darisk972@gmail.com>
parents: 526
diff changeset
    47
			android:inputType="textShortMessage|textAutoCorrect|textMultiLine"
517
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    48
			android:imeOptions="actionSend" android:cursorVisible="true"
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    49
			android:hint="@string/chat_input_default_value" />
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    50
		<Button android:id="@+id/chat_send_message"
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    51
			android:layout_width="wrap_content" android:layout_height="fill_parent"
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    52
			android:text="@string/chat_send_message" />
fd6c52c23165 Ajout du bouton "Envoyer" dans l'activite Chat.
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    53
	</LinearLayout>
480
eb6f1fbea903 Premier jet de l'activite chat, devant remplacer par la suite SendIM.
dasilvj
parents:
diff changeset
    54
</LinearLayout>