Skip to content

Commit

Permalink
Style undo snackbar with correct fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
suphon-t committed Oct 9, 2019
1 parent b512426 commit 4303102
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions res/layout/snackbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
-->

<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
Expand All @@ -29,7 +30,8 @@
android:ellipsize="end"
android:textSize="@dimen/snackbar_max_text_size"
android:textColor="?android:attr/textColorPrimary"
android:theme="@style/TextTitle"/>
android:theme="@style/TextTitle"
app:customFontType="text"/>
<TextView
android:id="@+id/action"
android:layout_height="@dimen/snackbar_content_height"
Expand All @@ -43,5 +45,6 @@
android:textSize="@dimen/snackbar_max_text_size"
android:textColor="?android:attr/colorAccent"
android:theme="@style/TextTitle"
android:capitalize="sentences"/>
android:capitalize="sentences"
app:customFontType="button"/>
</merge>

0 comments on commit 4303102

Please sign in to comment.