Skip to content

Commit 6ea7a97

Browse files
committed
remove the floating action button for now
1 parent 6a5e7f5 commit 6ea7a97

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

app/src/main/java/com/simplemobiletools/notes/activities/MainActivity.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import android.util.TypedValue;
99
import android.view.Menu;
1010
import android.view.MenuItem;
11-
import android.view.View;
1211
import android.view.inputmethod.InputMethodManager;
1312
import android.widget.EditText;
1413

@@ -18,7 +17,6 @@
1817

1918
import butterknife.BindView;
2019
import butterknife.ButterKnife;
21-
import butterknife.OnClick;
2220

2321
public class MainActivity extends SimpleActivity {
2422
@BindView(R.id.notes_view)
@@ -78,11 +76,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
7876
}
7977
}
8078

81-
@OnClick(R.id.notes_fab)
82-
public void newNoteClicked(View view) {
83-
84-
}
85-
8679
private void saveText() {
8780
final String newText = getCurrentNote();
8881
final String oldText = mPrefs.getString(Constants.TEXT, "");

app/src/main/res/layout/activity_main.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,4 @@
2222
android:padding="@dimen/activity_margin"/>
2323
</ScrollView>
2424

25-
<android.support.design.widget.FloatingActionButton
26-
android:id="@+id/notes_fab"
27-
android:layout_width="wrap_content"
28-
android:layout_height="wrap_content"
29-
android:layout_gravity="bottom|end"
30-
android:layout_margin="@dimen/activity_margin"
31-
android:src="@mipmap/plus"/>
32-
3325
</android.support.design.widget.CoordinatorLayout>

0 commit comments

Comments
 (0)