Skip to content

Commit

Permalink
Develop (#5)
Browse files Browse the repository at this point in the history
* Develop (#2)

* Added logic to preserve settings when screen is rotated

* Cleaned up redundant code, only one listener for each button behavior (click and long click)

* Moved sound logic to Sound class to simplify code and make it more reusable.
  • Loading branch information
MattBlanco authored Sep 25, 2016
1 parent 2baed03 commit f4f2afe
Show file tree
Hide file tree
Showing 37 changed files with 122 additions and 327 deletions.
Binary file modified .gradle/2.14.1/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified .gradle/2.14.1/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/2.14.1/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file not shown.
Binary file modified .gradle/2.14.1/taskArtifacts/taskArtifacts.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/builds" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
Expand All @@ -97,6 +98,7 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\abc_ic_search_api_mtrl_alpha.png",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable-hdpi\\abc_ic_search_api_mtrl_alpha.png"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\abc_btn_rating_star_off_mtrl_alpha.png",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable-hdpi\\abc_btn_rating_star_off_mtrl_alpha.png"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\abc_list_longpressed_holo.9.png",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable-hdpi\\abc_list_longpressed_holo.9.png"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\abc_btn_rating_star_off_mtrl_alpha.png",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable-hdpi\\abc_btn_rating_star_off_mtrl_alpha.png"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi-v4\\abc_list_pressed_holo_dark.9.png",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable-hdpi\\abc_list_pressed_holo_dark.9.png"
Expand Down
8 changes: 4 additions & 4 deletions app/build/intermediates/blame/res/debug/single/drawable.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable\\abc_btn_check_material.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable\\abc_btn_check_material.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable\\abc_btn_radio_material.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable\\abc_btn_radio_material.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable\\abc_list_selector_background_transition_holo_light.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable\\abc_list_selector_background_transition_holo_light.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable\\abc_btn_radio_material.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable\\abc_btn_radio_material.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\drawable\\abc_list_selector_background_transition_holo_dark.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\drawable\\abc_list_selector_background_transition_holo_dark.xml"
Expand Down
16 changes: 8 additions & 8 deletions app/build/intermediates/blame/res/debug/single/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\select_dialog_item_material.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\select_dialog_item_material.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_template_media.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_template_media.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\activity_main.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\src\\main\\res\\layout\\activity_main.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_template_media.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_template_media.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\abc_action_bar_view_list_nav_layout.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\abc_action_bar_view_list_nav_layout.xml"
Expand Down Expand Up @@ -91,14 +91,14 @@
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\abc_action_menu_item_layout.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\abc_action_menu_item_layout.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_media_cancel_action.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_media_cancel_action.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_template_lines.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_template_lines.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_media_cancel_action.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_media_cancel_action.xml"
},
{
"merged": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\res\\merged\\debug\\layout\\notification_template_big_media.xml",
"source": "C:\\Users\\Matt\\AndroidStudioProjects\\Soundboard\\app\\build\\intermediates\\exploded-aar\\com.android.support\\appcompat-v7\\22.2.1\\res\\layout\\notification_template_big_media.xml"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/build/intermediates/instant-run-support/debug/classes.zip
Binary file not shown.
Binary file modified app/build/intermediates/instant-run-support/debug/resources.zip
Binary file not shown.
Binary file modified app/build/intermediates/res/resources-debug.ap_
Binary file not shown.
10 changes: 5 additions & 5 deletions app/build/intermediates/restart-dex/debug/build-info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
api-level="23"
density="420dpi"
format="7"
timestamp="148967225313593"
timestamp="96520306960817"
token="-4397244682667360276" >

<task
name="javac"
duration="345" />
duration="384" />
<task
name="instant-run-dex"
duration="0" />
<task
name="instant-run-transform"
duration="276" />
duration="257" />
<task
name="verifier"
duration="66" />
duration="98" />

<artifact
location="C:\Users\Matt\AndroidStudioProjects\Soundboard\app\build\outputs\apk\app-debug.apk"
type="MAIN" />

<build timestamp="148967225313593" >
<build timestamp="96520306960817" >
<artifact
location="C:\Users\Matt\AndroidStudioProjects\Soundboard\app\build\outputs\apk\app-debug.apk"
type="MAIN" />
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/build/outputs/apk/app-debug-unaligned.apk
Binary file not shown.
Binary file modified app/build/outputs/apk/app-debug.apk
Binary file not shown.
Loading

0 comments on commit f4f2afe

Please sign in to comment.