diff --git a/app/src/main/java/memphis/myapplication/SettingsActivity.java b/app/src/main/java/memphis/myapplication/SettingsActivity.java
index a9a375d..44e3131 100644
--- a/app/src/main/java/memphis/myapplication/SettingsActivity.java
+++ b/app/src/main/java/memphis/myapplication/SettingsActivity.java
@@ -50,6 +50,13 @@ public void changePhoto(View view) {
startActivityForResult(intent, PICK_PHOTO);
}
+ // register
+ public void register(View view) {
+ // open up photos directory
+ Intent i = new Intent(this,LoginActivity.class);
+ startActivity(i);
+ }
+
@Override
public void onActivityResult(int requestCode, int resultCode,
Intent resultData) {
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index de7dd6f..9ae1113 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -31,11 +31,13 @@
android:id="@+id/files"
android:layout_width="@dimen/margin_178dp"
android:layout_height="@dimen/margin_205dp"
+ android:layout_marginStart="@dimen/margin_8dp"
android:layout_marginTop="@dimen/margin_32dp"
android:layout_marginEnd="@dimen/margin_16dp"
android:contentDescription="@string/files"
android:onClick="startFiles"
app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@+id/camera"
app:layout_constraintTop_toBottomOf="@+id/toolbar"
app:srcCompat="@drawable/folder" />
@@ -56,12 +58,13 @@
android:id="@+id/rcvdImages"
android:layout_width="@dimen/margin_178dp"
android:layout_height="@dimen/margin_205dp"
- android:layout_marginBottom="@dimen/margin_8dp"
+ android:layout_marginStart="@dimen/margin_8dp"
android:layout_marginTop="@dimen/margin_32dp"
android:layout_marginEnd="@dimen/margin_16dp"
android:contentDescription="@string/received_images"
android:onClick="seeRcvdPhotos"
app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@+id/friends"
app:layout_constraintTop_toBottomOf="@+id/files_label"
app:srcCompat="@drawable/images_icon" />
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 0def1b0..7980592 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -40,4 +40,19 @@
app:layout_constraintTop_toBottomOf="@id/profilePhoto"
/>
-
\ No newline at end of file
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ba0aaab..53ffdb3 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -3,7 +3,7 @@
npChat
Scan
Settings
- Register
+
Publish
Advertise
Cancel
@@ -42,6 +42,7 @@
Change Photo
+ Register
Email: