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:
dece 2022-02-04 10:58:56 +01:00
parent e077a3f4c5
commit f9c341c35a
2 changed files with 6 additions and 3 deletions

View file

@ -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" />

View file

@ -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>