0.2.0-dev Download ZIP
27 lines ·948 B Raw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="wrap_content" |
| 5 | android:background="@android:drawable/dialog_holo_dark_frame" |
| 6 | android:gravity="center_vertical" |
| 7 | android:orientation="horizontal"> |
| 8 | |
| 9 | <TextView |
| 10 | android:id="@+id/snackbar_text" |
| 11 | android:layout_width="0dp" |
| 12 | android:layout_height="wrap_content" |
| 13 | android:layout_weight="1" |
| 14 | android:text="" |
| 15 | android:textColor="@android:color/white" |
| 16 | android:textSize="14sp" |
| 17 | android:padding="8dp"/> |
| 18 | |
| 19 | <Button |
| 20 | android:id="@+id/snackbar_action" |
| 21 | android:layout_width="wrap_content" |
| 22 | android:layout_height="wrap_content" |
| 23 | android:background="#00FFFFFF" |
| 24 | android:text="Action" |
| 25 | android:textColor="#61B7FC" |
| 26 | android:paddingHorizontal="8dp"/> |
| 27 | </LinearLayout> |