diff --git a/res/drawable/remotecommand_widget_preview.png b/res/drawable/remotecommand_widget_preview.png new file mode 100644 index 00000000..28b2b6ae Binary files /dev/null and b/res/drawable/remotecommand_widget_preview.png differ diff --git a/res/layout/list_item_entry.xml b/res/layout/list_item_entry.xml index 7a5c8474..fd444806 100644 --- a/res/layout/list_item_entry.xml +++ b/res/layout/list_item_entry.xml @@ -20,7 +20,7 @@ android:fadingEdge="horizontal" android:singleLine="true" android:text="" - android:textAppearance="?android:attr/textAppearanceLarge" /> + android:textAppearance="?android:attr/textAppearanceMedium" /> + android:layout_height="match_parent" + android:layout_width="match_parent"> + android:textAppearance="?android:attr/textAppearanceMedium" /> @@ -46,7 +46,7 @@ android:drawablePadding="8dip" android:gravity="center_vertical" android:paddingStart="8dip" - android:text="@string/unreachable_description" + android:text="@string/runcommand_notreachable" android:textAppearance="?android:attr/textAppearanceMedium" - app:drawableStartCompat="@drawable/ic_error_outline_48dp"/> + android:drawableStart="@drawable/ic_error_outline_48dp"/> \ No newline at end of file diff --git a/res/xml/remotecommandplugin_widget.xml b/res/xml/remotecommandplugin_widget.xml index ea34c8a2..6543a269 100644 --- a/res/xml/remotecommandplugin_widget.xml +++ b/res/xml/remotecommandplugin_widget.xml @@ -1,3 +1,9 @@ - + diff --git a/src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandWidget.java b/src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandWidget.java index b8682e36..3034f824 100644 --- a/src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandWidget.java +++ b/src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandWidget.java @@ -100,7 +100,7 @@ public class RunCommandWidget extends AppWidgetProvider { views.setOnClickPendingIntent(R.id.runcommandWidgetTitleHeader, pendingIntent); if (getCurrentDevice() == null || !getCurrentDevice().isReachable()) { - views.setTextViewText(R.id.runcommandWidgetTitle, context.getString(R.string.pref_plugin_runcommand)); + views.setTextViewText(R.id.runcommandWidgetTitle, context.getString(R.string.kde_connect)); views.setViewVisibility(R.id.run_commands_list, View.GONE); views.setViewVisibility(R.id.not_reachable_message, View.VISIBLE); } else {