mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 19:44:17 +01:00
Use an extended FAB in GpuDriverActivity
This commit is contained in:
parent
163f4f2014
commit
ec220c8ea9
@ -19,16 +19,17 @@
|
|||||||
android:padding="@dimen/grid_padding"
|
android:padding="@dimen/grid_padding"
|
||||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
||||||
android:id="@+id/add_driver_button"
|
android:id="@+id/add_driver_button"
|
||||||
style="@style/Widget.MaterialComponents.FloatingActionButton"
|
style="@style/Widget.MaterialComponents.ExtendedFloatingActionButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end|bottom"
|
android:layout_gravity="end|bottom"
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:contentDescription="@string/add_gpu_driver"
|
android:contentDescription="@string/add_gpu_driver"
|
||||||
android:src="@drawable/ic_add"
|
android:text="@string/install"
|
||||||
app:hoveredFocusedTranslationZ="0dp"
|
app:hoveredFocusedTranslationZ="0dp"
|
||||||
|
app:icon="@drawable/ic_add"
|
||||||
app:pressedTranslationZ="0dp" />
|
app:pressedTranslationZ="0dp" />
|
||||||
|
|
||||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||||
|
@ -89,6 +89,7 @@
|
|||||||
<string name="delete_gpu_driver">Delete this GPU driver</string>
|
<string name="delete_gpu_driver">Delete this GPU driver</string>
|
||||||
<string name="system_driver">System Driver</string>
|
<string name="system_driver">System Driver</string>
|
||||||
<string name="system_driver_desc">The GPU driver provided by your system</string>
|
<string name="system_driver_desc">The GPU driver provided by your system</string>
|
||||||
|
<string name="install">Install</string>
|
||||||
<string name="gpu_driver_install_inprogress">Installing the GPU driver…</string>
|
<string name="gpu_driver_install_inprogress">Installing the GPU driver…</string>
|
||||||
<string name="gpu_driver_install_success">GPU driver installed successfully</string>
|
<string name="gpu_driver_install_success">GPU driver installed successfully</string>
|
||||||
<string name="gpu_driver_install_invalid_archive">Failed to unzip the provided driver package</string>
|
<string name="gpu_driver_install_invalid_archive">Failed to unzip the provided driver package</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user