summaryrefslogtreecommitdiff
path: root/JustForUs/justforus/src/main/res/drawable/overlay_bg.xml
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2014-02-07 19:03:11 -0800
committerKatherine Kuan <katherinekuan@google.com>2014-02-11 18:06:42 -0800
commit601ab11519a115ae3cdcffa2705a138390f0a634 (patch)
treea6cd2b720322726429c9fdc8f9ac97b9e474cc50 /JustForUs/justforus/src/main/res/drawable/overlay_bg.xml
parenta7254542b06878f0c3b34a6c3d91b9e7d3990f74 (diff)
downloaddemos-601ab11519a115ae3cdcffa2705a138390f0a634.tar.gz
Add JustForUs application
- Sample app that displays a GridView of coupons for Valentine's Day DevByte - Responsive layout (# of grid columns change based on device width) - Use AssetProvider to share images Change-Id: I6035446883938ad16f973c572e1aca059b54c8d2
Diffstat (limited to 'JustForUs/justforus/src/main/res/drawable/overlay_bg.xml')
-rw-r--r--JustForUs/justforus/src/main/res/drawable/overlay_bg.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/JustForUs/justforus/src/main/res/drawable/overlay_bg.xml b/JustForUs/justforus/src/main/res/drawable/overlay_bg.xml
new file mode 100644
index 0000000..23d9882
--- /dev/null
+++ b/JustForUs/justforus/src/main/res/drawable/overlay_bg.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 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.
+-->
+<!-- Gradient for an overlay on an image -->
+<shape
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <gradient
+ android:startColor="@color/overlay_bg_color"
+ android:endColor="@android:color/transparent"
+ android:angle="90"/>
+</shape>