Skip to main content

Fab

این المان یک المان فرزند است که Floating Action Button نام دارد و معمولا به شکل یک دکمه ی دایره ای است.

 

 

در ادامه یک نمونه از کد fab را مشاهده کنید:

<page title="اپسان" background="#DDDDDD" toolbarColor="#E64724" width="match_parent" height="match_parent" >
     <fab  scaletype ='center_crop'   width="300" height="300" margin_bottom="670" margin_right="170" background="#E64724" visibility="visible"></fab>
</page>
اجزای کد بالا به شکل زیر است :
photo_2021-07-06_19-07-58.jpg