Skip to content

Commit

Permalink
Tiny adjustment
Browse files Browse the repository at this point in the history
* v1.5.1
* Add margin for ad to prevent unintentional tap.
* Updated AppActions.
  • Loading branch information
kurema committed Jul 7, 2022
1 parent 794463d commit 8f0ccf2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="10" android:versionName="1.5.0" package="com.github.kurema.earphoneleftandright" android:installLocation="auto">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="11" android:versionName="1.5.1" package="com.github.kurema.earphoneleftandright" android:installLocation="auto">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="31" />
<application android:label="@string/app_name" android:theme="@style/MainTheme" android:icon="@mipmap/icon">
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-2283413819561540~1209019860" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ private void AppActions_OnAppAction(object sender, Xamarin.Essentials.AppActionE
case appActionIdOpen + nameof(Views.ConfigPage):
await Shell.Current.GoToAsync($"///{nameof(Views.ConfigPage)}");
break;
case appActionIdOpen + nameof(Views.BeepTabbed):
await Shell.Current.GoToAsync($"///{nameof(Views.BeepTabbed)}");
break;
}
});
}
Expand All @@ -78,6 +81,7 @@ await Xamarin.Essentials.AppActions.SetAsync(
//, new Xamarin.Essentials.AppAction("play_voice_left", Resx.LocalResources.Left, null, icon)
//, new Xamarin.Essentials.AppAction("play_voice_right", Resx.LocalResources.Right, null, icon)
, new Xamarin.Essentials.AppAction(appActionIdOpen + nameof(Views.PlayPage), Resx.AppResources.Play_Title, null, icon)
, new Xamarin.Essentials.AppAction(appActionIdOpen + nameof(Views.BeepTabbed), Resx.AppResources.Sound_Title, null, icon)
, new Xamarin.Essentials.AppAction(appActionIdOpen + nameof(Views.DictionaryTabbed), Resx.AppResources.Dict_Header, null, icon)
, new Xamarin.Essentials.AppAction(appActionIdOpen + nameof(Views.ConfigPage), Resx.AppResources.Config_Title, null, icon)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
<Label Text="{x:Static r:AppResources.Sound_Tune_JustIntonation}" VerticalOptions="Center" />
</StackLayout>
</ScrollView>
<local:AdDefaultView HeightRequest="51" HorizontalOptions="Fill" WidthRequest="320" Margin="0,0,0,33" />
<local:AdDefaultView HeightRequest="51" HorizontalOptions="Fill" WidthRequest="320" Margin="0,16,0,16" />
</StackLayout>
</ScrollView>

Expand Down Expand Up @@ -257,7 +257,7 @@
<Label Text="{x:Static r:AppResources.Sound_Sweep_Option_Step}" VerticalOptions="Center" />
</StackLayout>
</ScrollView>
<local:AdDefaultView HeightRequest="51" HorizontalOptions="Fill" WidthRequest="320" Margin="0,0,0,33" />
<local:AdDefaultView HeightRequest="51" HorizontalOptions="Fill" WidthRequest="320" Margin="0,16,0,16" />
</StackLayout>
</ScrollView>
<!--<Button Grid.Row="2" Margin="0" Text="{x:Static r:AppResources.Word_Play_Sound}" Clicked="Button_Clicked" />-->
Expand Down

0 comments on commit 8f0ccf2

Please sign in to comment.