总览

在这里插入图片描述

源码

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:id="@+id/mainConstraintLayout"android:layout_width="match_parent"android:layout_height="match_parent"android:animateLayoutChanges="true"tools:context=".activities.MainActivity"><Viewandroid:id="@+id/top_background"android:layout_width="0dp"android:layout_height="0dp"android:background="?attr/foreground_color"app:layout_constraintBottom_toTopOf="@+id/inputHorizontalScrollView"app:layout_constraintEnd_toEndOf="parent"app:layout_constraintStart_toStartOf="parent"app:layout_constraintTop_toTopOf="parent" /><HorizontalScrollViewandroid:id="@+id/inputHorizontalScrollView"android:layout_width="match_parent"android:layout_height="0dp"android:background="?attr/foreground_color"android:overScrollMode="never"android:scrollbars="none"app:layout_constraintBottom_toTopOf="@+id/guideline1"app:layout_constraintTop_toBottomOf="@+id/menuButton"><EditTextandroid:id="@+id/input"style="@style/RobotoFontCondensedMedium"android:layout_width="wrap_content"android:layout_height="match_parent"android:layout_gravity="right"android:autofillHints="false"android:background="?attr/foreground_color"android:inputType="textNoSuggestions"android:maxLength="10000"android:paddingHorizontal="10dp"android:singleLine="true"android:text=""android:textAlignment="textEnd"android:textColor="?attr/text_color"android:textSize="55sp"tools:ignore="RtlCompat" /></HorizontalScrollView><!-- <EditTextandroid:id="@+id/resultDisplay"style="@style/RobotoFontCondensedMedium"android:layout_width="match_parent"android:layout_height="0dp"android:scrollHorizontally="true"android:clickable="false"android:cursorVisible="false"android:focusable="false"android:singleLine="true"android:background="?attr/foreground_color"android:inputType="textNoSuggestions"android:text=""android:textColor="?attr/text_second_color"android:layout_weight="1"android:textAlignment="textEnd"android:textSize="35sp"android:paddingHorizontal="10dp"android:paddingBottom="4dp"app:layout_constraintBottom_toTopOf="@+id/guideline2"app:layout_constraintTop_toTopOf="@+id/guideline1" /> --><HorizontalScrollViewandroid:id="@+id/resultDisplayHorizontalScrollView"android:layout_width="match_parent"android:layout_height="0dp"android:background="?attr/foreground_color"android:fillViewport="true"android:overScrollMode="never"android:scrollbars="none"app:layout_constraintBottom_toTopOf="@+id/guideline2"app:layout_constraintTop_toTopOf="@+id/guideline1"><LinearLayoutandroid:layout_width="wrap_content"android:layout_height="match_parent"android:gravity="end"android:orientation="horizontal"><TextViewandroid:id="@+id/resultDisplay"style="@style/RobotoFontCondensedMedium"android:layout_width="wrap_content"android:layout_height="match_parent"android:background="?attr/foreground_color"android:paddingHorizontal="10dp"android:paddingBottom="4dp"android:scrollHorizontally="true"android:singleLine="true"android:text=""android:textAlignment="textEnd"android:textColor="?attr/text_second_color"android:textIsSelectable="true"android:textSize="35sp" /></LinearLayout></HorizontalScrollView><com.sothree.slidinguppanel.SlidingUpPanelLayoutandroid:id="@+id/sliding_layout"android:layout_width="match_parent"android:layout_height="0dp"android:gravity="top"app:layout_constraintBottom_toBottomOf="parent"app:layout_constraintTop_toBottomOf="@+id/resultDisplayHorizontalScrollView"app:umanoPanelHeight="41dp"app:umanoScrollableView="@id/history_recylcle_view"app:umanoShadowHeight="0dp"tools:ignore="MissingConstraints"><androidx.constraintlayout.widget.ConstraintLayoutandroid:id="@+id/constraintLayout2"android:layout_width="match_parent"android:layout_height="match_parent"tools:context=".activities.MainActivity"><TableLayoutandroid:id="@+id/tableLayout"android:layout_width="match_parent"android:layout_height="0dp"android:paddingHorizontal="8dp"android:paddingTop="12dp"android:paddingBottom="0dp"app:layout_constraintBottom_toBottomOf="parent"app:layout_constraintTop_toTopOf="parent"><TableRowandroid:layout_width="match_parent"android:layout_height="wrap_content"android:layout_marginBottom="1dp"android:layout_weight="0"><Buttonandroid:id="@+id/squareButton"android:contentDescription="@string/squareDesc"style="@style/CalculatorButton.Function"android:layout_width="0dp"android:layout_height="match_parent"android:layout_margin="0dp"android:layout_weight="1"android:onClick="squareButton"android:text="@string/square"android:textSize="26sp" /><Buttonandroid:id="@+id/piButton"style="@style/CalculatorButton.Function"android:contentDescription="@string/piDesc"android:layout_width="0dp"android:layout_height="match_parent"android:layout_margin="0dp"android:layout_weight="1"android:onClick="piButton"android:text="@string/pi"android:textSize="26sp" /><ImageButtonandroid:id="@+id/exponentButton"style="@style/CalculatorButton.Function"android:contentDescription="@string/exponentDesc"android:layout_width="0dp"android:layout_height="match_parent"android:layout_margin="0dp"android:layout_weight="1"android:onClick="exponentButton"app:srcCompat="@drawable/exponent" /><Buttonandroid:id="@+id/factorialButton"style="@style/CalculatorButton.Function"android:contentDescription="@string/factorialDesc"android:layout_width="0dp"android:layout_height="match_parent"android:layout_margin="0dp"android:layout_weight="1"android:onClick="factorialButton"android:text="@string/factorial"android:textSize="26sp" /><ImageButtonandroid:id="@+id/scientistModeSwitchButton"style="@style/Widget.AppCompat.Button.Borderless"android:contentDescription="@string/scientificModeSwitchDesc"android:layout_width="0dp"android:layout_height="match_parent"android:layout_margin="0dp"android:layout_weight="0.6"android:background="@drawable/circle"android:backgroundTint="?attr/foreground_color"android:onClick

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/pingmian/85396.shtml
繁体地址,请注明出处:http://hk.pswp.cn/pingmian/85396.shtml
英文地址,请注明出处:http://en.pswp.cn/pingmian/85396.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

