Nextrek
@ 529
Nextrek / Android / SmartCharging / SmartCharging / app / src / main / res / layout / activity_selection.xml
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 |
<RelativeLayout 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:paddingLeft="0dp" android:paddingRight="0dp" android:paddingTop="0dp" android:paddingBottom="0dp" tools:context="it.fedeloper.smartcharging.Controller.SelectionActivity"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/imageView3" android:scaleType="fitCenter" android:src="@drawable/screen1" android:background="#3cdbff" android:layout_weight="0.7"/> <ScrollView android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="0.5"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:gravity="center_vertical"> <Button android:layout_width="fill_parent" android:layout_height="50dp" android:text="@string/gestore_locali" android:id="@+id/button22" android:onClick="managerclick" android:background="#f0f0f0" android:textColor="#574a67" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:layout_gravity="center_horizontal" /> <Button android:layout_width="match_parent" android:layout_height="50dp" android:text="@string/ricarica_al_piu_prest" android:id="@+id/button7" android:onClick="fastclick" android:background="#574a67" android:layout_gravity="center_horizontal" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:layout_marginTop="24dp" /> <LinearLayout android:id="@+id/or_divider" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:weightSum="4"> <View android:background="#574a67" android:layout_gravity="center_vertical" android:layout_width="match_parent" android:layout_height="1dp" android:layout_marginRight="5dp" android:layout_weight="2"/> <TextView android:text="@string/login_o_divider" android:textColor="#574a67" android:layout_width="20dp" android:gravity="center_horizontal" android:layout_height="wrap_content"/> <View android:background="#574a67" android:layout_gravity="center_vertical" android:layout_width="match_parent" android:layout_marginLeft="5dp" android:layout_height="1dp" android:layout_weight="2"/> </LinearLayout> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="20dp" android:layout_marginLeft="20dp" android:background="@drawable/grey_bordered_rectangle"> <TextView android:layout_width="wrap_content" android:layout_height="50dp" android:textAppearance="?android:attr/textAppearanceSmall" android:text="@string/tipologia_spinner" android:textSize="15sp" android:id="@+id/textView17" android:background="#f0f0f0" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:textColor="#574a67" android:paddingLeft="20dp" android:paddingRight="20dp" /> <Spinner android:layout_width="fill_parent" android:layout_height="50dp" android:id="@+id/spinner2" android:spinnerMode="dropdown" android:popupBackground="#f0f0f0" android:layout_marginLeft="16dp" android:textColor="#574a67" android:layout_gravity="center_horizontal" android:dropDownSelector="@drawable/spinner_back" android:popupElevation="5dp" /> </LinearLayout> <Button android:layout_width="match_parent" android:layout_height="50dp" android:text="@string/ricarica_con_pref" android:id="@+id/button8" android:onClick="prefclick" android:background="@drawable/back" android:textColor="#574a67" android:layout_gravity="center_horizontal" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:layout_marginTop="10dp" /> </LinearLayout> </ScrollView> </LinearLayout> </RelativeLayout> |