Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit fea3b943e3bd5341553b11c317081f3cd2a46cc9
Author: alekshaecky <[email protected]>
Date:   Mon Mar 12 13:24:24 2018 -0700

    Updated and ready to publish.

    Change-Id: I56529154b108d207610872add4722dc3ccb236f6

commit 1f0c219f073de9f42ed218fb902f18d929664174
Merge: b697dd5 444e0af
Author: Tony Bove <[email protected]>
Date:   Fri Feb 9 19:01:15 2018 +0000

    Merge "CustomFanChallenge Team Review 2"

commit b697dd5bdcf2dcc523dceb079f1e2b55f3a09f4a
Author: Tony Bove <[email protected]>
Date:   Mon Jan 22 11:42:43 2018 -0800

    CustomFanControllerSettings - Full code final review

    Fixed comments and options menu code. Ready for final review.

    Change-Id: I87b29408eead0a3ad654281400a05302de49faf6

commit 2e7d23668eed56792dc8947d882b75f16c482b9b
Author: Tony Bove <[email protected]>
Date:   Thu Jan 4 13:05:57 2018 -0800

    CustomFanControllerSettings enhanced

    Adds to CustomFanController the ability to choose
    from 3 to 9 dial selections in the options menu.

    Change-Id: I4333e549c3ea118a7529070af0c7e637495b9ce8

commit 444e0af6aea02dff78a034c89ddc45b927d7a918
Author: Tony Bove <[email protected]>
Date:   Tue Jan 2 14:33:50 2018 -0800

    CustomFanChallenge Team Review 2

    Team Review 1 changes made.

    Challenge app based on CustomFanController (approved)
    Uses custom color attributes.

    Change-Id: I9d1be9fe6fe58677122a1bd5b5a66655537b1a9d

commit c2ce5acbbf1a3ad6cf83d69ea752f575d387bcc7
Author: alekshaecky <[email protected]>
Date:   Thu Nov 2 11:16:01 2017 -0700

    move to starter apps

    Change-Id: I19008fb654e64f5ffe64f3e7a84449f3c9c076f5

commit 5e0453d36ecd2cb263a8cbb276a62595bf637726
Merge: be952e6 7b98377
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 18:13:37 2017 +0000

    Merge "Wander - Expert Review"

commit be952e6f96dc32e254a80d159e1e3eb0baeb638f
Merge: 04ffdce 6ec3158
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 18:13:28 2017 +0000

    Merge "Walk My Android - Starter Code - Expert Review"

commit 04ffdce3f97faddbedfa7ac562309d5e8e2127a8
Merge: e2f7b0e 79872e3
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 18:13:16 2017 +0000

    Merge "WalkMyAndroidPlaces - Starter Code"

commit e2f7b0e2de76e927461d3e00dc908a94a4121a8e
Merge: a4fb702 720c887
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 18:12:59 2017 +0000

    Merge "WalkMyAndroidPlaces - Challenge Solution"

commit a4fb7020661d87dd4d635ff4f286638f9e43e930
Merge: 34f8aec 8c5fb09
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 17:57:55 2017 +0000

    Merge "Walk My Android - Solution - Expert Review 2"

commit 34f8aec92656abb76237ed01f9a2ed1b3628b615
Merge: d4db38d d1d2ebf
Author: Aleks Haecky <[email protected]>
Date:   Thu Nov 2 17:57:27 2017 +0000

    Merge "WalkMyAndroidPlaces - Solution"

commit d4db38d10153783195d24c43d5a2d51c11cb2d59
Author: alekshaecky <[email protected]>
Date:   Thu Nov 2 09:48:32 2017 -0700

    Move to starter apps.

    Change-Id: I4ddd7ff35c6136fc55ec8acaea01ccd2ee606c7d

commit 720c887c7c63eea03e9d9aee7d99febb4135d376
Author: Nikita Gamolsky <[email protected]>
Date:   Wed Nov 1 19:39:43 2017 -0700

    WalkMyAndroidPlaces - Challenge Solution

    Change-Id: Ife1d9e175caa0d99c4cccdb356c9454bcb703796

commit d1d2ebf49a3580675fd2b6b1ec727650cafec790
Author: Nikita Gamolsky <[email protected]>
Date:   Wed Nov 1 19:29:46 2017 -0700

    WalkMyAndroidPlaces - Solution

    Change-Id: I4f332810928697d5b1595540806be8cb0399664e

commit 79872e38c6acab0aadb514285bdf9d3e165de45b
Author: Nikita Gamolsky <[email protected]>
Date:   Wed Nov 1 19:21:38 2017 -0700

    WalkMyAndroidPlaces - Starter Code

    Change-Id: I588f78b1f3c1c10e15b2f61fd3441bed45d2c8ad

