Commit Graph

78 Commits

Author SHA1 Message Date
Clara Bayarri
73a123fe29 Expand existing v4 Fragment receive result sample to IntentSender
am: dd31c62

* commit 'dd31c628dd73e5f24ffe38fa61217a1fd5db8b74':
  Expand existing v4 Fragment receive result sample to IntentSender

Change-Id: I994e23c61143074539bac2011428a76e3f0e8922
2016-04-25 13:35:01 +00:00
Clara Bayarri
dd31c628dd Expand existing v4 Fragment receive result sample to IntentSender
Now that we support startIntentSenderForResult, this change expands
the existing startActivityForResult sample to support both.

Bug: 27700608
Change-Id: Ib8e88b144a34b63a947257547e7453d5f0018835
2016-04-25 12:44:06 +01:00
Christopher Ferris
751b792122 Merge "Fix up the makefiles and some samples." am: 2473cab
am: d0a7343

* commit 'd0a7343e682c4f005026ba99b8227d9871650ecb':
  Fix up the makefiles and some samples.

Change-Id: I56a3636c3c299ad4ed2e2e37479f7aef94a56be3
2016-04-20 22:34:44 +00:00
Christopher Ferris
0e2da18081 Fix up the makefiles and some samples.
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.

In addition, fix a couple of other small issues:

- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.

Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07:00
Narayan Kamath
a468059de5 Support4Demos : Set LOCAL_MIN_SDK_VERSION.
Lets the app work on older android platforms (as intended).

bug: 28167936
Change-Id: If440a480a9831c85d7e3470a2cc77137f1b60223
2016-04-19 14:05:58 +01:00
Sungsoo Lim
47c8954cab Merge "Land MediaBrowserCompat sample in Support4Demos" into nyc-dev 2016-03-24 04:04:18 +00:00
Chris Banes
c099ea6b05 Improve SwipeRefreshLayout demos
am: 74cecd8

* commit '74cecd82333990bc03d6828e9d44ca2a2d45df96':
  Improve SwipeRefreshLayout demos
2016-03-21 10:09:30 +00:00
Chris Banes
74cecd8233 Improve SwipeRefreshLayout demos
Adds a nested scrolling, and non-scrolling demo

Change-Id: I5ce7e647f3ec976c55553dbc62d42889700ef444
2016-03-21 10:03:36 +00:00
Sungsoo Lim
67d3c4a873 Land MediaBrowserCompat sample in Support4Demos
Bug: 26883964
Change-Id: Ief13490dc4e497acd6160b17a0d8e3d038b75457
2016-03-21 13:35:56 +09:00
Steven Dao
6993542bfc Add role description sample to Support4Demos
Change-Id: I031d018724d7a9213de8fa2d6c1626f057946b2c
2016-02-09 00:36:27 +00:00
Kirill Grouchnikov
30d4f8f095 Remove pre-Material drawer demo apps.
Bug: 25321348
Change-Id: I30727aa62445789abe69bd809e52c20b08a000c3
2015-11-05 14:23:23 +00:00
Alan Viverette
3ba4769fb0 resolve merge conflicts of 5149c313bc to master.
Change-Id: Ie687503f9d35bc0cda15c7fd2f62633b47ceb3f3
2015-11-05 09:17:33 -05:00
Alan Viverette
8d3349a080 Add sample activity for ViewPager in Support4Demos
Bug: 23467280
Change-Id: I20453e15e5fb7b235da910d0c290641bd1c3d4c8
2015-11-04 15:31:00 -05:00
Kirill Grouchnikov
d0b4919441 Remove pre-Material drawer demo apps.
Bug: 25321348
Change-Id: I53859ee48b3821192344e70f54a7f4fc20f8d4e7
2015-11-02 13:01:41 -05:00
Kirill Grouchnikov
d4035382f2 Merge "Test app for ViewPager." into mnc-ub-dev 2015-10-28 21:04:34 +00:00
Kirill Grouchnikov
962c49c4f2 Merge "Add a comment on drawer layout file." into mnc-ub-dev am: 5493040235
am: 0dd0678142

* commit '0dd0678142057956f32a6ba3357a610b373be0ac':
  Add a comment on drawer layout file.
