天気API
Current weather data - OpenWeatherMap
位置情報
<Grid> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
<RowDefinition Height="Auto" /> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="Auto" /> | |
<ColumnDefinition Width="*" /> |
package com.xlsoft.kudanar | |
import android.graphics.Bitmap | |
import android.graphics.BitmapFactory | |
import android.os.AsyncTask | |
import android.os.Bundle | |
import android.util.Log | |
import eu.kudan.kudan.* | |
import java.io.* | |
import java.lang.Exception |
SIMPLE: CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage | |
SIMPLE: CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage |
<ScrollView Padding="8"> | |
<StackLayout> | |
<svg:SvgImage SvgPath="{Binding AppStorePath}" | |
SvgAssembly="{Binding SvgAssembly}" | |
WidthRequest="135" | |
HeightRequest="40" | |
HorizontalOptions="Center"/> | |
<svg:SvgImage SvgPath="{Binding CoolMaskPath}" | |
SvgAssembly="{Binding SvgAssembly}" | |
WidthRequest="100" |
public Assembly SvgAssembly | |
{ | |
get { return typeof(App).GetTypeInfo().Assembly; } | |
} | |
public string AppStorePath | |
{ | |
get { return "SvgSample.Resources.AppStore.svg"; } | |
} | |
public string CoolMaskPath |
var appStore = new SvgImage | |
{ | |
SvgPath = "SvgSample.Resources.AppStore.svg", | |
SvgAssembly = typeof(App).GetTypeInfo().Assembly, | |
WidthRequest = 135, | |
HeightRequest = 40, | |
HorizontalOptions = LayoutOptions.Center | |
}; | |
var coolMask = new SvgImage | |
{ |
var stack = new StackLayout | |
{ | |
Children = | |
{ | |
new BoxView | |
{ | |
HeightRequest = 100, | |
BackgroundColor = Color.FromHex("cccccc") | |
}, | |
new BoxView |
<StackLayout> | |
<BoxView HeightRequest="100" | |
BackgroundColor="#cccccc"/> | |
<BoxView HeightRequest="50" | |
BackgroundColor="#ffaaaa" | |
VerticalOptions="EndAndExpand"/> | |
<BoxView HeightRequest="50" | |
BackgroundColor="#aaffaa" | |
VerticalOptions="CenterAndExpand"/> | |
<BoxView HeightRequest="50" |