From 4b19151950937f141eb04095e33b87242dc30ed3 Mon Sep 17 00:00:00 2001 From: Robin Morawetz Date: Tue, 14 Jun 2016 12:30:54 +0200 Subject: [PATCH] Initial Commit --- .gitignore | 8 + .idea/.name | 1 + .idea/compiler.xml | 22 +++ .idea/copyright/profiles_settings.xml | 3 + .idea/encodings.xml | 6 + .idea/gradle.xml | 24 +++ .idea/misc.xml | 62 +++++++ .idea/modules.xml | 9 + .idea/runConfigurations.xml | 12 ++ app/.gitignore | 1 + app/build.gradle | 27 +++ app/proguard-rules.pro | 17 ++ .../privacyfriendlynotes/ApplicationTest.java | 13 ++ app/src/main/AndroidManifest.xml | 25 +++ .../CreateTextNoteActivity.java | 40 +++++ .../secuso/privacyfriendlynotes/DbAccess.java | 39 +++++ .../privacyfriendlynotes/DbOpenHelper.java | 35 ++++ .../privacyfriendlynotes/MainActivity.java | 141 +++++++++++++++ .../privacyfriendlynotes/NotesContract.java | 17 ++ .../main/res/drawable-v21/ic_menu_camera.xml | 12 ++ .../main/res/drawable-v21/ic_menu_gallery.xml | 9 + .../main/res/drawable-v21/ic_menu_manage.xml | 9 + .../main/res/drawable-v21/ic_menu_send.xml | 9 + .../main/res/drawable-v21/ic_menu_share.xml | 9 + .../res/drawable-v21/ic_menu_slideshow.xml | 9 + .../main/res/drawable/ic_add_black_24dp.xml | 9 + app/src/main/res/drawable/ic_filter_tags.xml | 9 + app/src/main/res/drawable/ic_settings.xml | 9 + app/src/main/res/drawable/side_nav_bar.xml | 9 + .../res/layout/activity_create_text_note.xml | 49 ++++++ app/src/main/res/layout/activity_main.xml | 25 +++ app/src/main/res/layout/app_bar_main.xml | 34 ++++ app/src/main/res/layout/content_main.xml | 19 +++ app/src/main/res/layout/item_note.xml | 14 ++ app/src/main/res/layout/nav_header_main.xml | 34 ++++ .../main/res/menu/activity_main_drawer.xml | 28 +++ app/src/main/res/menu/main.xml | 20 +++ app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3418 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2206 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4842 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 7718 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 10486 bytes app/src/main/res/values-v21/styles.xml | 9 + app/src/main/res/values-w820dp/dimens.xml | 6 + app/src/main/res/values/colors.xml | 16 ++ app/src/main/res/values/dimens.xml | 9 + app/src/main/res/values/drawables.xml | 8 + app/src/main/res/values/strings.xml | 15 ++ app/src/main/res/values/styles.xml | 20 +++ .../privacyfriendlynotes/ExampleUnitTest.java | 15 ++ build.gradle | 23 +++ gradle.properties | 18 ++ gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53636 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 160 ++++++++++++++++++ gradlew.bat | 90 ++++++++++ settings.gradle | 1 + 57 files changed, 1214 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.name create mode 100644 .idea/compiler.xml create mode 100644 .idea/copyright/profiles_settings.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/gradle.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 app/.gitignore create mode 100644 app/build.gradle create mode 100644 app/proguard-rules.pro create mode 100644 app/src/androidTest/java/org/secuso/privacyfriendlynotes/ApplicationTest.java create mode 100644 app/src/main/AndroidManifest.xml create mode 100644 app/src/main/java/org/secuso/privacyfriendlynotes/CreateTextNoteActivity.java create mode 100644 app/src/main/java/org/secuso/privacyfriendlynotes/DbAccess.java create mode 100644 app/src/main/java/org/secuso/privacyfriendlynotes/DbOpenHelper.java create mode 100644 app/src/main/java/org/secuso/privacyfriendlynotes/MainActivity.java create mode 100644 app/src/main/java/org/secuso/privacyfriendlynotes/NotesContract.java create mode 100644 app/src/main/res/drawable-v21/ic_menu_camera.xml create mode 100644 app/src/main/res/drawable-v21/ic_menu_gallery.xml create mode 100644 app/src/main/res/drawable-v21/ic_menu_manage.xml create mode 100644 app/src/main/res/drawable-v21/ic_menu_send.xml create mode 100644 app/src/main/res/drawable-v21/ic_menu_share.xml create mode 100644 app/src/main/res/drawable-v21/ic_menu_slideshow.xml create mode 100644 app/src/main/res/drawable/ic_add_black_24dp.xml create mode 100644 app/src/main/res/drawable/ic_filter_tags.xml create mode 100644 app/src/main/res/drawable/ic_settings.xml create mode 100644 app/src/main/res/drawable/side_nav_bar.xml create mode 100644 app/src/main/res/layout/activity_create_text_note.xml create mode 100644 app/src/main/res/layout/activity_main.xml create mode 100644 app/src/main/res/layout/app_bar_main.xml create mode 100644 app/src/main/res/layout/content_main.xml create mode 100644 app/src/main/res/layout/item_note.xml create mode 100644 app/src/main/res/layout/nav_header_main.xml create mode 100644 app/src/main/res/menu/activity_main_drawer.xml create mode 100644 app/src/main/res/menu/main.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 app/src/main/res/values-v21/styles.xml create mode 100644 app/src/main/res/values-w820dp/dimens.xml create mode 100644 app/src/main/res/values/colors.xml create mode 100644 app/src/main/res/values/dimens.xml create mode 100644 app/src/main/res/values/drawables.xml create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 app/src/test/java/org/secuso/privacyfriendlynotes/ExampleUnitTest.java create mode 100644 build.gradle create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 gradlew create mode 100644 gradlew.bat create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c6cbe562 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.iml +.gradle +/local.properties +/.idea/workspace.xml +/.idea/libraries +.DS_Store +/build +/captures diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 00000000..5121868c --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +Privacy Friendly Notes \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 00000000..96cc43ef --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..e7bedf33 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 00000000..97626ba4 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 00000000..ee6ddd03 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..7158618b --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.8 + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..16eee3f2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 00000000..7f68460d --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 00000000..796b96d1 --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 00000000..5aeebdc9 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,27 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.3" + + defaultConfig { + applicationId "org.secuso.privacyfriendlynotes" + minSdkVersion 16 + targetSdkVersion 23 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + testCompile 'junit:junit:4.12' + compile 'com.android.support:appcompat-v7:23.4.0' + compile 'com.android.support:design:23.4.0' +} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 00000000..e05c04c5 --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,17 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in C:\Users\Robin\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/app/src/androidTest/java/org/secuso/privacyfriendlynotes/ApplicationTest.java b/app/src/androidTest/java/org/secuso/privacyfriendlynotes/ApplicationTest.java new file mode 100644 index 00000000..8dd79ed0 --- /dev/null +++ b/app/src/androidTest/java/org/secuso/privacyfriendlynotes/ApplicationTest.java @@ -0,0 +1,13 @@ +package org.secuso.privacyfriendlynotes; + +import android.app.Application; +import android.test.ApplicationTestCase; + +/** + * Testing Fundamentals + */ +public class ApplicationTest extends ApplicationTestCase { + public ApplicationTest() { + super(Application.class); + } +} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..35ca0ea8 --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/CreateTextNoteActivity.java b/app/src/main/java/org/secuso/privacyfriendlynotes/CreateTextNoteActivity.java new file mode 100644 index 00000000..dfdcd008 --- /dev/null +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/CreateTextNoteActivity.java @@ -0,0 +1,40 @@ +package org.secuso.privacyfriendlynotes; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.view.View; +import android.widget.EditText; +import android.widget.Toast; + +public class CreateTextNoteActivity extends AppCompatActivity implements View.OnClickListener{ + + EditText etName; + EditText etContent; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_create_text_note); + findViewById(R.id.btn_save).setOnClickListener(this); + + etName = (EditText) findViewById(R.id.etName); + etContent = (EditText) findViewById(R.id.etContent); + } + + @Override + public void onClick(View v) { + switch (v.getId()) { + case R.id.btn_save: + saveNote(); + break; + default: + } + } + + private void saveNote(){ + //TODO + DbAccess.saveTextNote(getBaseContext(), etName.getText().toString(), etContent.getText().toString()); + Toast.makeText(getApplicationContext(), "TODO: Saving...", Toast.LENGTH_SHORT).show(); + finish(); + } +} diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/DbAccess.java b/app/src/main/java/org/secuso/privacyfriendlynotes/DbAccess.java new file mode 100644 index 00000000..bf0a1706 --- /dev/null +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/DbAccess.java @@ -0,0 +1,39 @@ +package org.secuso.privacyfriendlynotes; + +import android.content.ContentValues; +import android.content.Context; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import org.secuso.privacyfriendlynotes.NotesContract.*; + +/** + * Created by Robin on 11.06.2016. + */ +public class DbAccess { + public static void saveTextNote(Context c, String name, String content){ + DbOpenHelper dbHelper = new DbOpenHelper(c); + SQLiteDatabase db = dbHelper.getWritableDatabase(); + + ContentValues values = new ContentValues(); + values.put(NoteEntry.COLUMN_NAME_NAME, name); + values.put(NoteEntry.COLUMN_NAME_CONTENT, content); + db.insert(NoteEntry.TABLE_NAME, null, values); + } + + public static Cursor getCursorAllNotes(Context c) { + DbOpenHelper dbHelper = new DbOpenHelper(c); + SQLiteDatabase db = dbHelper.getReadableDatabase(); + + String[] projection = {NoteEntry.COLUMN_NAME_ID, NoteEntry.COLUMN_NAME_NAME, NoteEntry.COLUMN_NAME_CONTENT}; + + String sortOrder = NoteEntry.COLUMN_NAME_ID + " DESC"; + + return db.query(NoteEntry.TABLE_NAME, // Table name + projection, // SELECT + null, // Columns for WHERE + null, // Values for WHERE + null, // Group + null, // Filter by Group + null); // Sort Order + } +} diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/DbOpenHelper.java b/app/src/main/java/org/secuso/privacyfriendlynotes/DbOpenHelper.java new file mode 100644 index 00000000..3e59745d --- /dev/null +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/DbOpenHelper.java @@ -0,0 +1,35 @@ +package org.secuso.privacyfriendlynotes; + +import android.content.Context; +import android.database.sqlite.SQLiteDatabase; +import android.database.sqlite.SQLiteOpenHelper; + +/** + * Created by Robin on 11.06.2016. + */ +public class DbOpenHelper extends SQLiteOpenHelper { + + private static final int DATABASE_VERSION = 1; + private static final String DATABASE_NAME = "allthenotes"; + + private static final String NOTES_TABLE_CREATE = + "CREATE TABLE " + NotesContract.NoteEntry.TABLE_NAME + " (" + + NotesContract.NoteEntry.COLUMN_NAME_ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + + NotesContract.NoteEntry.COLUMN_NAME_NAME + " TEXT NOT NULL, " + + NotesContract.NoteEntry.COLUMN_NAME_CONTENT + " TEXT NOT NULL);"; + + DbOpenHelper(Context context) { + super(context, DATABASE_NAME, null, DATABASE_VERSION); + } + + @Override + public void onCreate(SQLiteDatabase db) { + db.execSQL(NOTES_TABLE_CREATE); + } + + @Override + public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { + db.execSQL("DROP TABLE IF EXISTS" + NotesContract.NoteEntry.TABLE_NAME + ";"); + onCreate(db); + } +} diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/MainActivity.java b/app/src/main/java/org/secuso/privacyfriendlynotes/MainActivity.java new file mode 100644 index 00000000..7a789585 --- /dev/null +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/MainActivity.java @@ -0,0 +1,141 @@ +package org.secuso.privacyfriendlynotes; + +import android.content.Context; +import android.content.Intent; +import android.database.Cursor; +import android.database.sqlite.SQLiteDatabase; +import android.os.Bundle; +import android.provider.ContactsContract; +import android.support.design.widget.FloatingActionButton; +import android.support.design.widget.Snackbar; +import android.support.v4.view.LayoutInflaterCompat; +import android.support.v4.widget.CursorAdapter; +import android.support.v4.widget.SimpleCursorAdapter; +import android.util.Log; +import android.view.LayoutInflater; +import android.view.View; +import android.support.design.widget.NavigationView; +import android.support.v4.view.GravityCompat; +import android.support.v4.widget.DrawerLayout; +import android.support.v7.app.ActionBarDrawerToggle; +import android.support.v7.app.AppCompatActivity; +import android.support.v7.widget.Toolbar; +import android.view.Menu; +import android.view.MenuItem; +import android.view.ViewGroup; +import android.widget.ListView; +import android.widget.TextView; + +public class MainActivity extends AppCompatActivity + implements NavigationView.OnNavigationItemSelectedListener { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); + setSupportActionBar(toolbar); + + FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab); + fab.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + startActivity(new Intent(getApplication(), CreateTextNoteActivity.class)); + } + }); + + DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); + ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( + this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); + drawer.setDrawerListener(toggle); + toggle.syncState(); + + NavigationView navigationView = (NavigationView) findViewById(R.id.nav_view); + navigationView.setNavigationItemSelectedListener(this); + + //Fill the list from database + ListView notesList = (ListView) findViewById(R.id.notes_list); + notesList.setAdapter(new CursorAdapter(getApplicationContext(), DbAccess.getCursorAllNotes(getBaseContext()), CursorAdapter.FLAG_AUTO_REQUERY) { + @Override + public View newView(Context context, Cursor cursor, ViewGroup parent) { + LayoutInflater inflater = (LayoutInflater) context + .getSystemService(Context.LAYOUT_INFLATER_SERVICE); + View rowView = inflater.inflate(R.layout.item_note, null); + TextView text = (TextView) rowView.findViewById(R.id.item_name); + String name = cursor.getString(cursor.getColumnIndexOrThrow(NotesContract.NoteEntry.COLUMN_NAME_NAME)); + text.setText(name); + return rowView; + } + + @Override + public void bindView(View view, Context context, Cursor cursor) { + TextView text = (TextView) view.findViewById(R.id.item_name); + String name = cursor.getString(cursor.getColumnIndexOrThrow(NotesContract.NoteEntry.COLUMN_NAME_NAME)); + text.setText(name); + } + }); + } + + @Override + protected void onResume() { + super.onResume(); + ListView notesList = (ListView) findViewById(R.id.notes_list); + CursorAdapter adapter = (CursorAdapter) notesList.getAdapter(); + adapter.changeCursor(DbAccess.getCursorAllNotes(getBaseContext())); + } + + @Override + public void onBackPressed() { + DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); + if (drawer.isDrawerOpen(GravityCompat.START)) { + drawer.closeDrawer(GravityCompat.START); + } else { + super.onBackPressed(); + } + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + // Inflate the menu; this adds items to the action bar if it is present. + getMenuInflater().inflate(R.menu.main, menu); + return true; + } + + @Override + public boolean onOptionsItemSelected(MenuItem item) { + // Handle action bar item clicks here. The action bar will + // automatically handle clicks on the Home/Up button, so long + // as you specify a parent activity in AndroidManifest.xml. + int id = item.getItemId(); + + //noinspection SimplifiableIfStatement + if (id == R.id.action_settings) { + return true; + } + + return super.onOptionsItemSelected(item); + } + + @SuppressWarnings("StatementWithEmptyBody") + @Override + public boolean onNavigationItemSelected(MenuItem item) { + // Handle navigation view item clicks here. + int id = item.getItemId(); + + if (id == R.id.nav_private) { + + } else if (id == R.id.nav_work) { + + } else if (id == R.id.nav_university) { + + } else if (id == R.id.nav_all) { + + } else if (id == R.id.nav_share) { + + } + + DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); + drawer.closeDrawer(GravityCompat.START); + return true; + } +} diff --git a/app/src/main/java/org/secuso/privacyfriendlynotes/NotesContract.java b/app/src/main/java/org/secuso/privacyfriendlynotes/NotesContract.java new file mode 100644 index 00000000..3b9b03b6 --- /dev/null +++ b/app/src/main/java/org/secuso/privacyfriendlynotes/NotesContract.java @@ -0,0 +1,17 @@ +package org.secuso.privacyfriendlynotes; + +import android.provider.BaseColumns; + +/** + * Created by Robin on 11.06.2016. + */ +public class NotesContract { + public NotesContract(){} + + public static abstract class NoteEntry implements BaseColumns { + public static final String TABLE_NAME = "notes"; + public static final String COLUMN_NAME_ID = "_id"; + public static final String COLUMN_NAME_NAME = "name"; + public static final String COLUMN_NAME_CONTENT = "content"; + } +} diff --git a/app/src/main/res/drawable-v21/ic_menu_camera.xml b/app/src/main/res/drawable-v21/ic_menu_camera.xml new file mode 100644 index 00000000..0d9ea104 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_camera.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable-v21/ic_menu_gallery.xml b/app/src/main/res/drawable-v21/ic_menu_gallery.xml new file mode 100644 index 00000000..f6872c40 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_gallery.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable-v21/ic_menu_manage.xml b/app/src/main/res/drawable-v21/ic_menu_manage.xml new file mode 100644 index 00000000..c1be60b3 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_manage.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/drawable-v21/ic_menu_send.xml b/app/src/main/res/drawable-v21/ic_menu_send.xml new file mode 100644 index 00000000..00c668c6 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_send.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable-v21/ic_menu_share.xml b/app/src/main/res/drawable-v21/ic_menu_share.xml new file mode 100644 index 00000000..a28fb9e2 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_share.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable-v21/ic_menu_slideshow.xml b/app/src/main/res/drawable-v21/ic_menu_slideshow.xml new file mode 100644 index 00000000..209aa643 --- /dev/null +++ b/app/src/main/res/drawable-v21/ic_menu_slideshow.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_add_black_24dp.xml b/app/src/main/res/drawable/ic_add_black_24dp.xml new file mode 100644 index 00000000..b9b8eca8 --- /dev/null +++ b/app/src/main/res/drawable/ic_add_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_filter_tags.xml b/app/src/main/res/drawable/ic_filter_tags.xml new file mode 100644 index 00000000..6c95a5d2 --- /dev/null +++ b/app/src/main/res/drawable/ic_filter_tags.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_settings.xml b/app/src/main/res/drawable/ic_settings.xml new file mode 100644 index 00000000..ace746c4 --- /dev/null +++ b/app/src/main/res/drawable/ic_settings.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/side_nav_bar.xml b/app/src/main/res/drawable/side_nav_bar.xml new file mode 100644 index 00000000..458b4b07 --- /dev/null +++ b/app/src/main/res/drawable/side_nav_bar.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_create_text_note.xml b/app/src/main/res/layout/activity_create_text_note.xml new file mode 100644 index 00000000..f3c7a751 --- /dev/null +++ b/app/src/main/res/layout/activity_create_text_note.xml @@ -0,0 +1,49 @@ + + + + + + + + +