zoukankan      html  css  js  c++  java
  • android 分享一个画好的布局

    <?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="horizontal"
                  android:paddingLeft="15dp"
                  android:paddingRight="15dp"
    
                  android:paddingBottom="10dp"
            >
    
        <ImageView
                android:layout_width="92dp"
                android:layout_height="117dp"
                android:id="@+id/a_imageView"
                android:scaleType="centerCrop"
                android:layout_marginRight="10dp"
    
    
                />
    
        <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                >
    
    
            <TextView
                    android:text="二叉树的最大路径和"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:id="@+id/a_title"
                    android:textSize="30sp"
    
                    >
    
            </TextView>
    
    
            <TextView
                    android:text="题目描述
    给定一个二叉树,请计算节点值之和最大的路径的节点值之和是多少。
    这个路径的开始节点和结束节点可以是二叉树中的任意节点
    例如:
    给出以下的二叉树,
    
    返回的结果为6"
                    android:layout_width="match_parent"
                    android:layout_height="78dp"
                    android:id="@+id/textView"
                    />
    
    
        </LinearLayout>
    
    </LinearLayout>

  • 相关阅读:
    Redis分布式锁的正确实现方式(Java版)转载
    kali 安装 Burpsuite Pro v2020.8 破解
    DVWA On KALI
    Metasploit 体系结构
    Xmodem、Ymodem、Zmodem
    Metasploit psnuffle
    Metasploit通过ssh暴力破解
    使用ms17_010渗透win7
    Metasploit快速入门(二)
    Metasploit 快速入门(一)
  • 原文地址:https://www.cnblogs.com/lyr-2000/p/13793004.html
Copyright © 2011-2022 走看看