VTK 显示大量点云数据及交互(点云拾取、着色、测量等)功能

VTK (Visualization Toolkit) 是一个强大的开源可视化库&#xff0c;非常适合处理点云数据。下面将介绍如何使用 VTK 显示大量点云数据&#xff0c;并实现点云拾取、着色、测量等功能。 基本点云显示 创建一个基本的点云显示程序&#xff1a; cpp #include <vtkSmartPoi…

性能优化 - 高级进阶: 性能优化全方位总结

文章目录 Pre1. 概述&#xff1a;性能优化提纲与使用场景2. 准备阶段2.1 明确优化范围与目标2.2 环境与工具准备 3. 数据收集与指标确认3.1 关键资源维度与指标项3.2 监控体系搭建与初始采集3.3 日志与追踪配置 4. 问题定位思路4.1 从整体到局部的分析流程4.2 常见瓶颈维度检查…

Mybatis之Integer类型字段为0,入库为null

背景&#xff1a; 由于项目某个功能用到优先级字段来判断&#xff0c;需要在mysql表中定义一个字段XX&#xff0c;类型为int&#xff0c;默认为0&#xff0c;具体值由后台配置&#xff0c;正常入库即可 问题&#xff1a; 由于后台配置存量其他类型的数据无需该字段&#xff0c…

上海市计算机学会竞赛平台2022年3月月赛丙组洗牌

题目描述 给定一个整数 nn&#xff0c;表示 nn 张牌&#xff0c;牌的编号为 11 到 nn。 再给定一个洗牌置换 f1,f2,…,fnf1​,f2​,…,fn​&#xff0c;进行一次洗牌操作时&#xff0c;应将第一号位置的牌交换到第 f1f1​ 号位置&#xff0c;将第 ii 号位置的牌交换到第 fifi…

DINO-R1:激励推理能力的视觉基础模型

摘要 近期&#xff0c;人们对大型语言模型&#xff08;如DeepSeek-R1&#xff09;推理能力的关注呈爆炸式增长&#xff0c;通过基于强化学习的微调框架&#xff08;如组相对策略优化&#xff08;Group Relative Policy Optimization&#xff0c;GRPO&#xff09;方法&#xff…

Linux--LVM逻辑卷扩容

Linux–LVM逻辑卷扩容 文章目录 Linux--LVM逻辑卷扩容📚 LVM 常用命令分类及基本格式✅ 1. 物理卷(PV)相关命令✅ 2. 卷组(VG)相关命令✅ 3. 逻辑卷(LV)相关命令🔍 三、查看类命令简写说明使用命令及基本格式:lvm逻辑卷扩容步骤:1.添加硬盘设备2.检测新增硬盘 添加…

C#基础语法与控制台操作

1. 控制台操作基础 控制台程序是学习C#的起点。以下是一些常用的控制台操作方法&#xff1a; 1.1. 清除控制台 Console.Clear(); // 清除控制台内容1.2. 输出字符串 Console.WriteLine("Hello World!"); // 在屏幕的当前位置换行输出字符串 Console.Write("…

100.Complex[]同时储存实数和虚数两组double的数组 C#例子

在信号处理中&#xff0c;IQ 数据&#xff08;In-phase and Quadrature&#xff09;通常表示复数形式的信号&#xff0c;其中实部表示同相分量&#xff0c;虚部表示正交分量。Complex[] data 是一个包含 IQ 数据的数组&#xff0c;每个元素是一个复数&#xff0c;表示一个信号样…

停止追逐 React 重渲染