commit 6ec3158d5f3435d24824c5cb504fd55f1eea4d78
Author: Nikita Gamolsky <[email protected]>
Date:   Wed Nov 1 19:09:33 2017 -0700

    Walk My Android - Starter Code - Expert Review

    Change-Id: Ia3fe20a0747b8785a6df83510374a9455c2808e5

commit 8c5fb09329f3c1e4a05ef4fe3493a74cf2080e01
Author: Nikita Gamolsky <[email protected]>
Date:   Fri Aug 11 13:10:35 2017 -0700

    Walk My Android - Solution - Expert Review 2

    Change-Id: I0d856b3483fdeebf403cc536cadbfc9e27a59ddf

commit 3d598a4ef5e53c64e24d16d67b4e2c0571933a14
Author: alekshaecky <[email protected]>
Date:   Tue Oct 31 14:47:33 2017 -0700

    Small fixes.

    Change-Id: I23b4f377f5216d72cdee85938a8192a4d6f996dd

commit 4f4cd1ccf43f5d3447c971735a34a142a7aebfa5
Author: alekshaecky <[email protected]>
Date:   Mon Oct 30 14:27:41 2017 -0700

    Add top-level README file

    Change-Id: I6b9540088b6c317d02db7537df13c9661db9b8d1

commit d36a372ae3a698441949313684f4e51be6dd4d79
Merge: 0595475 6ff59b9
Author: Aleks Haecky <[email protected]>
Date:   Mon Oct 30 18:31:27 2017 +0000

    Merge "Fix folder weirdness. Test apps and update to AS beta7."

commit 6ff59b9c18d08ce198c028c4a48ac2f559530912
Author: alekshaecky <[email protected]>
Date:   Mon Oct 30 10:44:58 2017 -0700

    Fix folder weirdness. Test apps and update to AS beta7.

    Change-Id: Icea1b663199c1561869f958d07defe65689e497d

commit 05954756e152d3f4a9951ed506724c6cd6cd63fa
Author: alekshaecky <[email protected]>
Date:   Thu Oct 26 18:23:04 2017 -0700

    added license text

    Change-Id: I8aa1157c48938fe4a13af242b06b75232f532fb1

commit ddb00e6e1b6ba98b209d8e7aebbad6283572a61a
Author: alekshaecky <[email protected]>
Date:   Tue Oct 24 12:02:13 2017 -0700

    Fixed CC License.

    Change-Id: Ica49488761eb9c8eea1f3f93f41b167d2defb026

commit fda784dc582091fa0201297f4b6a12ae81fda117
Author: Laura Lemay <[email protected]>
Date:   Thu Sep 28 15:52:23 2017 -0700

    Resync all final app edits

    Change-Id: I0864c3f40cf32e8866e7479d3cfceabf75e7de2d

commit c36ab5ee3664e25eb55e0e2f300ab94bf63162e8
Merge: 2596662 5ff9434
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:45:24 2017 +0000

    Merge "CustomEditText - Expert Review 3"

commit 2596662b2e78d884955fe52f28afec9a5d8c7a67
Merge: 56d5e90 d163714
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:45:14 2017 +0000

    Merge "FragmentCommunicate - Final2"

commit 56d5e901c73bbbc1f2712bd22d9627c2af060595
Merge: e556b4c 813f64e
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:44:58 2017 +0000

    Merge "FragmentExample2 -- Final"

commit e556b4cb258925f1e9c2a5e372fe192a69ce5983
Merge: a7f8764 4fe2cf6
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:44:41 2017 +0000

    Merge "FragmentExample1_challenge - Final"

commit a7f8764cc10717da5a815c6593a2e573e1477ebc
Merge: 1ad1b0c c180909
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:44:24 2017 +0000

    Merge "FragmentExample1 - Final"

commit 1ad1b0c8c592bbcfbc2cd42f7d043f581da08714
Merge: 9455c6e f20efbb
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:44:08 2017 +0000

    Merge "ScorekeepLocale - Expert Review 3"

commit 9455c6e2e6582244bcb988bffe103bcff699e418
Merge: 1508a77 e3b249d
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 21:43:57 2017 +0000

    Merge "LocaleRecyclerView - Expert Review 3"

commit f20efbbaa83f4701393103fa68865505ea5478a0
Author: Tony Bove <[email protected]>
Date:   Tue Jun 13 14:45:38 2017 -0700

    ScorekeepLocale - Expert Review 3

    Expert Review 2: Changes done. Variable names fixed, FLAG_ACTIVITY_CLEAR_TOP added.

    Expert Review 1 (7/18/2017): Changes done.

    Team Review (6/23/2017): Changes done.

    Keeps score with plus and minus buttons. Challenge solution code
    for localizing into Hebrew (RTL language) and Afrikaan, changing
    colors and text styles.

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1r-ZsYgT72RvZeBHc6bIBLmYh7WEP1ZeHDhZVRLtA2VU/edit?usp=sharing

    Change-Id: Id81a477d29c3e1380e1872aacd958cbcf0bc66b2

