求在eclipse上制作的andriod计算器代码 求详细

2025-01-07 00:52:05
推荐回答(1个)
回答1:





Calculator





style="height: 350px; width: 270px">

































style="height: 90px; width: 350px; font-size: 50px" />

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

style="height: 70px; width: 190px; font-size: 35px">

style="height: 70px; width: 90px; font-size: 35px">

onclick="onclicknum('/')"
style="height: 70px; width: 90px; font-size: 35px">

onclick="onclickclear()"
style="height: 70px; width: 190px; font-size: 35px" />

onclick="onclickresult()"
style="height: 70px; width: 190px; font-size: 35px" />



ps这计算机会会先乘除後加减