gave credit to style repos, removed admin option from sign up drop down

This commit is contained in:
IvanaE 2018-10-15 10:36:54 -04:00
parent 68d18fb23f
commit 633bfc8fe4
4 changed files with 8 additions and 1 deletions

View file

@ -11,7 +11,7 @@ public class SignUp extends AppCompatActivity {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sign_up);
MaterialSpinner spinner = findViewById(R.id.RoleInput);
spinner.setItems("Admin", "User", "Service Provider");
spinner.setItems("User", "Service Provider");
spinner.setOnItemSelectedListener(new MaterialSpinner.OnItemSelectedListener<String>() {
@Override public void onItemSelected(MaterialSpinner view, int position, long id, String item) {

View file

@ -25,6 +25,7 @@
android:textSize="36sp"
app:fontFamily="@font/julius_sans_one" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/UsernameInput"
android:layout_width="match_parent"
@ -38,6 +39,7 @@
app:met_primaryColor="?colorAccent"
app:met_singleLineEllipsis="true" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/PasswordInput"
android:layout_width="match_parent"

View file

@ -33,12 +33,14 @@
android:textColor="#6d81a5"
android:textSize="20sp" />
// component used from https://github.com/jaredrummler/MaterialSpinner
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/RoleInput"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginBottom="10dp" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/UsernameInput"
android:layout_width="match_parent"
@ -51,6 +53,7 @@
app:met_primaryColor="?colorAccent"
app:met_singleLineEllipsis="true" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/PasswordInput"
android:layout_width="match_parent"
@ -63,6 +66,7 @@
app:met_primaryColor="?colorAccent"
app:met_singleLineEllipsis="true" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/FirstNameInput"
android:layout_width="match_parent"
@ -75,6 +79,7 @@
app:met_primaryColor="?colorAccent"
app:met_singleLineEllipsis="true" />
//component used from https://github.com/rengwuxian/MaterialEditText
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/LastNameInput"
android:layout_width="match_parent"