java - Android No resource matches android:windowIsFloating -


i trying make activity popup / floating activity after watching video

https://www.youtube.com/watch?v=fn5olqquock

but want make window background semi translucent. added windowisfloating -> true

<style name="apptheme.namtheme">     <item name="android:windowisfloating">true</item>     <item name="android:windowcloseontouchoutside">true</item> </style> 

but getting following error

error:(2374, 21) no resource found matches given name: attr 'android:windowisfloating'.

add parent android theme custom theme. example,

<style name="apptheme.namtheme" parent="android:theme.light.notitlebar">     <item name="android:windowisfloating">true</item>     <item name="android:windowcloseontouchoutside">true</item> </style> 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -