3 pièce(s) jointe(s)
[Design] Problèmes visuels
bonjour je rencontre quelques problèmes visuels
en effet voici l'image de l'interface normal
Pièce jointe 147714
quand je me positionne sur un champ et que je remonte le scrollview je ne peux pas voir completement le datepicker
Pièce jointe 147715
et de meme quand je vais en bas du scrollview j'ai un espace (sous les boutons) qui correspond manifestement a celui qui manque en haut pour voir correctement le datepicker
Pièce jointe 147716
voici le code que j'ai pour l'interface
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#C1D819" >
<TextView
android:id="@+id/tvLink"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:linksClickable="true"
android:text="@string/link"
android:textAppearance="?android:attr/textAppearanceLarge" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_hours" />
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="Ajouter des heures"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff"
android:textSize="22sp"
android:textStyle="bold" />
</LinearLayout>
<TextView
android:id="@+id/txName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginLeft="50dp"
android:text="utilisateur"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff"
android:textSize="22sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentLeft="true"
android:layout_marginBottom="5dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="#aa000000" />
<ScrollView
android:id="@+id/scrollView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="30dp"
android:fadeScrollbars="false"
android:fillViewport="false"
android:measureAllChildren="false"
android:scrollbars="vertical" >
<LinearLayout
android:id="@+id/fEdit"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|center_horizontal|center"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="Date"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff" />
<android.widget.DatePicker
android:id="@+id/dpDate"
style="@android:style/Widget.DatePicker"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center|center_horizontal|center_vertical" />
</LinearLayout>
<TextView
android:id="@+id/tvVersion"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="Chantier"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff" />
<Spinner
android:id="@+id/spChantier"
android:layout_width="match_parent"
android:layout_height="48dp" />
<TextView
android:id="@+id/tvVersion"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Nombre d'heures"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff" />
<EditText
android:id="@+id/etHours"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="number" >
<requestFocus />
</EditText>
<TextView
android:id="@+id/txError"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:text="erreur"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#008000"
android:textStyle="bold" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginTop="10dp" >
<Button
android:id="@+id/btDisconect"
android:layout_width="147dp"
android:layout_height="wrap_content"
android:enabled="true"
android:focusable="true"
android:text="Deconnexion" />
<Button
android:id="@+id/btOK"
android:layout_width="147dp"
android:layout_height="wrap_content"
android:enabled="false"
android:focusable="true"
android:text="OK" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
<FrameLayout
android:id="@+id/fWait"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#67000000"
android:visibility="invisible" >
<LinearLayout
android:id="@+id/layout2"
android:layout_width="218dp"
android:layout_height="218dp"
android:layout_gravity="center"
android:orientation="vertical" >
<TextView
android:id="@+id/txInfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:gravity="center_horizontal"
android:text="Connexion en cours"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="#ffffff"
android:textSize="22sp"
android:textStyle="bold" />
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleLarge"
android:layout_width="152dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:indeterminate="true"
android:indeterminateDrawable="@drawable/progress" />
</LinearLayout>
</FrameLayout>
</FrameLayout> |
si vous aviez une petite idée ca m'arrangerait