From c4df3f38e7c561196a785336003bcf2a2cabb12e Mon Sep 17 00:00:00 2001 From: Thodoris1999 Date: Fri, 7 Sep 2018 14:11:35 +0300 Subject: [PATCH] project structure --- app/src/main/AndroidManifest.xml | 2 +- .../java/gr/thmmy/mthmmy/activities/board/BoardActivity.java | 2 +- .../activities/{ => create_content}/CreateContentActivity.java | 3 ++- .../mthmmy/activities/{ => create_content}/NewTopicTask.java | 2 +- app/src/main/res/layout/activity_create_content.xml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) rename app/src/main/java/gr/thmmy/mthmmy/activities/{ => create_content}/CreateContentActivity.java (97%) rename app/src/main/java/gr/thmmy/mthmmy/activities/{ => create_content}/NewTopicTask.java (98%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b9c48bf4..3b37c299 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -150,7 +150,7 @@ diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java index 9b905fb1..556f23df 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java @@ -22,7 +22,7 @@ import java.util.ArrayList; import java.util.Objects; import gr.thmmy.mthmmy.R; -import gr.thmmy.mthmmy.activities.CreateContentActivity; +import gr.thmmy.mthmmy.activities.create_content.CreateContentActivity; import gr.thmmy.mthmmy.activities.LoginActivity; import gr.thmmy.mthmmy.base.BaseActivity; import gr.thmmy.mthmmy.model.Board; diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/CreateContentActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/create_content/CreateContentActivity.java similarity index 97% rename from app/src/main/java/gr/thmmy/mthmmy/activities/CreateContentActivity.java rename to app/src/main/java/gr/thmmy/mthmmy/activities/create_content/CreateContentActivity.java index b46d401a..44e025ed 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/CreateContentActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/create_content/CreateContentActivity.java @@ -1,4 +1,4 @@ -package gr.thmmy.mthmmy.activities; +package gr.thmmy.mthmmy.activities.create_content; import android.content.Intent; import android.content.SharedPreferences; @@ -13,6 +13,7 @@ import android.widget.TextView; import android.widget.Toast; import gr.thmmy.mthmmy.R; +import gr.thmmy.mthmmy.activities.create_content.NewTopicTask; import gr.thmmy.mthmmy.activities.settings.SettingsActivity; import gr.thmmy.mthmmy.base.BaseActivity; import gr.thmmy.mthmmy.editorview.EditorView; diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/NewTopicTask.java b/app/src/main/java/gr/thmmy/mthmmy/activities/create_content/NewTopicTask.java similarity index 98% rename from app/src/main/java/gr/thmmy/mthmmy/activities/NewTopicTask.java rename to app/src/main/java/gr/thmmy/mthmmy/activities/create_content/NewTopicTask.java index c8dc34d5..253280eb 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/NewTopicTask.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/create_content/NewTopicTask.java @@ -1,4 +1,4 @@ -package gr.thmmy.mthmmy.activities; +package gr.thmmy.mthmmy.activities.create_content; import android.os.AsyncTask; diff --git a/app/src/main/res/layout/activity_create_content.xml b/app/src/main/res/layout/activity_create_content.xml index f3b77e09..9578bd2d 100644 --- a/app/src/main/res/layout/activity_create_content.xml +++ b/app/src/main/res/layout/activity_create_content.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" - tools:context=".activities.CreateContentActivity" + tools:context=".activities.create_content.CreateContentActivity" android:layout_height="match_parent" android:layout_width="match_parent" android:fitsSystemWindows="true">