Skip to content

Commit

Permalink
Always use fixed arrow position
Browse files Browse the repository at this point in the history
  • Loading branch information
uholeschak committed Jan 7, 2025
1 parent e386ec6 commit 371ef4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions BmwDeepObd/ActivityCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2753,7 +2753,6 @@ public static bool ShowAlertDialogBallon(Context context, AlertDialog alertDialo
Balloon.Builder balloonBuilder = GetBalloonBuilder(context);
balloonBuilder.SetText(context.GetString(resId));
balloonBuilder.SetAutoDismissDuration(dismissDuration);
balloonBuilder.SetArrowOrientationRules(ArrowOrientationRules.AlignAnchor);
Balloon balloon = balloonBuilder.Build();
balloon.ShowAlignTop(rootView);
return true;
Expand All @@ -2770,7 +2769,6 @@ public static bool ShowAlertDialogBallon(Context context, AlertDialog alertDialo
Balloon.Builder balloonBuilder = GetBalloonBuilder(context);
balloonBuilder.SetText(text);
balloonBuilder.SetAutoDismissDuration(dismissDuration);
balloonBuilder.SetArrowOrientationRules(ArrowOrientationRules.AlignAnchor);
Balloon balloon = balloonBuilder.Build();
balloon.ShowAlignTop(rootView);
return true;
Expand Down
1 change: 0 additions & 1 deletion BmwDeepObd/FilePicker/FileListFragment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ public override void OnViewCreated(View view, Bundle savedInstanceState)
{
Balloon.Builder balloonBuilder = ActivityCommon.GetBalloonBuilder(Activity);
balloonBuilder.SetText(_infoText);
balloonBuilder.SetArrowOrientationRules(ArrowOrientationRules.AlignAnchor);
Balloon balloon = balloonBuilder.Build();
balloon.ShowAlignTop(ListView);
}
Expand Down
2 changes: 0 additions & 2 deletions BmwDeepObd/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6774,12 +6774,10 @@ private void ShowBallonMessage(string message, int dismissDuration = ActivityCom
{
case BalloonAlligment.Top:
balloonBuilder.SetArrowOrientation(ArrowOrientation.Top);
balloonBuilder.SetArrowOrientationRules(ArrowOrientationRules.AlignAnchor);
break;

case BalloonAlligment.Bottom:
balloonBuilder.SetArrowOrientation(ArrowOrientation.Bottom);
balloonBuilder.SetArrowOrientationRules(ArrowOrientationRules.AlignAnchor);
break;
}

Expand Down

0 comments on commit 371ef4e

Please sign in to comment.