Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Attributeの名前空間について

fan-w-suzuki edited this page May 21, 2018 · 1 revision

Attributeの名前空間について

バージョン5.0.0以降のSDKでは必ずレイアウトxmlにて 名前空間(xmlns)を定義して各Attributeへ値をセットしてください。

名前空間の例

<YourLayoutXml
    xmlns:nendsdk="http://schemas.android.com/apk/res-auto">

Attributeの書き方

<net.nend.android.NendAdView
    nendsdk:NendSpotId="@integers/your_spot_id" />

<net.nend.android.NendAdIconLayout
    nendsdk:NendSpotId="@integers/your_spot_id" />

Attributeの書き方(サポート対象外)

<net.nend.android.NendAdView
    NendSpotId="@integers/your_spot_id" /><!-- 正常に動作しません -->

<net.nend.android.NendAdIconLayout
    NendSpotId="@integers/your_spot_id" /><!-- 正常に動作しません -->

日本語

nendSDK Android について

SDKの組み込み

広告の表示

ログ出力

導入サポート


English

About nendSDK Android

SDK Implementation

Display Ads

Logs Output

Supports

Clone this wiki locally