Advertisement

安卓开发入门

阅读量:

安卓开发

Base on : https://www.bilibili.com/video/BV1Rt411e76H?p=7

1、Android开发概述

2、UI组件设计与实现

2.布局管理器设计与实现

线性布局(LinearLayout)

常用属性分析

android:id id
android:layout_width 宽度
android:layout_height 高度
android:backgroud 背景
android:layout_margin 内边距
android:layout_padding 外边距
android:orientation 方向
复制代码
    <?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:lay

全部评论 (0)

还没有任何评论哟~