Added borderless button style
This commit is contained in:
parent
409fcee753
commit
27f34cac6e
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true"><shape android:shape="rectangle">
|
||||
<solid android:color="#33B5E5" />
|
||||
</shape></item>
|
||||
<item android:state_focused="true"><shape android:shape="rectangle">
|
||||
<solid android:color="#33B5E5" />
|
||||
</shape></item>
|
||||
<item><shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/transparent" />
|
||||
</shape></item>
|
||||
|
||||
</selector>
|
|
@ -18,6 +18,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="More"
|
||||
android:background="@drawable/borderless_button"
|
||||
android:layout_alignParentRight="true"
|
||||
android:focusable="false"
|
||||
/>
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
android:id="@+id/butRev"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/borderless_button"
|
||||
android:src="@android:drawable/ic_media_rew" />
|
||||
|
||||
<ImageButton
|
||||
|
@ -65,12 +66,14 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="8"
|
||||
android:background="@drawable/borderless_button"
|
||||
android:src="@android:drawable/ic_media_pause" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butFF"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/borderless_button"
|
||||
android:src="@android:drawable/ic_media_ff" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in New Issue