Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ClaudeHangui/6465b660f42257bd9d69 to your computer and use it in GitHub Desktop.
Save ClaudeHangui/6465b660f42257bd9d69 to your computer and use it in GitHub Desktop.
layout
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<RelativeLayout
android:id="@+id/project_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/img_dossier"
android:layout_width="wrap_content"
android:layout_margin="@dimen/dimen_10"
android:layout_centerVertical="true"
android:background="@color/colorWhite"
android:src="@drawable/icon_dossier3x"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/txt_nom_projet"
android:layout_toRightOf="@id/img_dossier"
android:layout_margin="@dimen/dimen_10"
android:inputType="textMultiLine"
android:layout_toEndOf="@id/img_dossier"
android:text="Covoiturage dans la ville de dakar"
android:textSize="16sp"
android:textStyle="bold"
android:gravity="fill_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/txt_modifier_le"
android:layout_toRightOf="@id/img_dossier"
android:layout_toEndOf="@id/img_dossier"
android:layout_marginLeft="@dimen/dimen_10"
android:gravity="fill_horizontal"
android:textSize="14sp"
android:layout_marginRight="@dimen/dimen_10"
android:layout_below="@id/txt_nom_projet"
android:layout_marginBottom="@dimen/dimen_10"
android:ellipsize="end"
android:text="Fit gloire jurons que petite ces ici arbres mirent. Heure en la neige actes he quand faite puits."
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
<View
android:id="@+id/seperator"
android:layout_below="@id/txt_modifier_le"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/background" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/txt_proprietaire"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_margin="@dimen/dimen_10"
android:textStyle="bold"
android:text="@string/str_proprietaire"
/>
<TextView
android:id="@+id/edit_proprietaire"
android:layout_toRightOf="@id/txt_proprietaire"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginLeft="@dimen/dimen_35"
android:layout_marginRight="@dimen/dimen_10"
android:layout_marginBottom="@dimen/dimen_10"
android:layout_marginTop="@dimen/dimen_10"
android:hint="@string/str_nom_proprietaire"
android:background="@null"
/>
<TextView
android:id="@+id/txt_date_creation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginBottom="@dimen/dimen_10"
android:layout_marginLeft="@dimen/dimen_10"
android:layout_marginRight="@dimen/dimen_5"
android:textStyle="bold"
android:text="@string/str_date_creation"
android:layout_below="@id/txt_proprietaire"
/>
<TextView
android:id="@+id/edit_date_creation"
android:layout_toRightOf="@id/txt_date_creation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginBottom="@dimen/dimen_10"
android:layout_marginLeft="@dimen/dimen_10"
android:layout_marginRight="@dimen/dimen_10"
android:layout_below="@id/edit_proprietaire"
android:hint="14-02-2016"
android:background="@null"
/>
<TextView
android:id="@+id/txt_lieu_travaux"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginBottom="@dimen/dimen_5"
android:layout_marginLeft="@dimen/dimen_10"
android:layout_marginRight="@dimen/dimen_5"
android:textStyle="bold"
android:text="@string/str_lieu_travaux"
android:layout_below="@id/txt_date_creation"
/>
<TextView
android:id="@+id/edit_lieu_travaux"
android:layout_toRightOf="@id/txt_lieu_travaux"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="16sp"
android:layout_marginBottom="@dimen/dimen_10"
android:layout_marginLeft="@dimen/dimen_10"
android:layout_marginRight="@dimen/dimen_10"
android:layout_below="@id/edit_date_creation"
android:hint="Fass Delorme, Rue 12 Angle 17"
android:inputType="textMultiLine"
android:background="@null"
/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/background"
android:layout_marginBottom="@dimen/dimen_1"
/>
<TextView
android:id="@+id/txt_projet_partage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="16sp"
android:padding="@dimen/dimen_5"
android:text="@string/str_projet_partager"
android:background="@color/background"
/>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/background"
android:layout_marginBottom="@dimen/dimen_1"
/>
<LinearLayout
android:id="@+id/shared_project_layout"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.RecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/recyle_view"
android:layout_width="match_parent"
android:background="@color/background"
android:layout_height="match_parent"
/>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/background"
android:layout_marginBottom="@dimen/dimen_1"
/>
<LinearLayout
android:id="@+id/no_shared_project_layout"
android:layout_width="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_height="match_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="@dimen/dimen_10"
android:background="@color/colorWhite"
android:src="@drawable/contact_empty3x"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:gravity="center"
android:textStyle="bold"
android:layout_marginBottom="@dimen/dimen_10"
android:text="Projet pas encore partagé"
/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="15sp"
android:gravity="center"
android:layout_marginLeft="@dimen/dimen_10"
android:layout_marginRight="@dimen/dimen_10"
android:text="Vous n'avez pas encore partagé ce projet avec vos contacts."
/>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment