Files
android_development/samples/SupportLeanbackDemos/res/drawable/text_bg.xml
Tim Kilbourn 04c85ceee7 Minor card tweaks for leanback demo.
- Set card size to 160x100
- Show 10 rows

Change-Id: I440eef119250d3385ce5d367ec231bfe7c0201b4
2014-04-28 15:23:48 -07:00

33 lines
1.1 KiB
XML

<?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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#FFFF0000"
android:endColor="#80FF00FF"
android:angle="45" />
<padding
android:left="7dp"
android:top="7dp"
android:right="7dp"
android:bottom="7dp" />
<size
android:height="160dp"
android:width="100dp" />
</shape>