「Xamarin.AndroidでConstraintLayoutを使用する」の版間の差分

提供: MonoBook
ナビゲーションに移動 検索に移動
(ページの作成:「NuGetから以下をぶち込め。 Xamarin.Android.Support.Constraint.Layout NuGetをぶち込んだら早速使ってみる。 <source lang="xml"> <android.s…」)
 
 
5行目: 5行目:
 
[[NuGet]]をぶち込んだら早速使ってみる。
 
[[NuGet]]をぶち込んだら早速使ってみる。
 
<source lang="xml">
 
<source lang="xml">
 +
<?xml version="1.0" encoding="utf-8"?>
 
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
 
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
 
     xmlns:app="http://schemas.android.com/apk/res-auto"
 
     xmlns:app="http://schemas.android.com/apk/res-auto"

2020年4月3日 (金) 06:57時点における最新版

NuGetから以下をぶち込め。

Xamarin.Android.Support.Constraint.Layout


NuGetをぶち込んだら早速使ってみる。

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
    tools:context=".activities.AboutActivity">

</android.support.constraint.ConstraintLayout>


ビルドエラーが出なければ大丈夫。

以上。