AndroidAPS/app/src/main/java/info/nightscout/androidaps/skins/SkinInterface.kt

14 lines
525 B
Kotlin
Raw Normal View History

2020-05-03 15:04:08 +02:00
package info.nightscout.androidaps.skins
import androidx.annotation.LayoutRes
import androidx.annotation.StringRes
import info.nightscout.androidaps.R
2020-05-03 15:04:08 +02:00
interface SkinInterface {
@get:StringRes val description : Int
2020-05-31 12:02:42 +02:00
val mainGraphHeight : Int // in dp
val secondaryGraphHeight : Int // in dp
2020-05-03 15:04:08 +02:00
@LayoutRes fun overviewLayout(isLandscape : Boolean, isTablet : Boolean, isSmallHeight : Boolean): Int
@LayoutRes fun actionsLayout(isLandscape : Boolean, isSmallWidth : Boolean): Int = R.layout.actions_fragment
2020-05-03 15:04:08 +02:00
}