Skip to content

Instantly share code, notes, and snippets.

@adam-hurwitz
Last active March 27, 2020 20:01
Show Gist options
  • Save adam-hurwitz/3227c1351da52e63a8f1cf9025acdecb to your computer and use it in GitHub Desktop.
Save adam-hurwitz/3227c1351da52e63a8f1cf9025acdecb to your computer and use it in GitHub Desktop.
RippleTextView from library
<com.ebay.customrippleview.RippleTextView
android:id="@+id/course_index"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:gravity="center"
android:paddingBottom="4dp"
android:paddingTop="4dp"
android:text="@string/course_index"
android:textColor="@android:color/white"
android:textSize="12sp"
android:textStyle="bold"
app:rippleColor="@color/ripple"
app:backgroundColor="@color/background"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment