This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes.maproute( | |
name: "default", | |
url: "{controller}/{action}/{id}", | |
defaults: new { controller = "home", action = "index", id = urlparameter.optional }, | |
namespaces: new[] { "yourprojectname.controllers" }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool isgrounded = true; //let's assume he's on the ground | |
void oncollisionstay (collision other) | |
{ | |
if (other.name != "ground") //let's assume the name of the ground object is ground | |
{ | |
isgrounded = false; | |
if (isgrounded = false && other.name != "ground") | |
{ | |
//disable the jumping and wait for when the player is on the ground again | |
if (other.name == "ground") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.random; | |
public class Password { | |
public static String GeneratePassword(int size) { | |
String password = ""; | |
Random r = new Random(); | |
char[] symbols = {'!', '?', '_', '#', '-'}; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Proje.CustomControls; | |
using Proje.Droid.CustomRenderers; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.Android; | |
[assembly: ExportRenderer(typeof(CustomSearchBar), typeof(CustomSearchBarRenderer))] | |
namespace Proje.Droid.CustomRenderers | |
{ | |
public class CustomSearchBarRenderer : SearchBarRenderer | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pancakeview:PancakeView | |
Grid.Row="0" | |
CornerRadius="5" | |
HasShadow="false" | |
BorderThickness="0" | |
HeightRequest="40" | |
Margin="20,0,10,10" | |
HorizontalOptions="Start"> | |
<local:CustomSearchBar | |
TextColor="{StaticResource SecondaryTextColor}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<StackLayout HorizontalOptions="FillAndExpand" Orientation="Horizontal" VerticalOptions="End" BackgroundColor="White" > | |
<StackLayout HorizontalOptions="CenterAndExpand" Orientation="Horizontal"> | |
<StackLayout Orientation="Vertical" > | |
<Image Source="MusterilerIcon.png" TranslationY="5" /> | |
<Button | |
Text="Müşteriler" | |
Margin="0" | |
TranslationY="-7" | |
BackgroundColor="Transparent" | |
Style="{StaticResource MenuText}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListView ItemsSource="{Binding accountItems}" | |
HasUnevenRows="true" | |
ItemSelected="OnListViewItemSelected" | |
ItemTapped="OnListViewItemTapped"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<ViewCell> | |
<Grid Padding="10"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.companyname.pl_accountmanager_mobile"> | |
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.READ_CALENDAR" /> | |
<uses-permission android:name="android.permission.READ_CALL_LOG" /> | |
<uses-permission android:name="android.permission.READ_CONTACTS" /> | |
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" /> | |
<application android:label="PL.AccountManager.Mobile.Android" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<domain-config cleartextTrafficPermitted="true"> | |
<domain includeSubdomains="true">127.0.0.1</domain> | |
</domain-config> | |
</network-security-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="horizontal" | |
tools:context=".ui.LoginActivity" | |
android:background="@color/white" | |
android:layout_margin="10dp"> |
OlderNewer