summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest/res/values/styles.xml
blob: 0ffd3d7d6ce4756592e67ca962b136543e6d6a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<resources>
    <style name="ReorderTextView" parent="@android:style/TextAppearance.Medium">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">75dp</item>
        <item name="android:gravity">center</item>
    </style>
    <style name="LeftReorderTextView" parent="@style/ReorderTextView">
        <item name="android:translationX">50dp</item>
    </style>
    <style name="RightReorderTextView" parent="@style/ReorderTextView">
        <item name="android:translationX">-50dp</item>
    </style>

    <style name="TopLeftReorderTextView" parent="@style/LeftReorderTextView">
        <item name="android:background">#666</item>
        <item name="android:text">100</item>
        <item name="android:translationZ">100dp</item>
    </style>
    <style name="BottomLeftReorderTextView" parent="@style/LeftReorderTextView">
        <item name="android:background">#bbb</item>
        <item name="android:text">300</item>
        <item name="android:translationZ">300dp</item>
    </style>
    <style name="TopRightReorderTextView" parent="@style/RightReorderTextView">
        <item name="android:background">#888</item>
        <item name="android:text">200</item>
        <item name="android:translationZ">200dp</item>
    </style>
    <style name="BottomRightReorderTextView" parent="@style/RightReorderTextView">
        <item name="android:background">#ccc</item>
        <item name="android:text">400</item>
        <item name="android:translationZ">400dp</item>
    </style>
</resources>