commit c180909f4dc7cbaf860c1ec1516a78242b740d51
Author: Tony Bove <[email protected]>
Date:   Mon Jun 19 16:41:47 2017 -0700

    FragmentExample1 - Final

    Expert Review 3 changes made, LGTM received.
    Review 2 changes made, including:
    Removed final on TextView declaration and other minor changes.

    Expert Review 1 changes made, including:
    Supports SDK 26 (added maven) and 26-level dependencies
    Image set to centerCrop to support scaling for different screens

    Team Review completed, all changes made.

    Uses a static fragment to show radio buttons for choosing
    "yes" or "no" for a question.

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1fN2cDL_j9ZY7QwBtE42zYcTzYma_fYakpuVFUan4e_c/edit?usp=sharing

    Change-Id: I4260cdd8bbde7df7d04ca7ee2ea90a329158e11a

commit 4fe2cf6e30a6436cd36cf5ac496407b4a1b2482a
Author: Tony Bove <[email protected]>
Date:   Mon Jun 19 16:50:19 2017 -0700

    FragmentExample1_challenge - Final

    Expert Review 3 changes made, LGTM received.
    Review 2 changes made, including all
    changes from FragmentExample1.

    Expert Review 1 changes made, including:
    Uses only one fragment.
    Adds another question and RatingsBar to the fragment.
    All comments from FragmentExample1 addressed.

    Team Review completed, all changes made.

    Adds a second static fragment to FragmentExample1 that enables
    users to respond to a second question as feedback for the article.

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1fN2cDL_j9ZY7QwBtE42zYcTzYma_fYakpuVFUan4e_c/edit?usp=sharing

    Change-Id: Ib12a7b5839c962ba1420ded7c4cc95c9b22a18b3

commit 813f64eaf0e75faa2ee0f33e246b9a175c7170f5
Author: Tony Bove <[email protected]>
Date:   Mon Jun 19 16:55:58 2017 -0700

    FragmentExample2 -- Final

    Expert Review 3 changes made, LGTM received.
    Fix for configuration change (vertical to horizontal).
    Uses one Button for open/close.

    Added vars for Open and Close buttons and moved findviewbyid
    to onCreate() in MainActivity.

    Expert Review 1 changes made, including:
    Close fragment button now in MainActivity
    Open and Close button visibility control
    Uses best practice fragment instantiation pattern
    Includes all changes from FragmentExample1

    Team Review completed, all changes made.

    Uses a dynamic fragment to show a feedback question with
    radio buttons for "yes" or "no" answer.

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1fN2cDL_j9ZY7QwBtE42zYcTzYma_fYakpuVFUan4e_c/edit?usp=sharing

    Change-Id: I5080bfc0b17e09a6aeec63348f19b714d2c5bd89

commit d1637140934fc1b81f25ec12c8577bea1977e25c
Author: Tony Bove <[email protected]>
Date:   Wed Jun 21 09:36:45 2017 -0700

    FragmentCommunicate - Final2

    Final change made to use string in exception message.

    Expert Review 3.1 changes made, LGTM received.
    Changed radio button pre-check from a switch case
    block to single statement.

    Review 2 changes made, including all
    changes to FragmentExample2.

    Expert Review 1 changes made, including:
    Uses best practice fragment instantiation pattern
    Added constants and renamed variables
    Moved bundle code to instantiate() in SimpleFragment

    Team Review completed, all changes made.

    Saves the radio-button choice the user makes in FragmentExample2
    so that the choice is already selected when the user opens the
    fragment again.

    Covered in:
    https://docs.google.com/a/google.com/document/d/16uq9i2Ud15QSsTB8bT4rAE65G3c6zOREyYaE-zzU-ko/edit?usp=sharing

    Change-Id: I870f829ed962b4f33a05018761c6e3da1876e55b

commit 5ff9434926a308c322e78e168efe4cadcfca76c6
Author: Tony Bove <[email protected]>
Date:   Wed Jul 5 10:56:49 2017 -0700

    CustomEditText - Expert Review 3

    Changes made after +2:
    Rename/refactored myEditText to my_edit_text
    Rename/refactored targetHit to isClearButtonClicked
    onTouch() method: fixed RTL bug with code to detect
    touch on button start and end.
    onTextChanged(): deleted check for empty string (not needed).
    Uses buildToolsVersion "25.0.3"

    Expert Review 1 changes done (7/25/2017). App now supports RTL languages.

    Team Review changes done (7/21/2017).

    Demonstrates how to make a custom text editing view that includes an X
    (Clear) button for clearing the entered text.

    Covered in:
    https://docs.google.com/a/google.com/document/d/1UQ5meUruP-E_IILxiJ0Ik2hECiBVEjZcNerNc5vdOKM/edit?usp=sharing

    Change-Id: I038b8affd67503d8ef8b272ca099dde030ca7d82

