diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java index 5a7f3ebd..ee02be54 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java @@ -356,12 +356,10 @@ public class FolderFragment extends Fragment private void addEmptyDeviceListView() { LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(WRAP_CONTENT, dp(48, getActivity())); // 72dp margin to align with dividers - // 4dp additional margin to align with the rest of the items int dividerInset = getResources().getDimensionPixelOffset(R.dimen.material_divider_inset); int contentInset = getResources().getDimensionPixelOffset(R.dimen.abc_action_bar_content_inset_material); - int textPadding = dp(4, getActivity()); - setMarginStart(params, dividerInset + textPadding); - setMarginEnd(params, contentInset + textPadding); + setMarginStart(params, dividerInset); + setMarginEnd(params, contentInset); TextView emptyView = new TextView(mDevicesContainer.getContext()); emptyView.setGravity(CENTER_VERTICAL); emptyView.setText(R.string.devices_list_empty); diff --git a/src/main/res/layout/fragment_drawer.xml b/src/main/res/layout/fragment_drawer.xml index a3454a7f..85434a66 100644 --- a/src/main/res/layout/fragment_drawer.xml +++ b/src/main/res/layout/fragment_drawer.xml @@ -17,7 +17,7 @@ \ No newline at end of file diff --git a/src/main/res/layout/widget_toolbar.xml b/src/main/res/layout/widget_toolbar.xml index 55c40308..f57bde86 100644 --- a/src/main/res/layout/widget_toolbar.xml +++ b/src/main/res/layout/widget_toolbar.xml @@ -8,4 +8,5 @@ android:minHeight="?android:actionBarSize" android:background="?colorPrimary" android:elevation="@dimen/toolbar_elevation" + app:titleMarginStart="16dp" app:theme="@style/ThemeOverlay.Syncthing.Toolbar" /> \ No newline at end of file diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml index f6024320..47455f7f 100644 --- a/src/main/res/values/styles.xml +++ b/src/main/res/values/styles.xml @@ -18,33 +18,27 @@ - + + - - -