2020-05-03 15:04:08 +02:00
|
|
|
package info.nightscout.androidaps.skins
|
|
|
|
|
|
|
|
import androidx.annotation.LayoutRes
|
|
|
|
import androidx.annotation.StringRes
|
2020-10-26 22:55:22 +01:00
|
|
|
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
|
2020-10-26 22:55:22 +01:00
|
|
|
@LayoutRes fun actionsLayout(isLandscape : Boolean, isSmallWidth : Boolean): Int = R.layout.actions_fragment
|
2020-05-03 15:04:08 +02:00
|
|
|
}
|