大多数开发者都在浪费时间对抗多余的重渲染。真正的 React 架构师根本让问题无从产生——下面就来揭开他们的思路&#xff0c;以及为何大多数所谓的性能优化技巧反而拖慢了你的应用。 重渲染的无尽轮回 先来直击痛点&#xff1a;如果还在项目里到处撒 useMemo、useCallback&…

流水线的安全与合规 - 构建可信的交付链

流水线的安全与合规 - 构建可信的交付链 “安全左移 (Shift-Left Security)”的理念 “安全左移”是 DevSecOps 的核心理念,指的是将安全测试和考量,从软件开发生命周期 (SDLC) 的末端(发布前),尽可能地向左移动到更早的阶段(如编码、构建、测试阶段)。 为何对 SRE 至…

​​​​​​​神经网络基础讲解 一

​​一.神经网络 ​ ​​1. 全连接神经网络&#xff08;Fully Connected Network, FCN&#xff09;​​ ​​核心概念&#xff1a;​​ ​​输入层​​&#xff1a;接收原始数据&#xff08;如数字、图片像素等&#xff09; 数字矩阵 。​​隐藏层​​&#xff1a;对数据…

MySQL 8.0 OCP 英文题库解析(二十二)

Oracle 为庆祝 MySQL 30 周年&#xff0c;截止到 2025.07.31 之前。所有人均可以免费考取原价245美元的MySQL OCP 认证。 从今天开始&#xff0c;将英文题库免费公布出来&#xff0c;并进行解析&#xff0c;帮助大家在一个月之内轻松通过OCP认证。 本期公布试题201~210 试题2…

【大模型推理】PD分离场景下decoder负载均衡,如何选取decoder

https://mp.weixin.qq.com/s?__bizMzg4NTczNzg2OA&mid2247507420&idx1&sn4b32726abd205c7f94144bcb9105330f&chksmce64b9fc7f1d8de04a40b0153302dee52262c6f104c67195e2586e75c8093b8be493f252c8a3#rd 在非 Local 场景下&#xff0c;Prefill 定时获取 Decode …

【IP地址】IP应用场景的使用方向

网络安全领域 通过IP地址查询&#xff0c;安全系统能够实时监控网络流量&#xff0c;识别异常访问行为。例如&#xff0c;当某个IP地址在短时间内频繁发起大量请求&#xff0c;且访问模式与正常用户存在明显差异时&#xff0c;系统可将其标记为可疑IP&#xff0c;触发风险预警…

3-18 WPS JS宏 颜色设置实例应用(按条件设置单元格颜色)学习笔记

前面讲解了关于单元格的一些格式的设置&#xff0c;本节课再讲解一下各种清除方法。 1.函数解析与用法 Range().clear()//清除全部 Range().Value2null //清除内容 Range().ClearContents()//清除内容 Range().ClearFormats()//清除格式 Range().EntireRow.Range()//以Ra…

从零开始的云计算生活——第二十天,脚踏实地,SSH与Rsync服务

目录 一.故事背景 二.SSH带外管理 1.概述 2. 配置文件 3.命令解析 4.登录方式配置 a.用户名密码登录 b.公钥验证登录 5.实操生成密钥对 三.Rsyncsersync实现数据实时同步 1.rsync概述 2.rsync运行原理 3.rsync部署 4.备份测试 配置备份目录 5.rsyncsersync 实现…

SpringAI + DeepSeek大模型应用开发 - 初识篇

一、认识AI 1. AI的发展 AI&#xff0c;人工智能&#xff08;Artificial Intelligence&#xff09;&#xff0c;使机器能像人类一样思考、学习和解决问题的技术。 2. 大模型及其原理 在自然语言处理&#xff08;Natural Language Processing, NLP&#xff09;中&#xff0c;…

c++第八天-多态

虚函数虚析构函数纯虚函数与抽象类 多态实现的条件&#xff1a;&#xff08;1&#xff09;公有继承 &#xff08;2&#xff09;派生类重写基类虚函数 &#xff08;3&#xff09;基类指针/引用指向派生类对象 虚函数不能是构造函数&#xff0c;不能是静态函数&#xff0c;不能…

全景图渲染Vue3+TS使用Photo Sphere Viewer插件实现

1.Photo Sphere Viewer插件安装: title=插件安装 体验AI代码助手 代码解读复制代码npm install photo-sphere-viewer -S 或 yarn add photo-sphere-viewer -S 2.原始全景图展示 初始化标签容器 体验AI代码助手 代码解读复制代码 // 全景图的根节点必须要具备宽高 TS引用,创建…

Redis之分布式锁(3)

这篇文章我们来详细介绍一下如何正确地基于Redis实现分布式锁。 基于Redis的分布式锁实现 组件依赖 首先通过Maven引入Jedis开源组件&#xff0c;在pom.xml文件加入下面的代码&#xff1a; <dependency><groupId>redis.clients</groupId><artifactId&g…