Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.18 KB | None | 0 0
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    tools:context=".Fragments.HomeFragment">
  6.  
  7.     <LinearLayout
  8.        android:layout_width="match_parent"
  9.        android:layout_height="match_parent"
  10.        android:orientation="vertical">
  11.  
  12.         <ViewSwitcher
  13.            android:id="@+id/viewSwitcher"
  14.            android:layout_width="match_parent"
  15.            android:layout_height="wrap_content">
  16.  
  17.             <LinearLayout
  18.                android:layout_width="match_parent"
  19.                android:layout_height="wrap_content"
  20.                android:orientation="vertical">
  21.  
  22.                 <TextView
  23.                    android:id="@+id/txtNomAssociation"
  24.                    android:layout_width="match_parent"
  25.                    android:layout_height="wrap_content"
  26.                    android:padding="10dp"
  27.                    android:text="nom" />
  28.  
  29.                 <TextView
  30.                    android:id="@+id/txtPrenom"
  31.                    android:layout_width="match_parent"
  32.                    android:layout_height="wrap_content"
  33.                    android:padding="10dp"
  34.                    android:text="prenom" />
  35.  
  36.                 <TextView
  37.                    android:id="@+id/txtTelephone"
  38.                    android:layout_width="match_parent"
  39.                    android:layout_height="wrap_content"
  40.                    android:padding="10dp"
  41.                    android:text="0102030405" />
  42.  
  43.                 <TextView
  44.                    android:id="@+id/txtEmail"
  45.                    android:layout_width="match_parent"
  46.                    android:layout_height="wrap_content"
  47.                    android:padding="10dp"
  48.                    android:text="azeazeazeaz@frerert.fr" />
  49.  
  50.                 <TextView
  51.                    android:id="@+id/txtSoldeCompte"
  52.                    android:layout_width="match_parent"
  53.                    android:layout_height="wrap_content"
  54.                    android:padding="10dp"
  55.                    android:text="51.23 €" />
  56.  
  57.                 <Button
  58.                    android:id="@+id/btnModifierCompte"
  59.                    android:layout_width="match_parent"
  60.                    android:layout_height="wrap_content"
  61.                    android:layout_marginBottom="10dp"
  62.                    android:background="@color/colorAccent"
  63.                    android:text="Modifier" />
  64.  
  65.                 <TextView
  66.                    android:id="@+id/txtError"
  67.                    android:layout_width="match_parent"
  68.                    android:layout_height="wrap_content" />
  69.  
  70.             </LinearLayout>
  71.  
  72.             <LinearLayout
  73.                android:layout_width="match_parent"
  74.                android:layout_height="wrap_content"
  75.                android:orientation="vertical">
  76.  
  77.                 <EditText
  78.                    android:id="@+id/edtTelephone"
  79.                    android:layout_width="match_parent"
  80.                    android:layout_height="wrap_content"
  81.                    android:ems="10"
  82.                    android:hint="Téléphone"
  83.                    android:inputType="textPersonName" />
  84.  
  85.                 <EditText
  86.                    android:id="@+id/edtPassword"
  87.                    android:layout_width="match_parent"
  88.                    android:layout_height="wrap_content"
  89.                    android:ems="10"
  90.                    android:hint="Mot de Passe"
  91.                    android:inputType="textPersonName" />
  92.  
  93.                 <EditText
  94.                    android:id="@+id/edtEmail"
  95.                    android:layout_width="match_parent"
  96.                    android:layout_height="wrap_content"
  97.                    android:ems="10"
  98.                    android:hint="Email"
  99.                    android:inputType="textPersonName" />
  100.  
  101.                 <Switch
  102.                    android:id="@+id/swh_EtatCompte"
  103.                    android:layout_width="match_parent"
  104.                    android:layout_height="wrap_content"
  105.                    android:checked="true"
  106.                    android:padding="10dp"
  107.                    android:text="Etat Compte" />
  108.  
  109.                 <Button
  110.                    android:id="@+id/btnValiderModif"
  111.                    android:layout_width="match_parent"
  112.                    android:layout_height="wrap_content"
  113.                    android:background="@color/colorAccent"
  114.                    android:text="Valider"/>
  115.  
  116.                 <Button
  117.                    android:id="@+id/btnAnnulerModif"
  118.                    android:layout_width="match_parent"
  119.                    android:layout_height="wrap_content"
  120.                    android:background="@color/design_default_color_error"
  121.                    android:text="Annuler"/>
  122.  
  123.             </LinearLayout>
  124.  
  125.         </ViewSwitcher>
  126.  
  127.         <Button
  128.            android:id="@+id/btnCrediterCompte"
  129.            android:layout_width="match_parent"
  130.            android:layout_height="wrap_content"
  131.            android:background="#FFC107"
  132.            android:text="Créditer Compte" />
  133.     </LinearLayout>
  134.  
  135. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement