Skip to content

Commit

Permalink
Status Widget (removed style and theme support) traccar#429
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-V-K committed Jan 31, 2022
1 parent 9360ed2 commit f003a0f
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 86 deletions.
10 changes: 0 additions & 10 deletions app/src/main/res/drawable-v21/app_widget_background.xml

This file was deleted.

10 changes: 0 additions & 10 deletions app/src/main/res/drawable-v21/app_widget_inner_view_background.xml

This file was deleted.

4 changes: 1 addition & 3 deletions app/src/main/res/layout/status_widget.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
style="@style/Widget.Traccarclientandroid.AppWidget.Container"
android:background="@android:color/transparent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:theme="@style/AppTheme.AppWidgetContainer">
android:layout_height="match_parent">

<ImageView
android:id="@+id/ivEnabled"
Expand Down
11 changes: 0 additions & 11 deletions app/src/main/res/values-night-v31/themes.xml

This file was deleted.

13 changes: 0 additions & 13 deletions app/src/main/res/values-v21/styles.xml

This file was deleted.

7 changes: 0 additions & 7 deletions app/src/main/res/values-v31/styles.xml

This file was deleted.

12 changes: 0 additions & 12 deletions app/src/main/res/values-v31/themes.xml

This file was deleted.

12 changes: 0 additions & 12 deletions app/src/main/res/values/styles.xml

This file was deleted.

8 changes: 0 additions & 8 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,4 @@
<item name="colorAccent">@color/accent</item>
</style>

<style name="AppTheme.AppWidgetContainerParent" parent="@android:style/Theme.DeviceDefault">
<item name="appWidgetRadius">8dp</item>
<item name="appWidgetPadding">4dp</item>
<item name="appWidgetInnerRadius">4dp</item>
</style>

<style name="AppTheme.AppWidgetContainer" parent="AppTheme.AppWidgetContainerParent" />

</resources>

0 comments on commit f003a0f

Please sign in to comment.