From d2cd7b687e945b9f0c7497bfc728c90b903dd8a7 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 6 Jan 2017 23:28:03 +0100 Subject: [PATCH] remove some styles --- .../musicplayer/activities/SimpleActivity.kt | 3 -- app/src/main/res/layout/activity_main.xml | 6 +-- app/src/main/res/layout/widget_controls.xml | 8 +-- app/src/main/res/values-v21/styles.xml | 7 --- app/src/main/res/values/styles.xml | 52 +------------------ app/src/main/res/xml/widget_info.xml | 19 +++---- 6 files changed, 18 insertions(+), 77 deletions(-) delete mode 100644 app/src/main/res/values-v21/styles.xml diff --git a/app/src/main/kotlin/com/simplemobiletools/musicplayer/activities/SimpleActivity.kt b/app/src/main/kotlin/com/simplemobiletools/musicplayer/activities/SimpleActivity.kt index 601b535a..86083983 100644 --- a/app/src/main/kotlin/com/simplemobiletools/musicplayer/activities/SimpleActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/musicplayer/activities/SimpleActivity.kt @@ -3,16 +3,13 @@ package com.simplemobiletools.musicplayer.activities import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.MenuItem - import com.simplemobiletools.musicplayer.helpers.Config -import com.simplemobiletools.musicplayer.R open class SimpleActivity : AppCompatActivity() { lateinit var mConfig: Config override fun onCreate(savedInstanceState: Bundle?) { mConfig = Config.newInstance(applicationContext) - setTheme(if (mConfig.isDarkTheme) R.style.AppTheme_Dark else R.style.AppTheme) super.onCreate(savedInstanceState) } diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9388a13c..dc473ccd 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -17,7 +17,7 @@ - - - - diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index fb07c968..5b3a9af8 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,54 +1,4 @@ - - - - - - - - - - - - - - - +