Created
August 9, 2012 08:28
-
-
Save AdilSoomro/3302314 to your computer and use it in GitHub Desktop.
iphone like tab host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:left="@dimen/tab_space" android:right="@dimen/tab_space"> | |
<shape android:shape="rectangle"> | |
<gradient android:angle="-90" android:startColor="@color/tabMedium" | |
android:endColor="@color/tabDark" /> | |
</shape> | |
</item> | |
<!-- draw tab background --> | |
<item android:bottom="26dp"> | |
<shape android:shape="rectangle"> | |
<solid android:color="@color/tabTransparent" /> | |
</shape> | |
</item> | |
<item android:left="2dp" android:top="2dp" | |
android:right="2dp" android:bottom="2dp" > | |
<shape android:shape="rectangle"> | |
<corners android:bottomLeftRadius="@dimen/corner_radius" | |
android:bottomRightRadius="@dimen/corner_radius" | |
android:topLeftRadius="@dimen/corner_radius" | |
android:topRightRadius="@dimen/corner_radius" | |
/> | |
<gradient android:angle="-90" android:startColor="#20ffffff" | |
android:endColor="#20ffffff" /> | |
</shape> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment