每日总结2.23

  今天学习了工程数学的几种公式定理,上课没听太懂,下午进行了上学期的体育考试。

课后进行了Android studio的学习。学习了字体颜色如何设置的代码。学习了页面的布局。

复制代码
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="这时第一个"
            android:textSize="18dp"
            android:textColor="@color/black"
            ></TextView>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="这时第二个"
            android:textSize="18dp"
            android:textColor="@color/black"
            ></TextView>
    </LinearLayout>
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical">
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="这时第一个"
            android:textSize="18dp"
            android:textColor="@color/black"
            ></TextView>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="这时第二个"
            android:textSize="18dp"
            android:textColor="@color/black"
            ></TextView>
    </LinearLayout>
复制代码

 

 

复制代码
<TextView
        android:id="@+id/tv_zz"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#ffffff"
        android:layout_centerVertical="true"
        android:text="账号"
        android:textSize="15dp"
        android:textColor="@color/black"
        ></TextView>
    <TextView
        android:id="@+id/tv_sr"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/tv_zz"
        android:layout_alignTop="@id/tv_zz"
        android:text="ii"
        android:textSize="15dp"
        ></TextView>
    <TextView
        android:id="@+id/tv_zz1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#ffffff"
        android:layout_below="@id/tv_zz"
        android:layout_alignRight="@id/tv_zz"
        android:text="mima"
        android:textSize="15dp"
        android:textColor="@color/black"
        ></TextView>
    <TextView
        android:id="@+id/tv_sr2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/tv_zz1"
        android:layout_alignTop="@id/tv_zz1"
        android:text="ii"
        android:textSize="15dp"
        ></TextView>
复制代码

 

 

 

posted @   一个小虎牙  阅读(12)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
点击右上角即可分享
微信分享提示