aboutsummaryrefslogtreecommitdiff
path: root/local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml
diff options
context:
space:
mode:
Diffstat (limited to 'local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml')
-rw-r--r--local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml b/local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml
new file mode 100644
index 00000000..6623f6ec
--- /dev/null
+++ b/local-support/v17/leanback/res/drawable-v21/lb_control_button_secondary.xml
@@ -0,0 +1,37 @@
+<?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.
+-->
+
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="@color/lb_control_button_color" >
+
+ <item android:id="@android:id/mask">
+ <selector android:constantSize="true" >
+ <item android:state_focused="true">
+ <shape android:shape="oval" >
+
+ <!-- Color not used since this is a ripple mask -->
+ <solid android:color="#000000" />
+
+ <size
+ android:height="@dimen/lb_control_button_secondary_diameter"
+ android:width="@dimen/lb_control_button_secondary_diameter" />
+ </shape>
+ </item>
+ </selector>
+ </item>
+
+</ripple> \ No newline at end of file