diff --git a/app/src/main/java/app/fedilab/android/drawers/StatusListAdapter.java b/app/src/main/java/app/fedilab/android/drawers/StatusListAdapter.java index 0354f59d5..bb8b17b5d 100644 --- a/app/src/main/java/app/fedilab/android/drawers/StatusListAdapter.java +++ b/app/src/main/java/app/fedilab/android/drawers/StatusListAdapter.java @@ -1002,7 +1002,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct ImageButton custom_feature_schedule = dialogViewFeatures.findViewById(R.id.custom_feature_schedule); ImageButton custom_feature_mention = dialogViewFeatures.findViewById(R.id.custom_feature_mention); ImageButton custom_feature_cache = dialogViewFeatures.findViewById(R.id.custom_feature_cache); - ImageButton custom_feature_information = dialogViewFeatures.findViewById(R.id.custom_feature_information); dialogBuilderFeatures.setView(dialogViewFeatures); AlertDialog dialogFeatures = dialogBuilderFeatures.create(); if (status.isBookmarked()) @@ -1043,11 +1042,6 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct dialogFeatures.dismiss(); }); - custom_feature_information.setOnClickListener(view -> { - tootInformation(status); - dialogFeatures.dismiss(); - }); - dialogFeatures.requestWindowFeature(Window.FEATURE_NO_TITLE); dialogFeatures.setCancelable(true); dialogFeatures.show(); diff --git a/app/src/main/res/layout/custom_fedilab_features.xml b/app/src/main/res/layout/custom_fedilab_features.xml index 5293b5ce9..ffab135e3 100644 --- a/app/src/main/res/layout/custom_fedilab_features.xml +++ b/app/src/main/res/layout/custom_fedilab_features.xml @@ -1,72 +1,98 @@ - - - + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toLeftOf="@id/custom_feature_schedule" + app:layout_constraintTop_toTopOf="parent" /> + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/custom_feature_timed_mute" + app:layout_constraintRight_toLeftOf="@id/custom_feature_translate" + app:layout_constraintTop_toTopOf="parent" /> + + + + + + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/custom_feature_bookmark" + app:layout_constraintRight_toLeftOf="@id/custom_feature_cache" + app:layout_constraintTop_toTopOf="parent" /> + - - \ No newline at end of file + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintLeft_toRightOf="@id/custom_feature_mention" + app:layout_constraintRight_toRightOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + \ No newline at end of file