From ef35765f70acd7e1fd3120b0e38838b159c98732 Mon Sep 17 00:00:00 2001 From: EJ Date: Sat, 21 Jul 2018 12:38:22 -0500 Subject: [PATCH] Removed placeholder floating action button #4 --- .../java/pfister/scpbrowser/scpdisplay/HomeActivity.kt | 9 ++++----- app/src/main/res/layout/app_bar_home.xml | 8 -------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/app/src/main/java/pfister/scpbrowser/scpdisplay/HomeActivity.kt b/app/src/main/java/pfister/scpbrowser/scpdisplay/HomeActivity.kt index c420daf..103d800 100644 --- a/app/src/main/java/pfister/scpbrowser/scpdisplay/HomeActivity.kt +++ b/app/src/main/java/pfister/scpbrowser/scpdisplay/HomeActivity.kt @@ -5,7 +5,6 @@ import android.arch.lifecycle.ViewModelProviders import android.graphics.Color import android.os.Bundle import android.support.design.widget.NavigationView -import android.support.design.widget.Snackbar import android.support.v4.view.GravityCompat import android.support.v7.app.ActionBarDrawerToggle import android.support.v7.app.AppCompatActivity @@ -36,10 +35,10 @@ class HomeActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte setContentView(R.layout.activity_home) setSupportActionBar(toolbar) - fab.setOnClickListener { view -> - Snackbar.make(view, "Not implemented.", Snackbar.LENGTH_LONG) - .setAction("Action", null).show() - } +// fab.setOnClickListener { view -> +// Snackbar.make(view, "Not implemented.", Snackbar.LENGTH_LONG) +// .setAction("Action", null).show() +// } val toggle = ActionBarDrawerToggle( this, drawer_layout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close) diff --git a/app/src/main/res/layout/app_bar_home.xml b/app/src/main/res/layout/app_bar_home.xml index 55ba802..c161d6e 100644 --- a/app/src/main/res/layout/app_bar_home.xml +++ b/app/src/main/res/layout/app_bar_home.xml @@ -22,12 +22,4 @@ - - \ No newline at end of file