diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-08 03:34:07 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-08 03:34:07 +0530 |
commit | ba0f3ece04c8d1f8e8d3da8f1a2b5772bbc139e2 (patch) | |
tree | 4449554e466cc12cb08c8ed0b4198e01710544f1 /ui/src/main/res | |
parent | e8ad75d92421365f4e5e376fd725cf762ba81a72 (diff) |
ui: tweak FABs to use the correct type
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res')
-rw-r--r-- | ui/src/main/res/layout/log_viewer_activity.xml | 5 | ||||
-rw-r--r-- | ui/src/main/res/layout/tunnel_list_fragment.xml | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/ui/src/main/res/layout/log_viewer_activity.xml b/ui/src/main/res/layout/log_viewer_activity.xml index 1d4a466e..b4451921 100644 --- a/ui/src/main/res/layout/log_viewer_activity.xml +++ b/ui/src/main/res/layout/log_viewer_activity.xml @@ -16,13 +16,12 @@ tools:itemCount="20" tools:listitem="@layout/log_viewer_entry" /> - <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton + <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/share_fab" - style="@style/Widget.MaterialComponents.ExtendedFloatingActionButton.Icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" - app:icon="@drawable/ic_action_share_white" /> + app:srcCompat="@drawable/ic_action_share_white" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> diff --git a/ui/src/main/res/layout/tunnel_list_fragment.xml b/ui/src/main/res/layout/tunnel_list_fragment.xml index 7b7cb4b5..277ecd01 100644 --- a/ui/src/main/res/layout/tunnel_list_fragment.xml +++ b/ui/src/main/res/layout/tunnel_list_fragment.xml @@ -66,14 +66,13 @@ android:textSize="20sp" /> </LinearLayout> - <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton + <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/create_fab" - style="@style/Widget.MaterialComponents.ExtendedFloatingActionButton.Icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" - app:icon="@drawable/ic_action_add_white" /> + app:srcCompat="@drawable/ic_action_add_white" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> </layout> |