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>

  • 相关阅读:
    Apache基本设置
    主流无线传输技术GPRS与CDMA之对比
    光波分复用系统(WDM)技术要求
    IPv6报头结构以及与IPv4的比较
    网络设计师训练资料
    802.11b/11a/11g横向比较
    交换机术语
    无线局域网技术白皮书
    无线网络基础知识
    校验码
  • 原文地址:https://www.cnblogs.com/lyr-2000/p/13793004.html
Copyright © 2011-2022 走看看