Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3763b44 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

DeskClock: Another round of cleanups

* A few unused imports
* A few deprecated classes
* A few unused resources
* A few language opportunities

Change-Id: I13ab5f8b6b00eed139728e557fc964be4a09238f
parent 6461b8ee
Loading
Loading
Loading
Loading
−10.6 KiB
Loading image diff...

res/drawable/ic_checkmark.xml

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2016 The Android Open Source Project

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

<vector
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportHeight="24.0"
    android:viewportWidth="24.0">
    <path
        android:fillColor="#FFF"
        android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z" />
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@
        android:layout_width="wrap_content"
        android:layout_height="@dimen/touch_target_min_size"
        android:background="?selectableItemBackgroundBorderless"
        android:contentDescription="@string/collapse_alarm"
        android:contentDescription="@string/expand_alarm"
        android:focusable="true"
        android:padding="@dimen/checkbox_start_padding"
        android:scaleType="center"

res/layout/day_button.xml

deleted100644 → 0
+0 −30
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2015 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="0dp"
             android:layout_height="48dp"
             android:layout_weight="1">
    <CheckBox
        android:id="@+id/day_button_box"
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:background="@drawable/toggle_circle"
        android:button="@null"
        android:gravity="center"
        android:textSize="@dimen/day_button_font_size" />
</FrameLayout>
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@
    <dimen name="time_margin_top">24dip</dimen>

    <!-- Size of margin for circles. -->
    <dimen name="analog_clock_margin">70dp</dimen>
    <dimen name="analog_clock_size">168dp</dimen>

    <dimen name="circle_margin_top">0dp</dimen>
Loading