commit 1508a77fead5831b39f7fff8afce2e06ad32b6e9
Merge: 0e74015 e89a0eb
Author: Tony Bove <[email protected]>
Date:   Wed Sep 27 16:50:37 2017 +0000

    Merge "Custom Fan Controller - Merge Fix"

commit e89a0eb94ec877b4b986de9a46acad847a83288d
Author: Tony Bove <[email protected]>
Date:   Tue Sep 26 17:33:07 2017 -0700

    Custom Fan Controller - Merge Fix

    New branch with approved CustomFanController app.

    Change-Id: Icdeb8d35677965e34c44fb2763f0fa097cff3520

commit 0e7401523d7ea9ddea84ee84ac0fbcf39206a21b
Author: Tony Bove <[email protected]>
Date:   Wed Jul 5 11:05:48 2017 -0700

    CustomFanControllerChallenge - Expert Review 3

    Expert Review 2 changes done.

    Expert Review 1 changes done (7/25/2017).

    Team Review changes done (7/21/2017).

    Defines a custom attribute for CustomFanController and a Switch Colors
    button to switch to alternate colors for the dial and text.

    Covered in:
    https://docs.google.com/a/google.com/document/d/1UQ5meUruP-E_IILxiJ0Ik2hECiBVEjZcNerNc5vdOKM/edit?usp=sharing

    Change-Id: I60c03fea047b3642f6c7251301187891b2f76c64

commit e3b249dbb581ddc707ea7b57f5061d3a5edbb474
Author: Tony Bove <[email protected]>
Date:   Tue Jun 13 14:41:22 2017 -0700

    LocaleRecyclerView - Expert Review 3

    Expert Review 2: Changed statement to
    getResources().getString(R.string.word, wordListSize)

    Did not use %s after running into a problem with my French string.

    Expert Review 1 all changes made.

    Team Review (6/23/2017): Changed French translation.

    Displays a clickable word list to demonstrate RecyclerView.
    This version localized for French and Hebrew (RTL language).

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1SyuenuK95XQPhSJ2PlfEZQRkSfCabiYV8v6hWLvbE8A/edit?usp=sharing

    Change-Id: I310138d073a8d4c9851e8c979d937c1a5fd44d2e

commit 3f78569efbfcd75e334cbe419524f2a8079501f9
Merge: 2ccf6e0 f006aac
Author: Tony Bove <[email protected]>
Date:   Tue Sep 26 23:30:20 2017 +0000

    Merge "SongDetail - Final Review"

commit 2ccf6e00ca52b77d91dbfca15e771f537721ab89
Author: Tony Bove <[email protected]>
Date:   Tue Jun 13 14:34:08 2017 -0700

    LocaleText3 - Final Review

    Expert Review 3 change done. Please review for +1 and +2.

    Expert Review 2 changes done. Please review for +1.

    All changes made from Expert Review 1 (7/17/2017).
    Fixed variables, time calculation, and try/catch exception.

    Team Review (6/23/2017): Changed FAB in MainActivity to launch HelpActivity,
    and added Javadocs and other minor fixes.

    Full version of LocaleText that converts a date, number, and currency format
    for the user's chosen locale, and includes an RTL language (Hebrew)
    as well as LTR languages.

    Covered in lesson:
    https://docs.google.com/a/google.com/document/d/1SyuenuK95XQPhSJ2PlfEZQRkSfCabiYV8v6hWLvbE8A/edit?usp=sharing

    Change-Id: Ie1e100ed3cec858de072cbdf423de108c6ebeea4

commit a5c45642c134079860a146396241696a6228f063
Author: Tony Bove <[email protected]>
Date:   Tue Jun 13 14:27:29 2017 -0700

    LocaleText2 - Final Review

    Expert Review 1+ changes done

    Fixed missing change from Expert Review 1.

    Team Review changes done.

    Changes from LocaleText3 incorporated into LocaleText2.

    Intermediate Code for LocaleText3

    Adds the Languages menu item for switching languages to LocaleText1.

    Covered in this lesson:
    https://docs.google.com/a/google.com/document/d/1SyuenuK95XQPhSJ2PlfEZQRkSfCabiYV8v6hWLvbE8A/edit?usp=sharing

    Change-Id: If99734583c2ab9e13a88a0d72e24d9c6c6e141bd

