Update icons
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.3 KiB |
BIN
OsmAnd/res/drawable-large/marker1_enabled.png
Normal file
After Width: | Height: | Size: 598 B |
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- checked -->
|
||||
<item android:state_checked="true">
|
||||
<bitmap android:gravity="center" android:src="@drawable/list_activities_dot_marker2_pressed" />
|
||||
</item>
|
||||
<!-- unchecked -->
|
||||
<item><bitmap android:gravity="center" android:src="@drawable/list_activities_dot_marker2_unpressed" />
|
||||
</item>
|
||||
|
||||
</selector>
|
|
@ -10,7 +10,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:textStyle="bold"
|
||||
android:textSize="20sp" android:drawableRight="@drawable/list_activities_dot_marker1_pressed" android:drawableLeft="@drawable/list_activities_plugin_menu_symbol" android:text="@string/extra_settings" android:gravity="center_vertical" android:paddingLeft="10dp" android:paddingRight="10dp" android:background="@drawable/ic_background_plugin_listitem">
|
||||
android:textSize="20sp" android:drawableRight="@drawable/marker1_disabled" android:drawableLeft="@drawable/list_activities_plugin_menu_symbol" android:text="@string/extra_settings" android:gravity="center_vertical" android:paddingLeft="10dp" android:paddingRight="10dp" android:background="@drawable/ic_background_plugin_listitem">
|
||||
</TextView>
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -77,7 +77,7 @@ public class PluginsActivity extends OsmandListActivity {
|
|||
}
|
||||
OsmandPlugin plugin = getItem(position);
|
||||
boolean toBeEnabled = restartPlugins.contains(plugin.getId());
|
||||
int resourceId = toBeEnabled ? R.drawable.list_activities_dot_marker2_pressed : R.drawable.list_activities_dot_marker1_pressed;
|
||||
int resourceId = toBeEnabled ? R.drawable.marker1_enabled : R.drawable.marker1_disabled;
|
||||
|
||||
final View row = v;
|
||||
TextView nameView = (TextView) row.findViewById(R.id.plugin_name);
|
||||
|
|