mirror of
https://github.com/gitnex-org/gitnex.git
synced 2026-03-24 23:30:28 -05:00
Fix reactions UI (#1069)
Frontport of #1065 Co-authored-by: M M Arif <mmarif@noreply.codeberg.org> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1069 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
This commit is contained in:
@@ -67,7 +67,7 @@ public class BottomSheetSingleIssueFragment extends BottomSheetDialogFragment {
|
||||
TextView loadReactions = new TextView(ctx);
|
||||
loadReactions.setText(Objects.requireNonNull(ctx).getString(R.string.genericWaitFor));
|
||||
loadReactions.setGravity(Gravity.CENTER);
|
||||
loadReactions.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 80));
|
||||
loadReactions.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 140));
|
||||
binding.commentReactionButtons.addView(loadReactions);
|
||||
|
||||
ReactionSpinner reactionSpinner = new ReactionSpinner(ctx, bundle);
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
android:id="@+id/commentReactionButtons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
android:id="@+id/commentReactionButtons"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user