remove ripple effect and make buttons transparent
- they will inherit the backgrounds' color
This commit is contained in:
parent
58a50e97a1
commit
dc09b69235
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:color="@color/dark_grey">
|
|
||||||
<item android:drawable="@drawable/button_normal"/>
|
|
||||||
</ripple>
|
|
|
@ -3,7 +3,4 @@
|
||||||
<item
|
<item
|
||||||
android:drawable="@drawable/button_pressed"
|
android:drawable="@drawable/button_pressed"
|
||||||
android:state_pressed="true"/>
|
android:state_pressed="true"/>
|
||||||
<item
|
|
||||||
android:drawable="@drawable/button_normal"
|
|
||||||
android:state_pressed="false"/>
|
|
||||||
</selector>
|
</selector>
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid
|
|
||||||
android:color="@color/dark_grey"/>
|
|
||||||
</shape>
|
|
|
@ -9,6 +9,7 @@
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:background="@color/dark_grey"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1.8"
|
android:layout_weight="1.8"
|
||||||
android:background="@color/dark_grey"
|
|
||||||
android:gravity="center_vertical|right"
|
android:gravity="center_vertical|right"
|
||||||
android:lines="1"
|
android:lines="1"
|
||||||
android:paddingLeft="@dimen/activity_margin"
|
android:paddingLeft="@dimen/activity_margin"
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
<color name="colorPrimaryDark">#303F9F</color>
|
<color name="colorPrimaryDark">#303F9F</color>
|
||||||
<color name="colorAccent">#FF4081</color>
|
<color name="colorAccent">#FF4081</color>
|
||||||
<color name="dark_grey">#88000000</color>
|
<color name="dark_grey">#88000000</color>
|
||||||
<color name="dark_grey_pressed">#99000000</color>
|
<color name="dark_grey_pressed">#22000000</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue