|
31 | 31 |
|
32 | 32 | </LinearLayout> |
33 | 33 |
|
34 | | - <androidx.appcompat.widget.AppCompatTextView |
35 | | - android:id="@+id/classactivityTextViewButtonFloatVtable" |
36 | | - android:layout_width="wrap_content" |
37 | | - android:layout_height="wrap_content" |
38 | | - android:layout_alignParentEnd="true" |
39 | | - android:layout_alignParentBottom="true" |
40 | | - android:layout_marginEnd="90dp" |
41 | | - android:layout_marginBottom="120dp" |
42 | | - android:background="#CCCCCC" |
43 | | - android:text="@string/ownedVtable" |
44 | | - android:visibility="gone" /> |
45 | | - |
46 | | - <com.google.android.material.floatingactionbutton.FloatingActionButton |
| 34 | + <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton |
47 | 35 | android:id="@+id/classactivityButtonFloat" |
48 | | - android:layout_width="wrap_content" |
| 36 | + android:layout_width="130dp" |
49 | 37 | android:layout_height="wrap_content" |
50 | 38 | android:layout_alignParentEnd="true" |
51 | 39 | android:layout_alignParentBottom="true" |
52 | 40 | android:layout_marginEnd="16dp" |
53 | 41 | android:layout_marginBottom="90dp" |
54 | 42 | android:onClick="toVtableActivity" |
55 | 43 | android:src="@drawable/ic_box_blue" |
| 44 | + android:text="VTable" |
| 45 | + android:textColor="#FFF" |
56 | 46 | android:visibility="gone" |
57 | | - tools:ignore="ContentDescription,UsingOnClickInXml" /> |
| 47 | + app:backgroundTint="@color/colorAccent" |
| 48 | + app:icon="@drawable/ic_box_green" |
| 49 | + app:iconTint="#FFF" |
| 50 | + tools:ignore="UsingOnClickInXml" /> |
58 | 51 |
|
59 | | - <com.google.android.material.floatingactionbutton.FloatingActionButton |
60 | | - android:layout_width="wrap_content" |
| 52 | + <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton |
| 53 | + android:layout_width="130dp" |
61 | 54 | android:layout_height="wrap_content" |
62 | 55 | android:layout_alignParentEnd="true" |
63 | 56 | android:layout_alignParentBottom="true" |
64 | 57 | android:layout_marginEnd="16dp" |
65 | 58 | android:layout_marginBottom="16dp" |
66 | 59 | android:onClick="save" |
67 | | - android:src="@drawable/ic_download" |
| 60 | + android:text="Save" |
| 61 | + android:textColor="#FFF" |
68 | 62 | app:backgroundTint="@color/colorAccent" |
69 | | - app:tint="#FFFFFF" |
70 | | - tools:ignore="ContentDescription,UsingOnClickInXml" /> |
| 63 | + app:icon="@drawable/ic_download" |
| 64 | + app:iconTint="#FFF" |
| 65 | + tools:ignore="UsingOnClickInXml" /> |
71 | 66 |
|
72 | 67 | </RelativeLayout> |
73 | 68 |
|
0 commit comments