2015-10-28 12:58:19 +00:00
Kirill Grouchnikov
84d4654927 Add a comment on drawer layout file.
Bug: 9075592
Change-Id: I839d54ccf4a4eb82e30798408927759da247cde9
2015-10-27 17:29:45 -04:00
Kirill Grouchnikov
afeff426a9 Test app for ViewPager.
Bug: 25113163
Change-Id: Idd49f9e74831875a55ea19c5fa5e9adc732dd091
2015-10-27 13:53:56 -04:00
Todd Kennedy
156f27b34d Merge "update show/hide button" 2015-09-21 18:01:28 +00:00
Chris Banes
1bbc9765f7 am dd04e267: am 063b68ed: Add DrawableCompat demo to Support4Demos
* commit 'dd04e2673d70a1b5cfc44b7864ec01293c1e3e5e':
  Add DrawableCompat demo to Support4Demos
2015-09-06 23:10:27 +00:00
Chris Banes
063b68edf6 Add DrawableCompat demo to Support4Demos
Change-Id: Ie00198b1d4dbc0c71084961eee2387a68e39505f
2015-09-04 07:27:28 +10:00
Alan Viverette
1940845e85 Add sample activity for ViewPager in Support4Demos
Bug: 23467280
Change-Id: Ifd2ec9c46a6c4f24fd5adc291a0a4d3b484f7ab5
2015-08-24 15:41:17 -04:00
Todd Kennedy
5383dc24fc update show/hide button
A Fragment saves its hidden state. Update the text of the button
accodring to state of the Fragment.

Bug: 22666353
2015-07-23 12:31:33 -07:00
Benjamin Weiss
c84455c11f Introduce sample for RoundedBitmapDrawable
Shows how to set an image to circular using
the setCircular API.

Change-Id: Ic65b9feb74942b6bd1c9debcf88fad5935df6d67
2015-07-07 11:49:45 +01:00
Adam Powell
57d28dab0e Add sample for nested scrolling
Change-Id: Ib4969cbee1228ef3b2b0fca0fb89b87bda1db711
2015-01-30 00:21:15 +00:00
Yigit Boyar
98f71019b1 SupportV7 Navigation Bar Demo
Change-Id: I4347762a621a887ccac03372071abac5b56b52f3
2014-08-29 15:31:39 -07:00
Alan Viverette
13b90285ed Update DrawerLayout demo code to use title API
BUG: 12460402
Change-Id: Id3873bf850f4fac67593c86be9aa2e9e1adb78ba
2014-01-17 10:54:15 -08:00
Mindy Pereira
18152c7cea Swiperefresh sample
Change-Id: Ifc5736c91e61b592a010bd212752347e141849cc
2013-11-19 17:14:06 -08:00
Alan Viverette
5d5026ee66 Update Support4Demos targetSdkVersion to 19
BUG: 10752103
Change-Id: I11954c70b6b6a473a86264ea67961bb3b3a260cd
2013-10-03 17:00:16 -07:00
Alan Viverette
8a30cb9940 Fix drawer mirroring in Support4Demos
BUG: 10209321
Change-Id: I2a96fb2448a30a1635920346826f598d09decf20
2013-09-13 16:04:26 -07:00
Adam Powell
ba321696dd am e1d4743d: am 3c16ec88: Fix bugs in FragmentLayoutSupport sample in Support4Demos
* commit 'e1d4743db13fc4f99f4608876f36d0e44e3f854a':
  Fix bugs in FragmentLayoutSupport sample in Support4Demos
2013-08-12 14:02:15 -07:00
Adam Powell
3c16ec8855 Fix bugs in FragmentLayoutSupport sample in Support4Demos
Change-Id: I6b2828f8f6510e34cc11c3dc24b5022b241bd542
2013-08-12 13:50:02 -07:00
Alan Viverette
08f1ee33a1 am 19142864: am 1cb84db2: Merge "Add RTL support in Support4Demos manifest, fix DrawerLayout sample" into jb-mr2-ub-dev
* commit '19142864e826415f6be4f04a9fe125ba6d44cc54':
  Add RTL support in Support4Demos manifest, fix DrawerLayout sample
