diff --git a/.gitignore b/.gitignore index fab398e..2e35763 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ bin/ gen/ +build/ local.properties .DS_STORE *.swp diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9c395e1..dd48ff9 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,23 +1,34 @@ - + package="com.michaelrnovak.util.logger" + android:versionCode="8" + android:versionName="1.5" > + + + - - - + + + + + + + - - + + - - + diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..4777d23 --- /dev/null +++ b/build.gradle @@ -0,0 +1,33 @@ +apply plugin: 'android-library' + +group = GROUP +version = VERSION + +description = "Android Logcat/Dmesg viewer for devices" + +sourceCompatibility = 1.7 +targetCompatibility = 1.7 + +dependencies { + compile 'com.android.support:appcompat-v7:23.2.0' +} + +android { + buildToolsVersion "23.0.3" + compileSdkVersion 23 + defaultConfig { + minSdkVersion 7 + targetSdkVersion 7 + versionCode 8 + versionName "1.5" + } + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + aidl.srcDirs = ['src'] + res.srcDirs = ['res'] + } + } +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..cf7e0aa --- /dev/null +++ b/gradle.properties @@ -0,0 +1,22 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Settings specified in this file will override any Gradle settings +# configured through the IDE. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx10248m -XX:MaxPermSize=256m +# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + +GROUP=com.github.androidnerds +VERSION=1.5 +ARTIFACT_ID=logger diff --git a/res/layout/activity_logger.xml b/res/layout/activity_logger.xml new file mode 100644 index 0000000..4d42c52 --- /dev/null +++ b/res/layout/activity_logger.xml @@ -0,0 +1,7 @@ + diff --git a/res/layout/fragment_logger.xml b/res/layout/fragment_logger.xml new file mode 100644 index 0000000..1f0ebe7 --- /dev/null +++ b/res/layout/fragment_logger.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/layout/main.xml b/res/layout/main.xml deleted file mode 100644 index 25d65d2..0000000 --- a/res/layout/main.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - diff --git a/res/menu/menu_logger.xml b/res/menu/menu_logger.xml new file mode 100644 index 0000000..5157162 --- /dev/null +++ b/res/menu/menu_logger.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + diff --git a/res/values-w820dp/dimens.xml b/res/values-w820dp/dimens.xml new file mode 100644 index 0000000..63fc816 --- /dev/null +++ b/res/values-w820dp/dimens.xml @@ -0,0 +1,6 @@ + + + 64dp + diff --git a/res/values/dimens.xml b/res/values/dimens.xml new file mode 100644 index 0000000..47c8224 --- /dev/null +++ b/res/values/dimens.xml @@ -0,0 +1,5 @@ + + + 16dp + 16dp + diff --git a/res/values/strings.xml b/res/values/strings.xml index 6a6c198..425c05f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1,5 +1,16 @@ - Hello World, Logger! Logger + + Logs + + Search + Filter by loglevel + Filter by tag + Filter by app + Log format + Select Buffer + Email Log + Save Log + Select Log diff --git a/res/values/themes.xml b/res/values/themes.xml new file mode 100644 index 0000000..63cf638 --- /dev/null +++ b/res/values/themes.xml @@ -0,0 +1,4 @@ + + +