Xamarin.AndroidでConstraintLayoutを使用する

提供: MonoBook
2020年4月3日 (金) 06:57時点におけるAdministrator (トーク | 投稿記録)による版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

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>


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

以上。