2013-08-07 13:18:49 -07:00
Alan Viverette
1cb84db2c9 Merge "Add RTL support in Support4Demos manifest, fix DrawerLayout sample" into jb-mr2-ub-dev 2013-08-06 18:11:11 +00:00
Alan Viverette
c7c384b4f6 Add RTL support in Support4Demos manifest, fix DrawerLayout sample
Change-Id: I1152ad6e49a1b1dc88a70f701bf7ed2fe882e242
2013-08-06 11:10:22 -07:00
Mindy DelliCarpini
e1d5cb5997 resolved conflicts for merge of 73a12453 to master
Change-Id: Ib6944821270b6a76272625748190926adcad8eda
2013-08-06 09:45:39 -07:00
Mindy DelliCarpini
3e28c84e96 Add sample for new ContentLoadingProgressBar.
Change-Id: I057fbe3f355030eb5d857e1a86f04302bb1e147e
2013-08-05 16:36:02 -07:00
Alan Viverette
f8506eaed1 Add sample code for ExploreByTouchHelper class.
Change-Id: Id8f0ba809746114434d553885ddfed9260bdaa45
2013-06-06 13:03:52 -07:00
Fabrice Di Meglio
9851ff9ca4 Fix bug #8656546 API REVIEW: android.text.bidi / android.text
- clean BidiFormatter APIs

Change-Id: I231a3511850b7149f675debb68e2dd7f1de8308b
2013-04-19 17:28:23 -07:00
Dianne Hackborn
3da1568ae8 Merge "Update to follow TransportMediator API changes." into jb-mr2-dev 2013-04-19 17:58:00 +00:00
Adam Powell
4f48d97441 resolved conflicts for merge of b105894b to jb-mr2-dev
Change-Id: Ifa617d1807d29e91998d98482e50bdd40ee61b1a
2013-04-19 09:35:00 -07:00
Dianne Hackborn
74c5bcff29 Update to follow TransportMediator API changes.
Change-Id: Icedd0fbe15cf84ff4d3f0c59826f698e92138b47
2013-04-18 18:26:18 -07:00
Adam Powell
98c5d4a228 Add Support4Demos examples for DrawerLayout and SlidingPaneLayout
Show basic usage of these two new widgets.

Change-Id: I1ec82041c198e2b2853a0d1eb07e0ab78dbea61c
2013-04-18 17:31:30 -07:00
Dianne Hackborn
041bfcd9e4 Fix issue #8520788: Add WakefulBroadcastReceiver
Add sample code.

Change-Id: I46f4f25ceb4e12f975e3cebd83f62de2555a8996
2013-04-17 10:33:16 -07:00
Dianne Hackborn
7cf29a7636 Update for java docs.
Change-Id: I1a34e5d3aaf2b00717d65b3487a919f237738dc2
2013-04-11 19:10:54 -07:00
Dianne Hackborn
1abc05040f Update media controller sample.
Now use the new abstractions of TransportMediator.  Guess I should
also change the name of this sample to match it...  that'll be for
a future change. :)

Change-Id: I932f8215bba51dfaa1bd5766ab9551c9dc440657
2013-04-05 19:08:48 -07:00
Dianne Hackborn
9b4e96dcb8 Improve TransportController demo.
This is an actually realistic implementation of a
video player.  It's still delibrately simple, but it's
not outright broken.  We now have our own media controller
since that is the only way to get something that actually
works, we use system UI flags to hide nav/status bar when
playing, we use the new TransportController APIs to go
into a formal playback state where we take audio focus.

Change-Id: I19ac171483637b8ee94c9c07aea39c11748cbc46
2013-04-04 18:36:56 -07:00
Dianne Hackborn
e5d68096be Move media key handling to here.
Change-Id: I6b8c66ef465640951da4b36da53e7fda00e48d20
2013-04-04 12:25:28 -07:00
Jeff Sharkey
29045946c0 Remove reference to <root-path>.
Bug: 8409523
Change-Id: I42834e33d0d664977dca9277ae364d2cf8986d07
2013-03-25 16:16:51 -07:00
Dianne Hackborn
d2655277cd Add TransportController API demo.
Change-Id: Id852ac8de1bcfbfba2d9e8557664c1aaa1e75df4
2013-03-22 14:28:52 -07:00