首页 > 其他分享 >5.03

5.03

时间:2024-06-13 18:54:30浏览次数:11  
标签:textSize layout height width android id 5.03

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_width="match_parent"
android:layout_height="match_parent"

tools:context=".MainActivity"
android:orientation="vertical">


<TextView

android:id="@+id/a1"
android:layout_marginTop="150dp"
android:layout_width="match_parent"
android:layout_height="75dp"
android:gravity="center"
android:text="查询"
android:textColor="#50120D"
android:textSize="25sp" />

<Button
android:id="@+id/a2"
android:layout_width="160dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:onClick="线路"
android:text="线路查询"
android:textSize="15sp" />

<Button
android:id="@+id/a3"
android:layout_width="160dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:onClick="站点"
android:text="站点查询"
android:textSize="15sp" />

<Button
android:id="@+id/a4"
android:layout_width="160dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginTop="10dp"
android:onClick="起终"
android:text="起点-终点查询"
android:textSize="15sp" />



</LinearLayout>




标签:textSize,layout,height,width,android,id,5.03
From: https://www.cnblogs.com/kongxiangzeng/p/18246539

相关文章

  • 20245.05.03
    学习时间1h代码行数30行博客量1篇学习内容<%@pagelanguage="java"import="java.sql.*"pageEncoding="utf-8"%><html><head><title>学生信息管理系统</title><linkrel="stylesheet"type="text/......
  • 【23.05.03】好题题解
    好题题解A题目大意:计算一个项数为\(n\)的多项式除以\(x^3-x\)的余数多项式。数据范围:对于\(100\%\)的数据:\(2\leqn\leq2\times10^5\)解题分析:水题,直接多项式除法模拟即可。需要注意细节。ACCode:#include<bits/stdc++.h>usingnamespacestd;#d......
  • 面试题 05.03. 翻转数位
     分析:这道题看的解析过的,但是还是有点不懂这道题大概思路懂了,就是通过三个变量,遇到1或者0刷新值,然后每次取三个变量最大值但是看解析代码有一行没看懂那个&,好像是位运算的符号,还有那个代码里面的1>>i没看懂代码:1classSolution(object):2defreverseBits(self,......
  • javaEE005.03 HTTP通信协议和报文、STS中tomcat目录分析、响应码 200、404、500、302
    系列文章目录文章目录​​系列文章目录​​​​前言​​​​一、tomcat目录分析​​​​二、HTTP协议​​​​1、简介:简介一般就是什么ssHTTP​​​​2.发展历程​​​​3......