diff options
author | Michael W <baddaemon87@gmail.com> | 2022-03-18 20:23:26 +0100 |
---|---|---|
committer | Michael W <baddaemon87@gmail.com> | 2022-04-18 10:03:08 +0200 |
commit | fa6047db25729eebf26826f738d4a4ab2327a512 (patch) | |
tree | e94535bf44d25673adbf26f9262c5a56413f8280 /res | |
parent | 23d7064d1abf2feb41d3d1a1812038a26e836181 (diff) |
DeskClock: Remove compatibility to old APIsHEADsugisawa-mr1
* We never build on these, so the code and annotations are useless
Change-Id: I791370b531ecadcbddb63ca04d5c4c51aafe1bc1
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/timer_setup_time.xml | 1 | ||||
-rw-r--r-- | res/values/styles.xml | 2 | ||||
-rw-r--r-- | res/values/themes.xml | 8 |
3 files changed, 4 insertions, 7 deletions
diff --git a/res/layout/timer_setup_time.xml b/res/layout/timer_setup_time.xml index 2f8f0ea92..aef811b68 100644 --- a/res/layout/timer_setup_time.xml +++ b/res/layout/timer_setup_time.xml @@ -37,7 +37,6 @@ android:singleLine="true" android:textColor="?android:attr/textColorPrimary" android:textSize="@dimen/timer_setup_digit_font_size" - tools:targetApi="21" tools:text="12h34m56s"/> </LinearLayout> diff --git a/res/values/styles.xml b/res/values/styles.xml index 6103f4458..7ae54c97c 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -45,7 +45,7 @@ <item name="android:textSize">56sp</item> <item name="android:textColor">@color/white</item> <item name="android:fontFamily">sans-serif</item> - <item name="android:fontFeatureSettings" tools:targetApi="21">tnum</item> + <item name="android:fontFeatureSettings">tnum</item> </style> <style name="world_clock_time"> diff --git a/res/values/themes.xml b/res/values/themes.xml index 0272f6864..08921baec 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -18,13 +18,11 @@ <resources xmlns:tools="http://schemas.android.com/tools"> <style name="Theme.DeskClock" parent="Theme.AppCompat.NoActionBar"> - <item name="android:colorBackgroundFloating" tools:targetApi="23"> - ?attr/colorBackgroundFloating - </item> - <item name="android:navigationBarColor" tools:targetApi="21">?attr/colorPrimaryDark</item> + <item name="android:colorBackgroundFloating">?attr/colorBackgroundFloating</item> + <item name="android:navigationBarColor">?attr/colorPrimaryDark</item> <item name="popupTheme">@style/ThemeOverlay.Popup</item> - <item name="android:timePickerStyle" tools:targetApi="21">@style/Widget.TimePicker</item> + <item name="android:timePickerStyle">@style/Widget.TimePicker</item> <item name="android:windowBackground">@color/default_background</item> <item name="android:windowContentOverlay">@null</item> |