Skip to content
Permalink
Browse files
Finalised the deisgn for the new hompage. Changed images and icons.
Addes back button and need to add to other pages.
  • Loading branch information
Shivani Sharma committed Nov 16, 2020
1 parent 9916ee4 commit 7bb61d07cd50f16d5a8ce3afd93c3d66932e139f
Show file tree
Hide file tree
Showing 10 changed files with 97 additions and 79 deletions.
@@ -92,19 +92,25 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\shiva.jpg" />
<AndroidResource Include="Resources\drawable\myNoteIcon.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\backIcon.jpg" />
<AndroidResource Include="Resources\drawable\aboutMeIcon.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\myNoteIcon.jpg" />
<AndroidResource Include="Resources\drawable\cameraIcon.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\aboutMeIcon.jpg" />
<AndroidResource Include="Resources\drawable\ButtonView.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\cameraIcon.jpg" />
<AndroidResource Include="Resources\drawable\shiva.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\thumbsup.jpg" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\backIcon.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<ProjectExtensions>

Some generated files are not rendered by default. Learn more.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -10,22 +10,23 @@
HorizontalOptions="FillAndExpand"
/>

<ImageButton Source="backIcon"
HorizontalOptions="End"
VerticalOptions="CenterAndExpand"
Clicked="OnImageButtonClicked" />

<Label x:Name="label"
Text="Shivani Sharma"
TextColor="#705C6E"
FontSize="Large"
VerticalOptions="CenterAndExpand"
HorizontalOptions="Center" />

<Button Text="Spin me" BackgroundColor="Yellow"
VerticalOptions="CenterAndExpand"

<Button Text="Spin me" BackgroundColor="#705C6E"
HorizontalOptions="Center"
Clicked="RotateButton" />

<ImageButton Source="backIcon.png"
HorizontalOptions="Start"
VerticalOptions="CenterAndExpand"
Clicked="OnImageButtonClicked" />


</StackLayout>
</ContentPage.Content>
</ContentPage>
@@ -1,4 +1,5 @@
using System;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -23,9 +24,9 @@ namespace Local
await label.RelRotateTo(360, 1000);
}

async void OnImageButtonClicked(object sender, EventArgs e)
async void OnImageButtonClicked(object sender, EventArgs e)
{
await Navigation.PushAsync(new TestPage());
await Navigation.PushAsync(new ImageView());
}
}
}
@@ -3,53 +3,57 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Local.ImageView">
<ContentPage.Content>

<Grid RowSpacing="5" ColumnSpacing="5" BackgroundColor="White">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Source="myNoteIcon.jpg"


<Grid RowSpacing="5" ColumnSpacing="5" BackgroundColor="White">


<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image Source="myNoteIcon.jpg"
Grid.Row="0"
Grid.Column="0"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="NoteImageButton"/>
</Image.GestureRecognizers>
</Image>
<Image Source="cameraIcon.jpg"
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="NoteImageButton"/>
</Image.GestureRecognizers>
</Image>
<Image Source="cameraIcon.jpg"
Grid.Row="0"
Grid.Column="1"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="CameraImageButton"/>
</Image.GestureRecognizers>
</Image>
<Image Source="aboutMeIcon.jpg"
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="CameraImageButton"/>
</Image.GestureRecognizers>
</Image>
<Image Source="aboutMeIcon.jpg"
Grid.Row="1"
Grid.Column="0"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="AboutTheCreator"/>
</Image.GestureRecognizers>
</Image>
<Image Source="aboutMeIcon.jpg"
VerticalOptions="FillAndExpand">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="AboutTheCreator"/>
</Image.GestureRecognizers>
</Image>
<Image Source="ButtonView.jpg"
Grid.Row="1"
Grid.Column="1"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="ButtonView"/>
</Image.GestureRecognizers>
</Image>
</Grid>

</ContentPage.Content>
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="ButtonView"/>
</Image.GestureRecognizers>
</Image>
</Grid>


</ContentPage.Content>
</ContentPage>

0 comments on commit 7bb61d0

Please sign in to comment.