diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/camera/CameraActivity.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/camera/CameraActivity.java index 4f6c0ed2..62817522 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/camera/CameraActivity.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/camera/CameraActivity.java @@ -140,7 +140,7 @@ private void handleButtonCapture() { captureButton.setVisibility(View.GONE); photoCaptured = true; - captureButton.setImageResource(R.drawable.ic_check_white_48dp); + captureButton.setImageResource(R.drawable.ic_check_white_48sp); flashButton.animate().alpha(0.0f).setDuration(500L); camera.takePicture(null, null, mPicture); } @@ -180,7 +180,7 @@ private void handleButtonRetake() photoCaptured = false; retakeButton.setVisibility(View.GONE); flashButton.animate().alpha(1.0f).setDuration(500L); - captureButton.setImageResource(R.drawable.ic_camera_alt_white_48dp); + captureButton.setImageResource(R.drawable.ic_camera_alt_white_48sp); camera.startPreview(); } } @@ -216,9 +216,9 @@ private void setupFlashIcons() { currentFlashIconIndex = 0; flashIcons = new ArrayList<>(); - flashIcons.add(R.drawable.ic_flash_auto_white_48dp); - flashIcons.add(R.drawable.ic_flash_on_white_48dp); - flashIcons.add(R.drawable.ic_flash_off_white_48dp); + flashIcons.add(R.drawable.ic_flash_auto_white_48sp); + flashIcons.add(R.drawable.ic_flash_on_white_48sp); + flashIcons.add(R.drawable.ic_flash_off_white_48sp); } private Camera.PictureCallback mPicture = new Camera.PictureCallback() diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java index 97800bbd..26d60556 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java @@ -222,11 +222,11 @@ public void onClick(View view) { if ( dialogCache.getExpandableLayout().getVisibility() == View.GONE ) { - changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48dp, View.VISIBLE); + changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48sp, View.VISIBLE); } else { - changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_down_white_48dp, View.GONE); + changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_down_white_48sp, View.GONE); } } }); @@ -429,9 +429,9 @@ private void startPhotoPreviewActivity() this.startActivityForResult(viewPhotoIntent, REQUEST_PHOTO_PREVIEW_FROM_DIALOG); } - private void changePhotoThumbnailVisibility(int ic_keyboard_arrow_up_white_48dp, int visible) + private void changePhotoThumbnailVisibility(int ic_keyboard_arrow_up_white_48sp, int visible) { - dialogCache.getExpandableImageView().setImageResource(ic_keyboard_arrow_up_white_48dp); + dialogCache.getExpandableImageView().setImageResource(ic_keyboard_arrow_up_white_48sp); dialogCache.getExpandableLayout().setVisibility(visible); } @@ -466,7 +466,7 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) dialogCache.getProductImage().setImageBitmap(imageBitmap); dto.setThumbnailBitmap(imageBitmap); dto.setDefaultImage(false); - changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48dp, View.VISIBLE); + changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48sp, View.VISIBLE); } else if ( requestCode == REQUEST_PHOTO_PREVIEW_FROM_DIALOG && resultCode == RESULT_OK ) { @@ -475,7 +475,7 @@ else if ( requestCode == REQUEST_PHOTO_PREVIEW_FROM_DIALOG && resultCode == RESU dialogCache.getProductImage().setImageBitmap(imageBitmap); dialogCache.setImageScheduledForDeletion(true); - changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48dp, View.VISIBLE); + changePhotoThumbnailVisibility(R.drawable.ic_keyboard_arrow_up_white_48sp, View.VISIBLE); } } diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/listeners/onFocusListener/ProductDialogFocusListener.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/listeners/onFocusListener/ProductDialogFocusListener.java index 57671691..d6c798f3 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/listeners/onFocusListener/ProductDialogFocusListener.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/listeners/onFocusListener/ProductDialogFocusListener.java @@ -23,7 +23,7 @@ public void onFocusChange(View view, boolean hasFocus) if ( hasFocus ) { dialogCache.getExpandableLayout().setVisibility(View.GONE); - dialogCache.getExpandableImageView().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + dialogCache.getExpandableImageView().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); } } } diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/listadapter/ProductsItemViewHolder.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/listadapter/ProductsItemViewHolder.java index d0703302..ee6f9355 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/listadapter/ProductsItemViewHolder.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/listadapter/ProductsItemViewHolder.java @@ -134,13 +134,13 @@ public boolean onLongClick(View view) productItemCache.setDetailsVisible(!productItemCache.isDetailsVisible()); if ( productItemCache.isDetailsVisible() ) { - showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_up_white_48dp); + showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_up_white_48sp); productItemCache.getDetailsLayout().setVisibility(View.VISIBLE); } else { - showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); productItemCache.getDetailsLayout().setVisibility(View.GONE); } }); diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/ListDialogFragment.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/ListDialogFragment.java index da3a989f..a2e9c3b1 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/ListDialogFragment.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/ListDialogFragment.java @@ -144,7 +144,7 @@ public void onCheckedChanged(CompoundButton compoundButton, boolean b) if ( !StringUtils.isEmpty(dto.getDeadlineDate()) ) { dialogCache.getDeadlineExpansionButton().setVisibility(View.VISIBLE); - dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); dialogCache.getCheckBox().setChecked(true); String language; @@ -171,12 +171,12 @@ public void onClick(View view) if ( dialogCache.getDeadlineLayout().getVisibility() == View.VISIBLE ) { dialogCache.getDeadlineLayout().setVisibility(View.GONE); - dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); } else { dialogCache.getDeadlineLayout().setVisibility(View.VISIBLE); - dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_up_white_48dp); + dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_up_white_48sp); } } }); @@ -197,7 +197,7 @@ public void onClick(View view) if ( dialogCache.getCheckBox().isChecked() ) { dialogCache.getDeadlineExpansionButton().setVisibility(View.VISIBLE); - dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_up_white_48dp); + dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_up_white_48sp); dialogCache.getDeadlineLayout().setVisibility(View.VISIBLE); dialogCache.getDateTextView().setText(DateUtils.getDateAsString(currentDate.getTimeInMillis(), datePattern, language)); dialogCache.getTimeTextView().setText(DateUtils.getDateAsString(currentDate.getTimeInMillis(), timePattern, language)); @@ -205,7 +205,7 @@ public void onClick(View view) else { dialogCache.getReminderSwitch().setChecked(false); - dialogCache.getDeadlineExpansionButton().setVisibility(View.GONE); + dialogCache.getDeadlineExpansionButton().setVisibility(View.INVISIBLE); dialogCache.getDateTextView().setText(""); dialogCache.getTimeTextView().setText(""); dialogCache.getDeadlineLayout().setVisibility(View.GONE); diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listadapter/ListsItemViewHolder.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listadapter/ListsItemViewHolder.java index 20031056..63415304 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listadapter/ListsItemViewHolder.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listadapter/ListsItemViewHolder.java @@ -101,13 +101,13 @@ void processDto(ListDto dto) listItemCache.setDetailsVisible(!listItemCache.isDetailsVisible()); if ( listItemCache.isDetailsVisible() ) { - showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_up_white_48dp); + showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_up_white_48sp); listItemCache.getListDetails().setVisibility(View.VISIBLE); } else { - showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + showDetailsButton.setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); listItemCache.getListDetails().setVisibility(View.GONE); } }); diff --git a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listeners/ListsDialogFocusListener.java b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listeners/ListsDialogFocusListener.java index 035a92ba..bf330079 100644 --- a/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listeners/ListsDialogFocusListener.java +++ b/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/shoppinglist/listeners/ListsDialogFocusListener.java @@ -24,7 +24,7 @@ public void onFocusChange(View v, boolean hasFocus) if ( hasFocus ) { dialogCache.getDeadlineLayout().setVisibility(View.GONE); - dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48dp); + dialogCache.getDeadlineExpansionButton().setImageResource(R.drawable.ic_keyboard_arrow_down_white_48sp); } } } diff --git a/app/src/main/res/drawable-hdpi/ic_info_black_24dp.png b/app/src/main/res/drawable-hdpi/ic_info_black_24sp.png similarity index 100% rename from app/src/main/res/drawable-hdpi/ic_info_black_24dp.png rename to app/src/main/res/drawable-hdpi/ic_info_black_24sp.png diff --git a/app/src/main/res/drawable-mdpi/ic_info_black_24dp.png b/app/src/main/res/drawable-mdpi/ic_info_black_24sp.png similarity index 100% rename from app/src/main/res/drawable-mdpi/ic_info_black_24dp.png rename to app/src/main/res/drawable-mdpi/ic_info_black_24sp.png diff --git a/app/src/main/res/drawable-xhdpi/ic_info_black_24dp.png b/app/src/main/res/drawable-xhdpi/ic_info_black_24sp.png similarity index 100% rename from app/src/main/res/drawable-xhdpi/ic_info_black_24dp.png rename to app/src/main/res/drawable-xhdpi/ic_info_black_24sp.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_info_black_24dp.png b/app/src/main/res/drawable-xxhdpi/ic_info_black_24sp.png similarity index 100% rename from app/src/main/res/drawable-xxhdpi/ic_info_black_24dp.png rename to app/src/main/res/drawable-xxhdpi/ic_info_black_24sp.png diff --git a/app/src/main/res/drawable-xxxhdpi/ic_info_black_24dp.png b/app/src/main/res/drawable-xxxhdpi/ic_info_black_24sp.png similarity index 100% rename from app/src/main/res/drawable-xxxhdpi/ic_info_black_24dp.png rename to app/src/main/res/drawable-xxxhdpi/ic_info_black_24sp.png diff --git a/app/src/main/res/drawable/button_disabled.xml b/app/src/main/res/drawable/button_disabled.xml index 241836d7..8690e068 100644 --- a/app/src/main/res/drawable/button_disabled.xml +++ b/app/src/main/res/drawable/button_disabled.xml @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/button_fullwidth.xml b/app/src/main/res/drawable/button_fullwidth.xml index 6b513240..25d44064 100644 --- a/app/src/main/res/drawable/button_fullwidth.xml +++ b/app/src/main/res/drawable/button_fullwidth.xml @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/button_highlighted.xml b/app/src/main/res/drawable/button_highlighted.xml index d11deb71..e038375c 100644 --- a/app/src/main/res/drawable/button_highlighted.xml +++ b/app/src/main/res/drawable/button_highlighted.xml @@ -3,7 +3,7 @@ - + - + diff --git a/app/src/main/res/drawable/button_highlighted_3.xml b/app/src/main/res/drawable/button_highlighted_3.xml index 3627b949..d64eea04 100644 --- a/app/src/main/res/drawable/button_highlighted_3.xml +++ b/app/src/main/res/drawable/button_highlighted_3.xml @@ -3,7 +3,7 @@ - + diff --git a/app/src/main/res/drawable/button_highlighted_4.xml b/app/src/main/res/drawable/button_highlighted_4.xml index 99a5cf33..d7ebbf87 100644 --- a/app/src/main/res/drawable/button_highlighted_4.xml +++ b/app/src/main/res/drawable/button_highlighted_4.xml @@ -3,7 +3,7 @@ - + diff --git a/app/src/main/res/drawable/button_middleblue.xml b/app/src/main/res/drawable/button_middleblue.xml index f5d4ab58..c7539277 100644 --- a/app/src/main/res/drawable/button_middleblue.xml +++ b/app/src/main/res/drawable/button_middleblue.xml @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/button_normal.xml b/app/src/main/res/drawable/button_normal.xml index dad6e874..c49a2b41 100644 --- a/app/src/main/res/drawable/button_normal.xml +++ b/app/src/main/res/drawable/button_normal.xml @@ -3,7 +3,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/fab_tutorial.xml b/app/src/main/res/drawable/fab_tutorial.xml index b0ec6165..cb6a833c 100644 --- a/app/src/main/res/drawable/fab_tutorial.xml +++ b/app/src/main/res/drawable/fab_tutorial.xml @@ -14,9 +14,9 @@ \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_camera_alt_white_48dp.png b/app/src/main/res/drawable/ic_camera_alt_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_camera_alt_white_48dp.png rename to app/src/main/res/drawable/ic_camera_alt_white_48sp.png diff --git a/app/src/main/res/drawable/ic_cancel_white_48dp.png b/app/src/main/res/drawable/ic_cancel_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_cancel_white_48dp.png rename to app/src/main/res/drawable/ic_cancel_white_48sp.png diff --git a/app/src/main/res/drawable/ic_check_white_48dp.png b/app/src/main/res/drawable/ic_check_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_check_white_48dp.png rename to app/src/main/res/drawable/ic_check_white_48sp.png diff --git a/app/src/main/res/drawable/ic_delete_white_24dp.png b/app/src/main/res/drawable/ic_delete_white_24sp.png similarity index 100% rename from app/src/main/res/drawable/ic_delete_white_24dp.png rename to app/src/main/res/drawable/ic_delete_white_24sp.png diff --git a/app/src/main/res/drawable/ic_edit_custom_color.xml b/app/src/main/res/drawable/ic_edit_custom_color.xml index aa6068e8..ab0131ef 100644 --- a/app/src/main/res/drawable/ic_edit_custom_color.xml +++ b/app/src/main/res/drawable/ic_edit_custom_color.xml @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_edit_white_48dp.png b/app/src/main/res/drawable/ic_edit_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_edit_white_48dp.png rename to app/src/main/res/drawable/ic_edit_white_48sp.png diff --git a/app/src/main/res/drawable/ic_error_black_24dp.png b/app/src/main/res/drawable/ic_error_black_24sp.png similarity index 100% rename from app/src/main/res/drawable/ic_error_black_24dp.png rename to app/src/main/res/drawable/ic_error_black_24sp.png diff --git a/app/src/main/res/drawable/ic_error_outline_white_24dp.png b/app/src/main/res/drawable/ic_error_outline_white_24sp.png similarity index 100% rename from app/src/main/res/drawable/ic_error_outline_white_24dp.png rename to app/src/main/res/drawable/ic_error_outline_white_24sp.png diff --git a/app/src/main/res/drawable/ic_flash_auto_white_48dp.png b/app/src/main/res/drawable/ic_flash_auto_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_flash_auto_white_48dp.png rename to app/src/main/res/drawable/ic_flash_auto_white_48sp.png diff --git a/app/src/main/res/drawable/ic_flash_off_white_48dp.png b/app/src/main/res/drawable/ic_flash_off_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_flash_off_white_48dp.png rename to app/src/main/res/drawable/ic_flash_off_white_48sp.png diff --git a/app/src/main/res/drawable/ic_flash_on_white_48dp.png b/app/src/main/res/drawable/ic_flash_on_white_48sp.png similarity index 100% rename from app/src/main/res/drawable/ic_flash_on_white_48dp.png rename to app/src/main/res/drawable/ic_flash_on_white_48sp.png diff --git a/app/src/main/res/drawable/ic_home_white_24dp.png b/app/src/main/res/drawable/ic_home_white_24sp.png similarity index 100% rename from app/src/main/res/drawable/ic_home_white_24dp.png rename to app/src/main/res/drawable/ic_home_white_24sp.png diff --git a/app/src/main/res/drawable/ic_info_black_24dp.xml b/app/src/main/res/drawable/ic_info_black_24dp.xml index f932682a..9ac30dc1 100644 --- a/app/src/main/res/drawable/ic_info_black_24dp.xml +++ b/app/src/main/res/drawable/ic_info_black_24dp.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/search_border_style.xml b/app/src/main/res/drawable/search_border_style.xml index 4c8105a1..3cb398a0 100644 --- a/app/src/main/res/drawable/search_border_style.xml +++ b/app/src/main/res/drawable/search_border_style.xml @@ -12,7 +12,7 @@ diff --git a/app/src/main/res/layouts/about/layout/activity_about.xml b/app/src/main/res/layouts/about/layout/activity_about.xml index 06276f0e..cac123ac 100644 --- a/app/src/main/res/layouts/about/layout/activity_about.xml +++ b/app/src/main/res/layouts/about/layout/activity_about.xml @@ -42,7 +42,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" - android:layout_marginTop="20dp" + android:layout_marginTop="20sp" android:text="@string/app_name_long"/> @@ -83,7 +83,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" - android:layout_marginTop="15dp" + android:layout_marginTop="15sp" android:text="@string/about_affiliation" android:textStyle="bold"/> @@ -97,7 +97,7 @@ @@ -107,7 +107,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:gravity="center" - android:layout_marginTop="15dp" + android:layout_marginTop="15sp" android:text="@string/more_info"/> diff --git a/app/src/main/res/layouts/deleteproducts/layout/delete_product_list_item.xml b/app/src/main/res/layouts/deleteproducts/layout/delete_product_list_item.xml index 8a96c3c7..601aeb44 100644 --- a/app/src/main/res/layouts/deleteproducts/layout/delete_product_list_item.xml +++ b/app/src/main/res/layouts/deleteproducts/layout/delete_product_list_item.xml @@ -5,8 +5,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_margin="8dp" - card_view:cardCornerRadius="4dp"> + android:layout_margin="8sp" + card_view:cardCornerRadius="4sp"> @@ -37,7 +37,7 @@ android:id="@+id/textview_prod_quantity" android:text="@string/ph_list_nr_items" android:layout_width="wrap_content" - android:layout_height="?attr/listPreferredItemHeight" + android:layout_height="@dimen/listPreferredItemHeight" android:layout_toLeftOf="@id/checkbox_is_selected" android:gravity="center_vertical" android:layout_marginRight="@dimen/list_margin" @@ -49,9 +49,9 @@ android:layout_width="match_parent" android:background="@color/transparent" android:backgroundTint="@color/transparent" - android:layout_height="?attr/listPreferredItemHeight" + android:layout_height="@dimen/listPreferredItemHeight" android:layout_gravity="center" - card_view:cardCornerRadius="4dp" + card_view:cardCornerRadius="4sp" /> diff --git a/app/src/main/res/layouts/deleteproducts/layout/delete_products_activity.xml b/app/src/main/res/layouts/deleteproducts/layout/delete_products_activity.xml index 0b8c29c6..36984c08 100644 --- a/app/src/main/res/layouts/deleteproducts/layout/delete_products_activity.xml +++ b/app/src/main/res/layouts/deleteproducts/layout/delete_products_activity.xml @@ -25,7 +25,7 @@ android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" android:tint="@color/white" - android:src="@drawable/ic_delete_white_24dp" + android:src="@drawable/ic_delete_white_24sp" app:layout_anchor="@id/recyclerView" app:layout_anchorGravity="bottom|right|end" app:layout_behavior=".ui.fab.ScrollAwareFabBehaviorForDeleteActivities"/> diff --git a/app/src/main/res/layouts/main/layout/app_bar_main.xml b/app/src/main/res/layouts/main/layout/app_bar_main.xml index 226e4071..2cb91551 100644 --- a/app/src/main/res/layouts/main/layout/app_bar_main.xml +++ b/app/src/main/res/layouts/main/layout/app_bar_main.xml @@ -31,12 +31,12 @@ android:id="@+id/insert_alert" android:orientation="horizontal" android:layout_margin="@dimen/fab_margin" - android:paddingRight="70dp" + android:paddingRight="70sp" android:gravity="center_vertical" app:layout_anchor="@id/fab_new_list" app:layout_anchorGravity="bottom|left" android:layout_width="wrap_content" - android:layout_height="50dp"> + android:layout_height="50sp"> diff --git a/app/src/main/res/layouts/products/layout/product_dialog.xml b/app/src/main/res/layouts/products/layout/product_dialog.xml index 2f8ef8f9..97d0c9b5 100644 --- a/app/src/main/res/layouts/products/layout/product_dialog.xml +++ b/app/src/main/res/layouts/products/layout/product_dialog.xml @@ -76,16 +76,16 @@