res/layout/changestatus.xml
author Da Risk <da_risk@beem-project.com>
Wed, 27 Feb 2013 10:27:32 +0100
changeset 1023 d9a3b8cf456e
parent 1022 16040c6df950
permissions -rw-r--r--
Bump version. Firs release candidate of 0.1.8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
110
f9be2a11c4c1 Ajout de l'activité changement de status
Philippe Lago <lago_p@epitech.net>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
     2
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
725
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
     3
	android:layout_width="fill_parent" android:layout_height="wrap_content"
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
     4
	android:orientation="vertical">
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
     5
	<RelativeLayout android:orientation="vertical"
1022
16040c6df950 Correct some lint errors
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
     6
		android:layout_width="fill_parent" android:layout_height="wrap_content"
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
     7
		android:padding="10dip">
870
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
     8
		<LinearLayout android:id="@+id/avatar_panel"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
     9
		    android:orientation="vertical"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    10
		    android:gravity="center"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    11
		    android:layout_alignParentTop="true"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    12
		    android:layout_width="fill_parent" android:layout_height="fill_parent" >
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    13
		    <TextView android:text="@string/my_avatar" style="@style/Label"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    14
			android:layout_width="wrap_content" android:layout_height="wrap_content" />
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    15
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    16
		    <ImageButton android:id="@+id/avatarButton"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    17
			android:layout_width="120dip" android:layout_height="120dip"
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    18
			android:scaleType="fitCenter" />
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    19
		</LinearLayout>
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    20
		<TextView android:id="@+id/ChangeStatusTypeLabel"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    21
			android:layout_width="fill_parent" android:layout_height="wrap_content"
870
d23d8ad3b9ba Add a basic way to publish avatar.
Da Risk <darisk972@gmail.com>
parents: 767
diff changeset
    22
			android:layout_below="@id/avatar_panel"
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    23
			android:text="@string/ChangeStatusType" style="@style/Label" />
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    24
		<Spinner android:id="@+id/ChangeStatusSpinner"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    25
			android:layout_width="fill_parent" android:layout_height="wrap_content"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 725
diff changeset
    26
			android:drawSelectorOnTop="true" android:layout_below="@id/ChangeStatusTypeLabel"
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 725
diff changeset
    27
			android:contentDescription="@string/ChangeStatusType"/>
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    28
		<TextView android:id="@+id/ChangeStatusMessageLabel"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    29
			android:layout_width="fill_parent" android:layout_height="wrap_content"
725
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    30
			android:layout_below="@id/ChangeStatusSpinner"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    31
			style="@style/Label"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    32
			android:selectAllOnFocus="true"
767
74a987c3efb5 Add properties needed for accessibility.
Nolan Darilek <nolan@thewordnerd.info>
parents: 725
diff changeset
    33
			android:focusable="true"
1022
16040c6df950 Correct some lint errors
Da Risk <da_risk@beem-project.com>
parents: 952
diff changeset
    34
			android:text="@string/ChangeStatusMessage"
725
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    35
			/>
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    36
		<EditText android:id="@+id/ChangeStatusMessage"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    37
			android:inputType="textShortMessage|textAutoCorrect"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    38
			android:imeOptions="actionDone" android:layout_width="fill_parent"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    39
			android:layout_height="wrap_content" android:layout_below="@id/ChangeStatusMessageLabel"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    40
			android:layout_marginBottom="18dp" />
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    41
		<LinearLayout android:id="@+id/ChangeStatusButtons"
725
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    42
			android:layout_height="wrap_content" android:layout_width="fill_parent"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    43
			android:layout_below="@id/ChangeStatusMessage"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    44
			android:orientation="horizontal">
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    45
			<Button android:id="@+id/ChangeStatusOk"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    46
				android:layout_width="fill_parent" android:layout_height="wrap_content"
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    47
				android:layout_weight="1"
952
0867bf998775 doesn't force color to handle correctly devices with dark button background.
Nikita Kozlov <nikita@elyzion.net>
parents: 870
diff changeset
    48
				android:text="@string/UpdateButton" />
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    49
			<Button android:id="@+id/ChangeStatusClear"
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    50
				android:layout_width="fill_parent" android:layout_height="wrap_content"
725
559845cadddb Disable auto activation of the on screen keyboard in ChangeStatus activity
Da Risk <darisk972@gmail.com>
parents: 579
diff changeset
    51
				android:layout_weight="1"
952
0867bf998775 doesn't force color to handle correctly devices with dark button background.
Nikita Kozlov <nikita@elyzion.net>
parents: 870
diff changeset
    52
				android:text="@string/ClearButton" />
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    53
		</LinearLayout>
579
9c08b0277c58 adding a button to return to the contact list
nikita@nikita-laptop
parents: 506
diff changeset
    54
		<Button android:id="@+id/OpenContactList" android:layout_width="fill_parent"
9c08b0277c58 adding a button to return to the contact list
nikita@nikita-laptop
parents: 506
diff changeset
    55
			android:layout_height="wrap_content" android:text="@string/OpenContactList"
952
0867bf998775 doesn't force color to handle correctly devices with dark button background.
Nikita Kozlov <nikita@elyzion.net>
parents: 870
diff changeset
    56
			android:layout_below="@+id/ChangeStatusButtons" />
506
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    57
	</RelativeLayout>
8e33a89c21a3 Homogeneisation de l'UI et correction de certains bugs d'affichage
Jean-Manuel Da Silva <dasilvj@gmail.com>
parents: 500
diff changeset
    58
</ScrollView>