style: update inter
Update the inter font to v3.19.
This commit is contained in:
@@ -5,6 +5,10 @@ import android.util.AttributeSet
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
import com.google.android.material.R as MaterialR
|
||||
|
||||
/**
|
||||
* A FloatingActionButton that automatically switches to a normal or large FAB depending on the
|
||||
* screen size.
|
||||
*/
|
||||
@Suppress("PrivateResource")
|
||||
class AdaptiveFloatingActionButton @JvmOverloads constructor(
|
||||
context: Context,
|
||||
|
||||
@@ -4,6 +4,12 @@ import android.content.Context
|
||||
import com.google.android.material.tabs.TabLayout
|
||||
import com.google.android.material.tabs.TabLayoutMediator
|
||||
|
||||
/**
|
||||
* A tag configuration strategy that automatically adapts the tab layout to the screen size.
|
||||
* - On small screens, use only an icon
|
||||
* - On medium screens, use only text
|
||||
* - On large screens, use text and an icon
|
||||
*/
|
||||
class AdaptiveTabStrategy(
|
||||
context: Context,
|
||||
private val homeModel: HomeViewModel
|
||||
|
||||
@@ -10,6 +10,10 @@ import org.oxycblt.auxio.R
|
||||
import org.oxycblt.auxio.util.resolveDrawable
|
||||
import org.oxycblt.auxio.util.resolveStateList
|
||||
|
||||
/**
|
||||
* A [SwitchPreferenceCompat] that emulates the M3 switches until the design team
|
||||
* actually bothers to add them to MDC.
|
||||
*/
|
||||
class M3SwitchPreference @JvmOverloads constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet? = null,
|
||||
|
||||
Reference in New Issue
Block a user