• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<resources>
2    <style name="ReorderTextView" parent="@android:style/TextAppearance.Medium">
3        <item name="android:background">@drawable/appwidget_background</item>
4        <item name="android:layout_width">300dp</item>
5        <item name="android:layout_height">100dp</item>
6        <item name="android:gravity">center</item>
7    </style>
8    <style name="LeftReorderTextView" parent="@style/ReorderTextView">
9        <item name="android:translationX">50dp</item>
10        <item name="android:layout_alignParentLeft">true</item>
11    </style>
12    <style name="RightReorderTextView" parent="@style/ReorderTextView">
13        <item name="android:translationX">-50dp</item>
14        <item name="android:layout_alignParentRight">true</item>
15    </style>
16
17    <style name="TopLeftReorderTextView" parent="@style/LeftReorderTextView">
18        <item name="android:text">200</item>
19        <item name="android:translationZ">200dp</item>
20        <item name="android:layout_alignParentTop">true</item>
21    </style>
22    <style name="BottomLeftReorderTextView" parent="@style/LeftReorderTextView">
23        <item name="android:text">300</item>
24        <item name="android:translationZ">300dp</item>
25        <item name="android:layout_alignParentBottom">true</item>
26    </style>
27    <style name="TopRightReorderTextView" parent="@style/RightReorderTextView">
28        <item name="android:text">100</item>
29        <item name="android:translationZ">100dp</item>
30        <item name="android:layout_alignParentTop">true</item>
31    </style>
32    <style name="BottomRightReorderTextView" parent="@style/RightReorderTextView">
33        <item name="android:text">400</item>
34        <item name="android:translationZ">400dp</item>
35        <item name="android:layout_alignParentBottom">true</item>
36    </style>
37
38    <style name="ThemeColoredShadows" parent="@android:style/Theme.Material.Light">
39        <!--
40        <item name="android:ambientShadowAlpha">0</item>
41        <item name="android:spotShadowAlpha">1</item>
42        -->
43    </style>
44</resources>
45