-<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/drawer_layout"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
- <FrameLayout
- android:id="@+id/content_frame"
+ <android.support.v4.widget.DrawerLayout
+ android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
- </FrameLayout>
- <LinearLayout
- android:id="@+id/left"
- android:layout_width="300dp"
- android:layout_height="match_parent"
- android:layout_gravity="start"
- android:background="@color/background"
- android:orientation="vertical"
- android:padding="10dip" >
-
- <ScrollView
+ <FrameLayout
+ android:id="@+id/content_frame"
android:layout_width="match_parent"
- android:layout_height="wrap_content" >
-
- <LinearLayout
- android:layout_width="300dp"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
-
- <Button
- android:id="@+id/connexion"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/buttonshapesred"
- android:gravity="center"
- android:padding="10dip"
- android:text="@string/login_or_register"
- android:textColor="#ffffff"
- android:textSize="25sp" />
+ android:layout_height="match_parent" >
+ </FrameLayout>
+
+ <LinearLayout
+ android:id="@+id/left"
+ android:layout_width="300dp"
+ android:layout_height="match_parent"
+ android:layout_gravity="start"
+ android:background="@color/background"
+ android:orientation="vertical"
+ android:padding="10dip" >
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
<LinearLayout
- android:id="@+id/button_mon_compte"
- android:layout_width="fill_parent"
+ android:layout_width="300dp"
android:layout_height="wrap_content"
- android:orientation="horizontal" >
-
- <ImageView
- android:id="@+id/avatar"
- android:layout_width="60dp"
- android:layout_height="60dp"
- android:layout_marginRight="6dip"
- android:contentDescription="@string/description_image_project"
- android:height="152dp"
- android:scaleType="fitXY"
- android:src="@drawable/male_user_icon" />
-
- <RelativeLayout
+ android:orientation="vertical" >
+
+ <Button
+ android:id="@+id/connexion"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/buttonshapesred"
+ android:gravity="center"
+ android:padding="10dip"
+ android:text="@string/login_or_register"
+ android:textColor="#ffffff"
+ android:textSize="25sp" />
+
+ <LinearLayout
+ android:id="@+id/button_mon_compte"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:background="@drawable/buttonshapes" >
+ android:orientation="horizontal" >
- <LinearLayout
- android:layout_width="wrap_content"
+ <ImageView
+ android:id="@+id/avatar"
+ android:layout_width="60dp"
+ android:layout_height="60dp"
+ android:layout_marginRight="6dip"
+ android:contentDescription="@string/description_image_project"
+ android:height="152dp"
+ android:scaleType="fitXY"
+ android:src="@drawable/male_user_icon" />
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="6dip" >
+ android:background="@drawable/buttonshapes" >
- <TextView
- android:id="@+id/utilisateur_name"
- android:layout_width="fill_parent"
+ <LinearLayout
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textColor="@android:color/black"
- android:textSize="20sp"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/utilisateur_ville"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:paddingBottom="5dip"
- android:textColor="@android:color/black"
- android:textSize="15sp" />
- </LinearLayout>
-
- <ImageView
- android:id="@+id/launchprofile"
- android:layout_width="20dp"
- android:layout_height="40dp"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:background="@drawable/arrow"
- android:contentDescription="@string/description_image_project"
- android:gravity="right" />
- </RelativeLayout>
+ android:orientation="vertical"
+ android:padding="6dip" >
+
+ <TextView
+ android:id="@+id/utilisateur_name"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textColor="@android:color/black"
+ android:textSize="20sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/utilisateur_ville"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingBottom="5dip"
+ android:textColor="@android:color/black"
+ android:textSize="15sp" />
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/launchprofile"
+ android:layout_width="20dp"
+ android:layout_height="40dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="@drawable/arrow"
+ android:contentDescription="@string/description_image_project"
+ android:gravity="right" />
+ </RelativeLayout>
+ </LinearLayout>
+
+ <adullact.publicrowdfunding.views.SimpleLine
+ android:layout_width="wrap_content"
+ android:layout_height="3dp"
+ android:layout_marginTop="20dp" />
+
+ <Button
+ android:id="@+id/button_tout_les_projet"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@drawable/ic_menu_home"
+ android:text="@string/all_projects" />
+
+ <Button
+ android:id="@+id/button_map_projet"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@android:drawable/ic_menu_mapmode"
+ android:text="@string/map_projects" />
+
+ <adullact.publicrowdfunding.views.SimpleLine
+ android:id="@+id/separator_1"
+ android:layout_width="wrap_content"
+ android:layout_height="3dp"
+ android:layout_marginTop="10dp" />
+
+ <Button
+ android:id="@+id/button_valider_projet"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@drawable/ic_menu_mark"
+ android:text="@string/validate_projects" />
+
+ <Button
+ android:id="@+id/button_soumettre_projet"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@android:drawable/ic_menu_add"
+ android:text="@string/add_project" />
+
+ <adullact.publicrowdfunding.views.SimpleLine
+ android:id="@+id/separator_2"
+ android:layout_width="wrap_content"
+ android:layout_height="3dp"
+ android:layout_marginTop="10dp" />
+
+ <Button
+ android:id="@+id/button_preferences"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@android:drawable/ic_menu_preferences"
+ android:text="@string/preferences" />
+
+ <adullact.publicrowdfunding.views.SimpleLine
+ android:id="@+id/separator_3"
+ android:layout_width="wrap_content"
+ android:layout_height="3dp"
+ android:layout_marginTop="10dp" />
+
+ <Button
+ android:id="@+id/button_changeAccount"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@android:drawable/ic_menu_directions"
+ android:text="@string/change_account" />
+
+ <Button
+ android:id="@+id/button_deconnexion"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:background="@null"
+ android:contentDescription="@string/description_image_button"
+ android:drawableLeft="@android:drawable/ic_menu_close_clear_cancel"
+ android:text="@string/logout" />
</LinearLayout>
+ </ScrollView>
+ </LinearLayout>
+ </android.support.v4.widget.DrawerLayout>
- <adullact.publicrowdfunding.views.SimpleLine
- android:layout_width="wrap_content"
- android:layout_height="3dp"
- android:layout_marginTop="20dp" />
+ <FrameLayout
+ android:id="@+id/big_filter"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone"
+ android:background="@drawable/filter" >
+ </FrameLayout>
- <Button
- android:id="@+id/button_tout_les_projet"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@drawable/ic_menu_home"
- android:text="Tout les projets" />
-
- <Button
- android:id="@+id/button_map_projet"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@android:drawable/ic_menu_mapmode"
- android:text="Carte des projets" />
-
- <adullact.publicrowdfunding.views.SimpleLine
- android:id="@+id/separator_1"
- android:layout_width="wrap_content"
- android:layout_height="3dp"
- android:layout_marginTop="10dp" />
-
- <Button
- android:id="@+id/button_valider_projet"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@drawable/ic_menu_mark"
- android:text="Valider des projets" />
-
- <Button
- android:id="@+id/button_soumettre_projet"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@android:drawable/ic_menu_add"
- android:text="Ajouter un projet" />
-
- <adullact.publicrowdfunding.views.SimpleLine
- android:id="@+id/separator_2"
- android:layout_width="wrap_content"
- android:layout_height="3dp"
- android:layout_marginTop="10dp" />
-
- <Button
- android:id="@+id/button_preferences"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@android:drawable/ic_menu_preferences"
- android:text="Préférences" />
-
- <adullact.publicrowdfunding.views.SimpleLine
- android:id="@+id/separator_3"
- android:layout_width="wrap_content"
- android:layout_height="3dp"
- android:layout_marginTop="10dp" />
-
- <Button
- android:id="@+id/button_deconnexion"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dip"
- android:background="@null"
- android:contentDescription="@string/description_image_button"
- android:drawableLeft="@android:drawable/ic_menu_close_clear_cancel"
- android:text="Déconnexion" />
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
-
-</android.support.v4.widget.DrawerLayout>
\ No newline at end of file
+ <FrameLayout
+ android:id="@+id/big_font"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center" >
+ </FrameLayout>
+
+</FrameLayout>
\ No newline at end of file