diff --git a/OlympusServices/app/src/main/AndroidManifest.xml b/OlympusServices/app/src/main/AndroidManifest.xml index f8bc8ab..0455bed 100644 --- a/OlympusServices/app/src/main/AndroidManifest.xml +++ b/OlympusServices/app/src/main/AndroidManifest.xml @@ -40,8 +40,12 @@ - - + + \ No newline at end of file diff --git a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UsersList.java b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UsersList.java index 4cb5afb..9da8537 100644 --- a/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UsersList.java +++ b/OlympusServices/app/src/main/java/com/uottawa/olympus/olympusservices/UsersList.java @@ -17,14 +17,12 @@ public class UsersList extends AppCompatActivity { DBHelper dbHelper = new DBHelper(this); List users = dbHelper.getAllUsers(); - String[] usernames = new String[(users.size()+1)*2]; - usernames[0] = "Username"; - usernames[1] = "User Type"; + String[] usernames = new String[(users.size())*2]; Iterator iter = users.iterator(); for (int i=0; i(this, R.layout.simple_list_item_1_customized, usernames); GridView gridView = findViewById(R.id.Users); diff --git a/OlympusServices/app/src/main/res/layout/activity_admin_welcome.xml b/OlympusServices/app/src/main/res/layout/activity_admin_welcome.xml index 49da067..fb775e0 100644 --- a/OlympusServices/app/src/main/res/layout/activity_admin_welcome.xml +++ b/OlympusServices/app/src/main/res/layout/activity_admin_welcome.xml @@ -30,7 +30,7 @@