diff --git a/app/src/main/java/awais/instagrabber/dialogs/PostsLayoutPreferencesDialogFragment.java b/app/src/main/java/awais/instagrabber/dialogs/PostsLayoutPreferencesDialogFragment.java
index 9fc1fa6c..9e35ae54 100644
--- a/app/src/main/java/awais/instagrabber/dialogs/PostsLayoutPreferencesDialogFragment.java
+++ b/app/src/main/java/awais/instagrabber/dialogs/PostsLayoutPreferencesDialogFragment.java
@@ -80,7 +80,6 @@ public class PostsLayoutPreferencesDialogFragment extends DialogFragment {
initAvatarsToggle();
initCornersToggle();
initGapToggle();
- initAnimationDisableToggle();
}
private void initLayoutToggle() {
@@ -170,11 +169,6 @@ public class PostsLayoutPreferencesDialogFragment extends DialogFragment {
binding.showGapToggle.setOnCheckedChangeListener((buttonView, isChecked) -> preferencesBuilder.setHasGap(isChecked));
}
- private void initAnimationDisableToggle() {
- binding.disableAnimationToggle.setChecked(preferencesBuilder.isAnimationDisabled());
- binding.disableAnimationToggle.setOnCheckedChangeListener((buttonView, isChecked) -> preferencesBuilder.setAnimationDisabled(isChecked));
- }
-
private int getSelectedLayoutId() {
switch (preferencesBuilder.getType()) {
case STAGGERED_GRID:
diff --git a/app/src/main/res/layout/dialog_post_layout_preferences.xml b/app/src/main/res/layout/dialog_post_layout_preferences.xml
index b53b0f78..57e1f201 100644
--- a/app/src/main/res/layout/dialog_post_layout_preferences.xml
+++ b/app/src/main/res/layout/dialog_post_layout_preferences.xml
@@ -23,8 +23,8 @@
android:id="@+id/label_layout"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginRight="6dp"
android:layout_marginTop="4dp"
+ android:layout_marginRight="6dp"
android:layout_marginBottom="4dp"
android:gravity="right"
android:text="@string/layout_style"
@@ -74,14 +74,14 @@
android:id="@+id/label_col_count"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginRight="6dp"
android:layout_marginTop="4dp"
+ android:layout_marginRight="6dp"
android:layout_marginBottom="4dp"
android:gravity="right"
android:text="@string/column_count"
- app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@id/col_count_toggle"
app:layout_constraintEnd_toStartOf="@id/guideline"
+ app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/col_count_toggle" />
-
-
-
-