From a8fb301965390661314f2915f2033358f643254d Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Wed, 13 Mar 2019 20:28:05 +0400 Subject: [PATCH] Added bottom navigation bar and placeholders for fragments: chat, settings, start chat. --- .idea/gradle.xml | 3 ++ app/build.gradle | 4 +- app/src/main/AndroidManifest.xml | 2 +- .../influence/{ => views}/MainActivity.java | 48 ++++++++++++++++++- .../views/fragments/ChatFragment.java | 22 +++++++++ .../views/fragments/SettingsFragment.java | 13 +++++ .../views/fragments/StartChatFragment.java | 22 +++++++++ app/src/main/res/drawable/ic_chat_white.xml | 5 ++ .../main/res/drawable/ic_person_add_white.xml | 5 ++ .../main/res/drawable/ic_settings_white.xml | 5 ++ app/src/main/res/layout/activity_main.xml | 19 +++++++- app/src/main/res/layout/chat_fragment.xml | 13 +++++ .../main/res/layout/start_chat_fragment.xml | 14 ++++++ .../main/res/menu/main_bottom_nav_menu.xml | 15 ++++++ app/src/main/res/xml/main_settings.xml | 18 +++++++ 15 files changed, 203 insertions(+), 5 deletions(-) rename app/src/main/java/io/github/chronosx88/influence/{ => views}/MainActivity.java (52%) create mode 100644 app/src/main/java/io/github/chronosx88/influence/views/fragments/ChatFragment.java create mode 100644 app/src/main/java/io/github/chronosx88/influence/views/fragments/SettingsFragment.java create mode 100644 app/src/main/java/io/github/chronosx88/influence/views/fragments/StartChatFragment.java create mode 100644 app/src/main/res/drawable/ic_chat_white.xml create mode 100644 app/src/main/res/drawable/ic_person_add_white.xml create mode 100644 app/src/main/res/drawable/ic_settings_white.xml create mode 100644 app/src/main/res/layout/chat_fragment.xml create mode 100644 app/src/main/res/layout/start_chat_fragment.xml create mode 100644 app/src/main/res/menu/main_bottom_nav_menu.xml create mode 100644 app/src/main/res/xml/main_settings.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 7ac24c7..f43d428 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,6 +3,9 @@