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.
main
dece 2 years ago
parent e077a3f4c5
commit f9c341c35a

@ -3,6 +3,4 @@
android:id="@+id/text_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/CometText"
android:textColor="@color/link"
android:textIsSelectable="false" />
style="@style/CometLink" />

@ -9,4 +9,9 @@
<item name="android:paddingBottom">4dp</item>
<item name="android:textIsSelectable">true</item>
</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>
Loading…
Cancel
Save