commit f006aac28742a70278bed16688a111e0cdb40018
Author: Tony Bove <[email protected]>
Date:   Wed Jun 21 10:38:12 2017 -0700

    SongDetail - Final Review

    Expert Review 1 completed, nits fixed. ReadMe and data "bootleg" fixed.

    Added addToBackStack in MainActivity to allow 2-pane user to
    reverse actions, and removed unused variable from SongDetailActivity.

    Needed to delete older Songs files.

    Using newInstance() pattern in SongDetailActivity as well as
    in MainActivity. Also improved var names.

    Using newInstance() best practice to create new fragment instance.
    Bundle put together in fragment.

    Formerly called Songs.
    Expert Review 1 of FragmentExample2 changes also completed
    in this app.

    Team Review 2 line-length adjustments completed.

    Team Review 2 completed, SongsUtil class created, all other
    changes made.

    DummyContent folder renamed to content.
    Renamed constants and variables to improve readability.

    Implements a two-pane master/detail layout for a horizontal tablet
    display, showing a song list and song details. It provides the
    song list as an activity and the song detail as a fragment.

    Based on the Songs_start starter app.

    Covered in:
    https://docs.google.com/a/google.com/document/d/16uq9i2Ud15QSsTB8bT4rAE65G3c6zOREyYaE-zzU-ko/edit?usp=sharing

    Change-Id: I7ada4f63114caa036a3763932916e3e4fc32d8e8

commit dfdaed8d0dd7ebb68766046da1276c12c5535539
Merge: 0397b59 6ef2a40
Author: Tony Bove <[email protected]>
Date:   Tue Sep 26 20:22:09 2017 +0000

    Merge "LocaleText1 - Final Review"

commit 0397b59467f4ee2019b05234e1e4dc776ffe6f7c
Merge: 2bc1b76 5211daa
Author: Aleks Haecky <[email protected]>
Date:   Mon Sep 18 21:53:21 2017 +0000

    Merge "Unmucked copy of StackedViews_fixed."

commit 5211daabf0d8f4d45cd09918cc799dc16723d112
Author: alekshaecky <[email protected]>
Date:   Mon Sep 18 14:52:22 2017 -0700

    Unmucked copy of StackedViews_fixed.

    Change-Id: I560f29e7cf019ca3762b81bff80e5ed4ef648172

commit 2bc1b7681123133adee340e17b3bad0a0ba156d1
Merge: 9df6d46 5f6a3f6
Author: Aleks Haecky <[email protected]>
Date:   Mon Sep 18 21:50:09 2017 +0000

    Merge "Unmucked copy of ClippingExample."

commit 5f6a3f6de2bf0865990bee2011fa069cf66f09e5
Author: alekshaecky <[email protected]>
Date:   Mon Sep 18 14:49:31 2017 -0700

    Unmucked copy of ClippingExample.

    Change-Id: I9d2810f6c1f1ed36eacad4f70583e80013906cab

commit 9df6d46b2f8c1251181fe67c3783e4949f7cd8db
Merge: ba61f81 fd4067d
Author: Aleks Haecky <[email protected]>
Date:   Mon Sep 18 21:47:33 2017 +0000

    Merge "Unmucked copy if MemoryOverload."

commit fd4067d81423c05b1870b389e6b7f85d347a344d
Author: alekshaecky <[email protected]>
Date:   Mon Sep 18 14:46:45 2017 -0700

    Unmucked copy if MemoryOverload.

    Change-Id: I160ced24794986010550b50ecbc685a4dc7c419f

commit ba61f817d14e51213b460f097fbe39120a047a5f
Merge: 5136494 7df89cb
Author: Aleks Haecky <[email protected]>
Date:   Mon Sep 18 21:43:03 2017 +0000

    Merge "Unmucked copy of CanvasExample."

commit 7df89cb9b5f0c0157c0387b10f7858a02fe44902
Author: alekshaecky <[email protected]>
Date:   Mon Sep 18 14:41:34 2017 -0700

    Unmucked copy of CanvasExample.

    Change-Id: I25f84f3751aa667ddce56e5528ecb24472269b37

commit 51364949873b0b0d72ccf32e226ef924ab0a3b2c
Author: alekshaecky <[email protected]>
Date:   Mon Sep 18 14:16:13 2017 -0700

    Unmucked copy of SimpleCanvas.

    Change-Id: Ia46afd06a6b242a1a5aa467ef6bcd3699c7ec9bd

commit 794c9daa52762a8e259f817ee69a49bdb79ba153
Merge: 030f36f 37b6788
Author: Laura Lemay <[email protected]>
Date:   Fri Sep 1 17:56:42 2017 +0000

    Merge "AppWidgetSample - Expert review +1"

