diff options
| author | Trevor Johns <trevorjohns@google.com> | 2014-10-17 03:31:00 -0700 |
|---|---|---|
| committer | Trevor Johns <trevorjohns@google.com> | 2014-10-17 03:31:00 -0700 |
| commit | 6876a9cfc5eb05168ae7fa5215979f22396fff58 (patch) | |
| tree | b991f731cfe7256f3cef6a9e55d6b3174cf2e05f /samples/browseable/FloatingActionButtonBasic/res/values | |
| parent | 66b6f721b7e20911f0764720346caca5c77fb22b (diff) | |
| download | android_development-6876a9cfc5eb05168ae7fa5215979f22396fff58.tar.gz android_development-6876a9cfc5eb05168ae7fa5215979f22396fff58.tar.bz2 android_development-6876a9cfc5eb05168ae7fa5215979f22396fff58.zip | |
Add browseable samples for L SDK release
Change-Id: I71c6ff9a90b7734042d68af7f01e6d61118cc508
Diffstat (limited to 'samples/browseable/FloatingActionButtonBasic/res/values')
6 files changed, 167 insertions, 0 deletions
diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml b/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml new file mode 100644 index 000000000..2eea10e69 --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2013 The Android Open Source Project + + 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. +--> +<resources> + <string name="app_name">FloatingActionButtonBasic</string> + <string name="intro_message"> + <![CDATA[ + + + This sample shows the two sizes of Floating Action Buttons and how to interact with + them. + + + ]]> + </string> +</resources> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/colors.xml b/samples/browseable/FloatingActionButtonBasic/res/values/colors.xml new file mode 100644 index 000000000..141b1f597 --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/colors.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2014, The Android Open Source Project + + 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. +--> +<resources> + <color name="fab_color_1">#ff5252</color> + <color name="fab_color_1_muted">#ff8080</color> + <color name="fab_color_2">#9c27b0</color> + <color name="fab_color_2_muted">#a56ab0</color> +</resources>
\ No newline at end of file diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/dimens.xml b/samples/browseable/FloatingActionButtonBasic/res/values/dimens.xml new file mode 100644 index 000000000..f063937a7 --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/dimens.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright 2014, The Android Open Source Project + + 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. +--> +<resources> + <dimen name="fab_elevation">2dp</dimen> + <dimen name="fab_press_translation_z">2dp</dimen> + <dimen name="fab_size">56dp</dimen> + <dimen name="fab_size_small">40dp</dimen> + <dimen name="fab_icon_size">24dp</dimen> +</resources> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/fragmentview_strings.xml b/samples/browseable/FloatingActionButtonBasic/res/values/fragmentview_strings.xml new file mode 100755 index 000000000..7b9d9ec4f --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/fragmentview_strings.xml @@ -0,0 +1,19 @@ +<!-- + Copyright 2013 The Android Open Source Project + + 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. +--> +<resources> + <string name="sample_show_log">Show Log</string> + <string name="sample_hide_log">Hide Log</string> +</resources> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/template-dimens.xml b/samples/browseable/FloatingActionButtonBasic/res/values/template-dimens.xml new file mode 100644 index 000000000..39e710b5c --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/template-dimens.xml @@ -0,0 +1,32 @@ +<!-- + Copyright 2013 The Android Open Source Project + + 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. + --> + +<resources> + + <!-- Define standard dimensions to comply with Holo-style grids and rhythm. --> + + <dimen name="margin_tiny">4dp</dimen> + <dimen name="margin_small">8dp</dimen> + <dimen name="margin_medium">16dp</dimen> + <dimen name="margin_large">32dp</dimen> + <dimen name="margin_huge">64dp</dimen> + + <!-- Semantic definitions --> + + <dimen name="horizontal_page_margin">@dimen/margin_medium</dimen> + <dimen name="vertical_page_margin">@dimen/margin_medium</dimen> + +</resources> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/template-styles.xml b/samples/browseable/FloatingActionButtonBasic/res/values/template-styles.xml new file mode 100644 index 000000000..6e7d593dd --- /dev/null +++ b/samples/browseable/FloatingActionButtonBasic/res/values/template-styles.xml @@ -0,0 +1,42 @@ +<!-- + Copyright 2013 The Android Open Source Project + + 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. + --> + +<resources> + + <!-- Activity themes --> + + <style name="Theme.Base" parent="android:Theme.Light" /> + + <style name="Theme.Sample" parent="Theme.Base" /> + + <style name="AppTheme" parent="Theme.Sample" /> + <!-- Widget styling --> + + <style name="Widget" /> + + <style name="Widget.SampleMessage"> + <item name="android:textAppearance">?android:textAppearanceMedium</item> + <item name="android:lineSpacingMultiplier">1.1</item> + </style> + + <style name="Widget.SampleMessageTile"> + <item name="android:background">@drawable/tile</item> + <item name="android:shadowColor">#7F000000</item> + <item name="android:shadowDy">-3.5</item> + <item name="android:shadowRadius">2</item> + </style> + +</resources> |
