Builder Formの透明化
メインFormの透明化
1.Form1のOnShow
追記 Transparency =true; //背景透明on
2.AndroidManifest.template.xml の編集
ほげProject1のフォルダにある AndroidManifest.template.xml の<activity>タグ内に
android:theme="@android:style/Theme.Translucent"
を追記
======================================================================
Builder パネルの透明化
部分的に透明にする場合、
1.Formの透明化を行う
2.TRectangle を配置
TRectangle -> Fill -> Color -> NULL
TRectangleの枠線は Stroke ->Color ->NULL
これでいけた。
いけないときは、そのとき悩む事にする
Android Stdio http://kiyoshirow.xyz/2016/05/23/post-203/
色々悩んでここが参考になったのでメモ
res/values/style.xml
<drawable name="trans_color">#00ffffff</drawable>
<style name="AppTheme.Translucent">
<item name="android:windowIsTranslucent">true</item> ←透過しますよってことみたい
<item name="android:windowBackground">@drawable/trans_color</item>←透過の色をここで指定
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
丸々追記
AndroidManifest.xml
activityに追記
<activity ・・・・・・
android:theme="@style/AppTheme.Translucent"
>
これでいけた
=||