Skip to content

Commit

Permalink
pray calendar with data flicker
Browse files Browse the repository at this point in the history
  • Loading branch information
rizanzaky committed May 20, 2020
1 parent 46419a9 commit 666f9b2
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace PrayCalendar.Droid
{
[Activity(Label = "PrayCalendar", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity(Label = "Pray Calendar", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate(Bundle savedInstanceState)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.dipsas.praycalendar">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1"
android:versionName="1.0"
package="com.dipsas.praycalendar">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
<application android:label="PrayCalendar.Android"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand Down
2 changes: 1 addition & 1 deletion src/XamForms/PrayCalendar/PrayCalendar.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>CFBundleDisplayName</key>
<string>PrayCalendar</string>
<string>Pray Calendar</string>
<key>CFBundleIdentifier</key>
<string>com.dipsas.praycalendar</string>
<key>CFBundleVersion</key>
Expand Down
4 changes: 2 additions & 2 deletions src/XamForms/PrayCalendar/PrayCalendar/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

<StackLayout Spacing="0">
<StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand" VerticalOptions="Start" Margin="15,25,15,15">
<Button Text="Left" HeightRequest="30" VerticalOptions="Center" FontSize="24"></Button>
<Button Text="Left" Command="{Binding ReduceMonthCommand, Source={x:Reference myPage}}" HeightRequest="30" VerticalOptions="Center" FontSize="24"></Button>
<Label Text="{Binding DisplayMonth}" HorizontalOptions="CenterAndExpand" FontSize="20" FontAttributes="Bold" VerticalOptions="Center" />
<Button Text="Right" HeightRequest="30" VerticalOptions="Center" FontSize="24"></Button>
<Button Text="Right" Command="{Binding AddMonthCommand, Source={x:Reference myPage}}" HeightRequest="30" VerticalOptions="Center" FontSize="24"></Button>
</StackLayout>

<Grid HorizontalOptions="FillAndExpand" Margin="15,0,15,5" ColumnSpacing="2" RowSpacing="0">
Expand Down
Loading

0 comments on commit 666f9b2

Please sign in to comment.