صفحه ی سوم (مکان های مورد علاقه)

نمای مینی اپ به صورت زیر میباشد

image-1699538658648.png

کد

<page id="saved" layout="linear_vertical">

    <frame id="item" layout="linear_vertical" margin_top="10" onclick="page/dafater-info">

        <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
               gravity="center" margin="0" margin_right="10"
               weightsum="1" padding="0">
            <text gravity="left" textalignment="right" text="دفترخانه رسمی شماره ۸ شهر تهران،‌دبیرخانه" weight="1"
                  width="match_parent"
                  padding_left="4" textsize="13"/>
        </frame>
        <frame layout="linear_horizontal" weightsum="6" reverse="true"
               borderStrokeWidth="0" margin_top="0"
               borderCornerRadius="14" background="#FFFFFF">

            <frame layout="linear_vertical" padding="0" weight="1" margin="0">


                <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
                       gravity="center"
                       weightsum="1" padding="0">
                    <img width="24" height="24" gravity="right" scaleType="fit_center"
                         src="images/location.png"/>
                    <text gravity="left" textalignment="right" text="تهران،‌خیابان فردوسی،‌پلاک ۷۸" weight="1"
                          width="match_parent"
                          padding_left="4" textsize="12" textcolor="#424750"/>
                </frame>
                <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
                       gravity="center"
                       weightsum="1" padding="0">
                    <img width="24" height="24" gravity="right" scaleType="fit_center"
                         src="images/circle.png"/>
                    <text gravity="left" textalignment="right" text="۱۷۴۲۴۲۶۲۴۸۳۲" weight="1" width="match_parent"
                          padding_left="4" textsize="12" textcolor="#424750"/>
                </frame>
                <frame layout="linear_horizontal" weightsum="3" reverse="true">
                    <frame layout="linear_horizontal" weight="1" reverse="true" width="wrap_content"
                           borderColor="#E0E0E2" borderStrokeWidth="0.5" borderCornerRadius="16"
                           padding_right="12" padding_left="0" padding_top="6" padding_bottom="6" onclick="call/09000000000">
                        <img width="18" height="18" margin_right="20" gravity="right"
                             scaleType="fit_center"
                             src="images/phone-icon.png"/>
                        <text textsize="11" textalignment="right" margin_left="0" textcolor="#424750" text="تماس"/>
                    </frame>
                    <frame layout="linear_horizontal" weight="1" reverse="true" width="wrap_content"
                           borderColor="#E0E0E2" borderStrokeWidth="0.5" borderCornerRadius="16"
                           padding_right="12" padding_left="0" padding_top="6" padding_bottom="6" onclick="navigate/35.8029459,35.8029459">
                        <img width="18" height="18" margin_right="22" gravity="right"
                             scaleType="fit_center"
                             src="images/direction.png"/>
                        <text textsize="11" textalignment="right" margin_left="0" textcolor="#424750"
                               text="مسیریابی"/>
                    </frame>
                    <frame layout="linear_horizontal" weight="3"></frame>
                </frame>
            </frame>
            <frame weight="5" gravity="top">
                <frame layout="frame" gravity="top"  onclick="dialog/delete-confirm">
<!--
  ok delete   visibility gone beshe hamoon  id k hazf shod mese button 4taie
  id e image-->
                    <img width="40" height="40" scaleType="fit_center" src="images/tag-filled-circle.png"/>
                </frame>
            </frame>
        </frame>

        <frame layout="linear_vertical" borderColor="#E0E0E2" borderStrokeWidth=".5" width="match_parent" height="2">
        </frame>
    </frame>
    <frame id="item-2" layout="linear_vertical" margin_top="10" >

        <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
               gravity="center" margin="0" margin_right="10"
               weightsum="1" padding="0">
            <text gravity="left" textalignment="right" text="دفترخانه رسمی شماره ۸ شهر تهران،‌دبیرخانه" weight="1"
                  width="match_parent"
                  padding_left="4" textsize="13"/>
        </frame>
        <frame layout="linear_horizontal" weightsum="6" reverse="true"
               borderStrokeWidth="0" margin_top="0"
               borderCornerRadius="14" background="#FFFFFF">

            <frame layout="linear_vertical" padding="0" weight="1" margin="0">


                <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
                       gravity="center"
                       weightsum="1" padding="0">
                    <img width="24" height="24" gravity="right" scaleType="fit_center"
                         src="images/location.png"/>
                    <text gravity="left" textalignment="right" text="تهران،‌خیابان فردوسی،‌پلاک ۷۸" weight="1"
                          width="match_parent"
                          padding_left="4" textsize="12" textcolor="#424750"/>
                </frame>
                <frame layout="linear_horizontal" id="alert-message" width="match_parent" reverse="true"
                       gravity="center"
                       weightsum="1" padding="0">
                    <img width="24" height="24" gravity="right" scaleType="fit_center"
                         src="images/circle.png"/>
                    <text gravity="left" textalignment="right" text="۱۷۴۲۴۲۶۲۴۸۳۲" weight="1" width="match_parent"
                          padding_left="4" textsize="12" textcolor="#424750"/>
                </frame>
                <frame layout="linear_horizontal" weightsum="3" reverse="true">
                    <frame layout="linear_horizontal" weight="1" reverse="true" width="wrap_content"
                           borderColor="#E0E0E2" borderStrokeWidth="0.5" borderCornerRadius="16"
                           padding_right="12" padding_left="0" padding_top="6" padding_bottom="6" onclick="call/09000000000">
                        <img width="18" height="18" margin_right="20" gravity="right"
                             scaleType="fit_center"
                             src="images/phone-icon.png"/>
                        <text textsize="11" textalignment="right" margin_left="0" textcolor="#424750" text="تماس"/>
                    </frame>
                    <frame layout="linear_horizontal" weight="1" reverse="true" width="wrap_content"
                           borderColor="#E0E0E2" borderStrokeWidth="0.5" borderCornerRadius="16"
                           padding_right="12" padding_left="0" padding_top="6" padding_bottom="6" onclick="navigate/35.8029459,35.8029459">
                        <img width="18" height="18" margin_right="22" gravity="right"
                             scaleType="fit_center"
                             src="images/direction.png"/>
                        <text textsize="11" textalignment="right" margin_left="0" textcolor="#424750"
                              text="مسیریابی"/>
                    </frame>
                    <frame layout="linear_horizontal" weight="3"></frame>
                </frame>
            </frame>
            <frame weight="5" gravity="top">
                <frame layout="frame" gravity="top" onclick="dialog/delete-confirm">
                    <img width="40" height="40" scaleType="fit_center" src="images/tag-filled-circle.png"/>
                </frame>
            </frame>
        </frame>

        <frame layout="linear_vertical" borderColor="#E0E0E2" borderStrokeWidth=".5" width="match_parent" height="2">
        </frame>
    </frame>
    <script id="search-dialog-js">
        function raiseDialog() {
            Appsan.setProperty('province-frame', 'visibility', 'visible');
            Appsan.setProperty('city-frame', 'visibility', 'visible');
            Appsan.setProperty('button-frame', 'visibility', 'visible');
        }
    </script>
</page>

<include layout="pages/dialog/ostan.xml.appsan"/>
<include layout="pages/dialog/city.xml.appsan"/>
<include layout="pages/dialog/delete-confirm.xml.appsan"/>
<include layout="pages/dafater-info.xml.appsan"/>