commit 030f36ff7efe731d960842f398ab4e409110c6f3
Merge: 45abc55 f0f6ee9
Author: Laura Lemay <[email protected]>
Date:   Thu Aug 31 21:41:08 2017 +0000

    Merge "SimpleAccessibility - Expert review"

commit 45abc55f0e85a34fea56c0f595d580ee7f9b0c50
Merge: be628fa 0dcad58
Author: Laura Lemay <[email protected]>
Date:   Thu Aug 31 21:37:02 2017 +0000

    Merge "SensorListeners - Expert review"

commit be628fac040e21cfd936bd153bedf4546a6b4a69
Merge: b7c543a ec33359
Author: Laura Lemay <[email protected]>
Date:   Thu Aug 31 21:35:27 2017 +0000

    Merge "Sensor Survey - Expert review"

commit b7c543aafe6cc26174df6ccf9d4f4029b61f499a
Merge: 2a7a337 834d46e
Author: Laura Lemay <[email protected]>
Date:   Thu Aug 31 21:35:12 2017 +0000

    Merge "TiltSpot - Expert Review"

commit 37b67885ee0691fa7e285140eda41913411b91f0
Author: Laura Lemay <[email protected]>
Date:   Mon Jul 31 12:33:39 2017 -0700

    AppWidgetSample - Expert review +1

    Demonstrates how to create and update app widgets.  The main activity
    for the app is empty; all the functionality is in the widget.

    Update 8/31 Updates for Takeshi’s comments

    Change-Id: I3ba05ddf1ca42a1cbef0912604ed6bba95e96e49

commit 2a7a3371e49bd6f4c14b4fd2c006ec6f0f3a6c62
Merge: 448b498 7f0c7af
Author: Nikita Gamolsky <[email protected]>
Date:   Thu Aug 31 20:40:24 2017 +0000

    Merge "Remove MyAddressBook"

commit 7f0c7af389dd76eb00d279bec01eb129c6d6e89d
Author: Nikita Gamolsky <[email protected]>
Date:   Thu Aug 31 13:31:33 2017 -0700

    Remove MyAddressBook

    Change-Id: I73abe141cdf616516e6a0e2aa4651c5a2acf1d76

commit 448b49897dcfe5a7972529367d7b4878f1513554
Merge: 5992f02 cd9c360
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:14:42 2017 +0000

    Merge "PhysicsAnimation. Team Review.+fixes"

commit 5992f028f1f42a34c01d116aefee520bc252ff20
Merge: 078a3a5 c106095
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:14:34 2017 +0000

    Merge "PropertyAnimation (former: RippleEffectAnimation) Simpler & Better.+fixes"

commit 078a3a5c70aac89cf995be01ec9d1d61b0dcaf7d
Merge: 02424a2 9538e4c
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:14:23 2017 +0000

    Merge "WebPDemo. Expert Review.+Fixes."

commit 02424a25eba72c6238a1086b04f4d7fc61996c0f
Merge: 70009b3 0ac3524
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:14:13 2017 +0000

    Merge "LargeImages. Team Review. +Team changes. +Fixed."

commit 70009b36c1c4d13b01c5bd2f6a2feace61b6a12a
Merge: 105c946 fff3b67
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:13:05 2017 +0000

    Merge "StackedViews_with_overdraw. Expert review. +Fixes"

commit 105c9460d210cda689978b82693b783893664c10
Merge: 78ab197 dd6d88e
Author: Aleks Haecky <[email protected]>
Date:   Thu Aug 31 19:11:46 2017 +0000

    Merge "SurfaceViewExample. Flashlight app for review. +Dan's requested changes. +README. Small fixes. +Tony's fixes.+Jhansi's fixes."

commit 834d46ec8416a4974693a1685edcde935990b552
Author: Laura Lemay <[email protected]>
Date:   Wed Jul 26 15:18:43 2017 -0700

    TiltSpot - Expert Review

    Demonstrates the use of accelerometer and geomagnetic field
    sensors to determine device orientation.

    Update 8/30 onPause/Resume changed to onStart/Stop

    Change-Id: Ie6ff0c3c08ac3373591cb7cba902fd458be46e55

commit 0dcad58e9eb7cbb172a998df45561b81a1f61ef9
Author: Laura Lemay <[email protected]>
Date:   Thu Jun 15 15:41:23 2017 -0700

    SensorListeners - Expert review

    App to monitor and display changes in the value of the light and
    proximity sensors.  Demonstrates accessing sensors, registering
    sensor listeners, handling sensor data change callbacks.

    8/30 update onPause/Resume changed to onStop/Start for multi window mode

    Change-Id: I66d9988f5f253ffb6232a5bcbc5f2d0bba82ffdd

