styles: attempt to change link ripple effect
Does not work; it works if we use the style as a theme (????) but won't correctly use the day/night colors then.
This commit is contained in:
parent
e077a3f4c5
commit
f9c341c35a
|
@ -3,6 +3,4 @@
|
||||||
android:id="@+id/text_view"
|
android:id="@+id/text_view"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
style="@style/CometText"
|
style="@style/CometLink" />
|
||||||
android:textColor="@color/link"
|
|
||||||
android:textIsSelectable="false" />
|
|
|
@ -9,4 +9,9 @@
|
||||||
<item name="android:paddingBottom">4dp</item>
|
<item name="android:paddingBottom">4dp</item>
|
||||||
<item name="android:textIsSelectable">true</item>
|
<item name="android:textIsSelectable">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
<style name="CometLink" parent="CometText">
|
||||||
|
<item name="android:textColor">@color/link</item>
|
||||||
|
<item name="android:textIsSelectable">false</item>
|
||||||
|
<item name="android:background">?attr/selectableItemBackground</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
Reference in a new issue