05-12-19, 10:46 PM
السلام عليكم و رحمة الله و بركاته
التطبيق مع Xamarin.Forms
التطبيق مع Xamarin.Forms
PHP كود :
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
x:Class="App8.MainPage">
<ScrollView>
<StackLayout BackgroundColor="#00A04B">
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="72" WidthRequest="72" Aspect="AspectFill" Source="ambulance.png"/>
<StackLayout Margin="10">
<Label Text="الاسعاف" TextColor="Yellow" FontSize="Large"/>
<Label Text="شعبة الاسعاف" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="72" WidthRequest="72" Aspect="AspectFill" Source="cardiology.png"/>
<StackLayout Margin="10">
<Label Text="القلب" TextColor="Yellow" FontSize="Large"/>
<Label Text="امراض و جراحة القلب" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="72" WidthRequest="72" Aspect="AspectFill" Source="gynecology.png"/>
<StackLayout Margin="10">
<Label Text="البولية و التناسلية" TextColor="Yellow" FontSize="Large"/>
<Label Text="داخلية و جراحة" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="72" WidthRequest="72" Aspect="AspectFill" Source="laboratory.png"/>
<StackLayout Margin="10">
<Label Text="المختبر" TextColor="Yellow" FontSize="Large"/>
<Label Text="كيماوي - حيوي - جرثومي" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="50" WidthRequest="50" Aspect="AspectFill" Source="medical_bag.png"/>
<StackLayout Margin="10">
<Label Text="الطوارئ" TextColor="Yellow" FontSize="Large"/>
<Label Text="الاسعاف الميداني" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
<StackLayout Orientation="Horizontal" Margin="20">
<Image HeightRequest="50" WidthRequest="50" Aspect="AspectFill" Source="pharmacy.png"/>
<StackLayout Margin="10">
<Label Text="الصيدلية" TextColor="Yellow" FontSize="Large"/>
<Label Text="الصيدلية المركزية" TextColor="White"/>
</StackLayout>
</StackLayout>
<BoxView Color ="White" HeightRequest="1"/>
</StackLayout>
</ScrollView>
</ContentPage>
اللهم لك الحمد كما ينبغي لجلال وجهك و عظيم سلطانك
في حل و ترحال