commit c106095b780825a3122bc392d28bdfef21e026a0
Author: alekshaecky <[email protected]>
Date:   Mon Jun 26 15:20:43 2017 -0700

    PropertyAnimation (former: RippleEffectAnimation) Simpler & Better.+fixes

    Change-Id: Ica26ffb09f8e934ce1bd14f04d3040c1366cdc35

commit ec3335934cbdf36968a59e51f2c248405529557e
Author: Laura Lemay <[email protected]>
Date:   Thu Jun 15 15:28:57 2017 -0700

    Sensor Survey - Expert review

    App to display a list the available sensors.

    8/11 Update - incorporate team review comments

    Change-Id: Ide83b181a4108d6c1a9671675f2da8f1d5dff402

commit 78ab1974a1b99e7aea8738ed9c1829ec8b699ee2
Author: Nikita Gamolsky <[email protected]>
Date:   Fri Aug 11 12:26:03 2017 -0700

    MyAddressBook - Sample for Taking Advantage of Kotlin Codelab

    Change-Id: Ic563c202f4d9ca11d7cb656946a9053d5e37d459

commit 7b98377bae0f39108f7dfcdd40bccc911964f4d6
Author: Nikita Gamolsky <[email protected]>
Date:   Wed Jul 19 14:28:05 2017 -0700

    Wander - Expert Review

    Change-Id: I5164d64f11b0d3d991219a57c70adfe2a20f45b7

commit 9538e4c57a38cf8dddc4810c96ceb015a575076d
Author: alekshaecky <[email protected]>
Date:   Mon Jun 26 14:29:16 2017 -0700

    WebPDemo. Expert Review.+Fixes.

    Change-Id: I73f9e78d6eb357e7c8e159e8633a18c902d0a8a2

commit 0ac3524e615eaf9954536a2d0ced9aace8540e7d
Author: alekshaecky <[email protected]>
Date:   Mon Jun 26 14:10:22 2017 -0700

    LargeImages. Team Review. +Team changes. +Fixed.

    Change-Id: Ic719d67d6a5e372cc41741c9d665894949c43716

commit fff3b67a1e638fa4e1b6b64f458144b286904a88
Author: alekshaecky <[email protected]>
Date:   Fri Jun 9 19:00:53 2017 -0700

    StackedViews_with_overdraw. Expert review. +Fixes

    Change-Id: Id5d350145beeb29b6f89307f6fa2cb7249571c4e

commit f0f6ee95db18e5514a2c83a309b712521442fbb9
Author: Laura Lemay <[email protected]>
Date:   Thu Jun 22 10:01:56 2017 -0700

    SimpleAccessibility - Expert review

    Demonstrates the accessibility options in Android.  Based on the
    BasicAccessibility app from Googlesamples
    https://github.com/googlesamples/android-BasicAccessibility

    Change-Id: Icccca58f8f5690105974f7ff2830b8f1cf12ae2a

commit 6ef2a405a1b30fbf44d7f52d3e827b41275c3edb
Author: Tony Bove <[email protected]>
Date:   Tue Jun 13 14:20:52 2017 -0700

    LocaleText1 - Final Review

    Expert Review 1+ changes done

    Fixed missing change from Expert Review 1.

    Team Review changes done.

    Changes from LocaleText3 incorporated into LocaleText1.

    Intermediate Code for LocaleText3
    Demonstrates how to add languages for string resources and fix RTL layouts.

    Covered in this lesson:
    https://docs.google.com/a/google.com/document/d/1FJxTgZciWytjAGsLf8zA82MHxSwnI3M_sE-X8eG2RAM/edit?usp=sharing

    Change-Id: I318910172e6a22971f022c82a7ee4e69c7ffa7b8

commit dd6d88e9c893cbd1da0ccd6c6758af4e61227553
Author: alekshaecky <[email protected]>
Date:   Wed May 31 13:27:21 2017 -0700

    SurfaceViewExample. Flashlight app for review. +Dan's requested changes. +README. Small fixes. +Tony's fixes.+Jhansi's fixes.

    Change-Id: If95ba3852c7622794aa2530d63b4f30ea2695a0b

commit cd9c36032ffa2c2c23e8c5663704a4c7c4b27000
Author: alekshaecky <[email protected]>
Date:   Wed Jun 28 15:35:07 2017 -0700

    PhysicsAnimation. Team Review.+fixes

    Change-Id: I741f700ca74d973657274eef4a164afb8de954c9

commit 83b42825f10cea763c08b0f3e2db9a1e9d236069
Author: Laura Lemay <[email protected]>
Date:   Tue Apr 18 12:05:07 2017 -0700

    Global gitignore - this is the same file from the fundamentals course.

    Change-Id: I2de2028669565114f39bbb597b0c9db7028856cb

