move icons in drawables, and remove the ones used from Commons lib
|
@ -9,7 +9,7 @@
|
|||
<application
|
||||
android:name=".App"
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/launcher"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_launcher_name"
|
||||
android:theme="@style/AppTheme">
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
|
||||
<receiver
|
||||
android:name=".helpers.MyWidgetMonthlyProvider"
|
||||
android:icon="@mipmap/widget_monthly_preview"
|
||||
android:icon="@drawable/img_widget_monthly_preview"
|
||||
android:label="@string/widget_monthly">
|
||||
<intent-filter>
|
||||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
|
||||
|
@ -88,7 +88,7 @@
|
|||
|
||||
<receiver
|
||||
android:name=".helpers.MyWidgetListProvider"
|
||||
android:icon="@mipmap/widget_list_preview"
|
||||
android:icon="@drawable/img_widget_list_preview"
|
||||
android:label="@string/widget_list">
|
||||
<intent-filter>
|
||||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
|
||||
|
|
|
@ -169,10 +169,10 @@ class MyWidgetMonthlyProvider : AppWidgetProvider(), MonthlyCalendar {
|
|||
private fun updateTopViews() {
|
||||
mRemoteViews.setInt(R.id.top_value, "setTextColor", mTextColor)
|
||||
|
||||
var bmp = getColoredIcon(mContext, mTextColor, R.mipmap.arrow_left)
|
||||
var bmp = getColoredIcon(mContext, mTextColor, R.drawable.ic_arrow_left)
|
||||
mRemoteViews.setImageViewBitmap(R.id.top_left_arrow, bmp)
|
||||
|
||||
bmp = getColoredIcon(mContext, mTextColor, R.mipmap.arrow_right)
|
||||
bmp = getColoredIcon(mContext, mTextColor, R.drawable.ic_arrow_right)
|
||||
mRemoteViews.setImageViewBitmap(R.id.top_right_arrow, bmp)
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ class NotificationReceiver : BroadcastReceiver() {
|
|||
val builder = Notification.Builder(context)
|
||||
.setContentTitle(context.resources.getString(R.string.app_name))
|
||||
.setContentText(content)
|
||||
.setSmallIcon(R.mipmap.calendar)
|
||||
.setSmallIcon(R.drawable.ic_calendar)
|
||||
.setContentIntent(pendingIntent)
|
||||
.setDefaults(Notification.DEFAULT_LIGHTS)
|
||||
.setAutoCancel(true)
|
||||
|
|
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 399 B |
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 698 B |
Before Width: | Height: | Size: 528 B After Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 782 B |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 820 B |
Before Width: | Height: | Size: 828 B After Width: | Height: | Size: 828 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 883 B After Width: | Height: | Size: 883 B |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 884 B After Width: | Height: | Size: 884 B |
Before Width: | Height: | Size: 897 B After Width: | Height: | Size: 897 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 796 B After Width: | Height: | Size: 796 B |
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 109 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
@ -18,7 +18,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/activity_margin"
|
||||
android:src="@mipmap/plus"
|
||||
android:src="@drawable/ic_plus"
|
||||
app:backgroundTint="@color/color_primary"
|
||||
app:rippleColor="@color/pressed_item_foreground"/>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/activity_margin"
|
||||
android:src="@mipmap/plus"
|
||||
android:src="@drawable/ic_plus"
|
||||
app:backgroundTint="@color/color_primary"
|
||||
app:rippleColor="@color/pressed_item_foreground"/>
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
android:layout_alignBottom="@+id/top_value"
|
||||
android:layout_alignTop="@+id/top_value"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@mipmap/arrow_left"/>
|
||||
android:src="@drawable/ic_arrow_left"/>
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/top_value"
|
||||
|
@ -34,6 +34,6 @@
|
|||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@+id/top_value"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@mipmap/arrow_right"/>
|
||||
android:src="@drawable/ic_arrow_right"/>
|
||||
|
||||
</merge>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
android:layout_alignBottom="@+id/top_value"
|
||||
android:layout_alignTop="@+id/top_value"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@mipmap/arrow_left"/>
|
||||
android:src="@drawable/ic_arrow_left"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/top_value"
|
||||
|
@ -34,6 +34,6 @@
|
|||
android:layout_alignParentRight="true"
|
||||
android:layout_alignTop="@+id/top_value"
|
||||
android:padding="@dimen/activity_margin"
|
||||
android:src="@mipmap/arrow_right"/>
|
||||
android:src="@drawable/ic_arrow_right"/>
|
||||
|
||||
</merge>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/cab_delete"
|
||||
android:icon="@mipmap/delete"
|
||||
android:icon="@drawable/ic_delete"
|
||||
android:title="@string/delete"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/cab_delete"
|
||||
android:icon="@mipmap/delete"
|
||||
android:icon="@drawable/ic_delete"
|
||||
android:title="@string/delete"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/change_view"
|
||||
android:icon="@mipmap/change_view"
|
||||
android:icon="@drawable/ic_change_view"
|
||||
android:title="@string/change_view"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/cab_delete"
|
||||
android:icon="@mipmap/delete"
|
||||
android:icon="@drawable/ic_delete"
|
||||
android:title="@string/delete"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/save"
|
||||
android:icon="@mipmap/check"
|
||||
android:icon="@drawable/ic_check"
|
||||
android:title="@string/save"
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
|
|
Before Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 232 B |
Before Width: | Height: | Size: 137 B |
Before Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 447 B |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 269 B |
|
@ -5,6 +5,6 @@
|
|||
android:initialLayout="@layout/widget_event_list"
|
||||
android:minHeight="@dimen/min_widget_height"
|
||||
android:minWidth="@dimen/min_widget_width"
|
||||
android:previewImage="@mipmap/widget_list_preview"
|
||||
android:previewImage="@drawable/img_widget_list_preview"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:updatePeriodMillis="600000"/>
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
android:initialLayout="@layout/fragment_month"
|
||||
android:minHeight="@dimen/min_widget_height"
|
||||
android:minWidth="@dimen/min_widget_width"
|
||||
android:previewImage="@mipmap/widget_monthly_preview"
|
||||
android:previewImage="@drawable/img_widget_monthly_preview"
|
||||
android:resizeMode="horizontal|vertical"
|
||||
android:updatePeriodMillis="3600000"/>
|
||||
|
|