Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[All] Basic Right-To-Left Support #1222

Merged
merged 15 commits into from
Nov 9, 2017
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<uses-permission android:name="android.permission.READ_LOGS" />
<uses-permission android:name="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<application android:label="AndroidControlGallery">
<application android:label="AndroidControlGallery" android:supportsRtl="true">
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
</application>
</manifest>
2 changes: 1 addition & 1 deletion Xamarin.Forms.ControlGallery.WP8/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void InitializeLanguage()
//
// If a compiler error is hit then ResourceFlowDirection is missing from
// the resource file.
FlowDirection flow = (FlowDirection)Enum.Parse(typeof(FlowDirection), AppResources.ResourceFlowDirection);
System.Windows.FlowDirection flow = (System.Windows.FlowDirection)Enum.Parse(typeof(System.Windows.FlowDirection), AppResources.ResourceFlowDirection);
RootFrame.FlowDirection = flow;
}
catch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
</Dependencies>
<Resources>
<Resource Language="x-generate" />
<Resource Language="en" />
<Resource Language="ar" />
</Resources>
<Applications>
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="Xamarin.Forms.ControlGallery.WindowsUniversal.App">
Expand Down
7 changes: 7 additions & 0 deletions Xamarin.Forms.ControlGallery.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@
<string>{320, 480}</string>
</dict>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>ar</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads </key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<MtouchUseLlvm>False</MtouchUseLlvm>
<MtouchUseThumb>False</MtouchUseThumb>
<MtouchOptimizePNGs>True</MtouchOptimizePNGs>
<MtouchI18n />
<MtouchI18n>mideast</MtouchI18n>
<BuildIpa>True</BuildIpa>
<IpaMetadata />
<IpaPackageName />
Expand Down Expand Up @@ -132,6 +132,9 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'AppStore|iPhoneSimulator'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<AppExtensionDebugBundleId />
</PropertyGroup>
<ItemGroup>
<Compile Include="BrokenImageSourceHandler.cs" />
<Compile Include="BrokenNativeControl.cs" />
Expand Down
Loading