commit b3c7f35ff200f40b1f0b031894a1bec95554d68f
Author: Naoki Ishihara <[email protected]>
Date:   Tue Apr 4 22:29:27 2017 +0000

    Initial empty repository

Change-Id: Ia492182bc6e859fa74755c41a066a614af88851d
  • Loading branch information
alekshaecky committed Mar 12, 2018
1 parent 46dedcf commit 1aa21f3
Show file tree
Hide file tree
Showing 54 changed files with 1,895 additions and 1 deletion.
1 change: 0 additions & 1 deletion CanvasExample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
36 changes: 36 additions & 0 deletions RoomWordsSample/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# How to become a contributor and submit your own code

## Contributor License Agreements

We'd love to accept your sample apps and patches! Before we can take them, we
have to jump a couple of legal hurdles.

Please fill out either the individual or corporate Contributor License Agreement
(CLA).

* If you are an individual writing original source code and you're sure you
own the intellectual property, then you'll need to sign an [individual CLA]
(https://developers.google.com/open-source/cla/individual).
* If you work for a company that wants to allow you to contribute your work,
then you'll need to sign a [corporate CLA]
(https://developers.google.com/open-source/cla/corporate).

Follow either of the two links above to access the appropriate CLA and
instructions for how to sign and return it. Once we receive it, we'll be able to
accept your pull requests.

## Contributing A Patch

1. Submit an issue describing your proposed change to the repo in question.
1. The repo owner will respond to your issue promptly.
1. If your proposed change is accepted, and you haven't already done so, sign a
Contributor License Agreement (see details above).
1. Fork the desired repo, develop and test your code changes.
1. Ensure that your code adheres to the existing style in the sample to which
you are contributing. Refer to the
[Google Cloud Platform Samples Style Guide]
(https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the
recommended coding standards for this organization.
1. Ensure that your code has an appropriate set of unit tests which all pass.
1. Submit a pull request.

203 changes: 203 additions & 0 deletions RoomWordsSample/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
Apache License
--------------

Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
74 changes: 74 additions & 0 deletions RoomWordsSample/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
RoomWordsSample
================

This repository contains the finished sample code for the
Architecture Components practical.

Introduction
------------

In May 2017 Google released the Architecture Components libraries.
Each library manages and simplifies aspects of data persistence and the
UI component lifecycle. Together, the libraries encourage a modular
app architecture that results in reduced complexity and less code.

This sample shows how to use the libraries to build
a complete basic app that implements the recommended architecture
and can be used as a template for further explorations.


Pre-requisites
--------------

* Android Studio 3.0 or later and you know how to use it.

* Make sure Android Studio is updated, as well as your SDK and Gradle.
Otherwise, you may have to wait for a while until all the updates are done.

* A device or emulator that runs API level 26

You need to be solidly familiar with the Java programming language,
object-oriented design concepts, and Android Development Fundamentals.
In particular:

* RecyclerView and Adapters
* SQLite database and the SQLite query language
* Threadig and AsyncTask
* It helps to be familiar with software architectural patterns that separate
data from the user interface, such as MVP or MVC. This codelab implements the
architecture defined in the
[Guide to App Architecture](
https://developer.android.com/topic/libraries/architecture/guide.html)

Getting Started
---------------

1. [Install Android Studio](https://developer.android.com/studio/install.html),
if you don't already have it.
2. Download the sample.
2. Import the sample into Android Studio.
3. Build and run the sample.

License
-------

Copyright 2018 Google, Inc.

All image and audio files (including *.png, *.jpg, *.svg, *.mp3, *.wav
and *.ogg) are licensed under the CC BY 4.0 license. All other files are
licensed under the Apache 2 license.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the LICENSE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
1 change: 1 addition & 0 deletions RoomWordsSample/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
39 changes: 39 additions & 0 deletions RoomWordsSample/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "com.example.android.roomwordssample"
minSdkVersion 20
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation ('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})

// Dependencies for working with Architecture components
// You'll probably have to update the version numbers in guild.gradle (Project)
implementation "android.arch.persistence.room:runtime:$rootProject.roomVersion"
annotationProcessor "android.arch.persistence.room:compiler:$rootProject.roomVersion"
androidTestImplementation "android.arch.persistence.room:testing:$rootProject.roomVersion"

implementation "android.arch.lifecycle:extensions:$rootProject.archLifecycleVersion"
annotationProcessor "android.arch.lifecycle:compiler:$rootProject.archLifecycleVersion"
}
21 changes: 21 additions & 0 deletions RoomWordsSample/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# 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 *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Loading

0 comments on commit 1aa21f3

Please sign in to comment.