android登陆页布局,Android布局Skype登录界面实例
郑州app开发Android布局Skype登录界面,下面是布局的代码:
{?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"
android:orientation="vertical"
android:background="#02aef0"
tools:context=".MainActivity"}
{RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:paddingLeft="30dp"
android:paddingRight="30dp"}
{Button
android:id="@+id/xhhmicrosoft"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/bg_blue"
android:text="Microsoft账户"
android:textColor="@android:color/white" /}
{Button
android:id="@+id/xhhskype"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/xhhmicrosoft"
android:layout_marginBottom="10dp"
android:background="@drawable/bg_blue"
android:text="Skype用户名"
android:textColor="@android:color/white" /}
{TextView
android:id="@+id/xhhlogin"
android:layout_above="@+id/xhhskype"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:layout_centerHorizontal="true"
android:text="登录"
/}
{ImageView
android:src="@drawable/logo"
android:layout_above="@+id/xhhlogin"
android:layout_marginBottom="30dp"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/}
{/RelativeLayout}
{RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:paddingTop="15dp"
}
{LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingLeft="40dp"
android:paddingRight="30dp" }
{ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginRight="20dp"
android:src="@drawable/a" /}
{ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginRight="20dp"
android:src="@drawable/b" /}
{ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginRight="20dp"
android:src="@drawable/c" /}
{ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginRight="20dp"
android:src="@drawable/d" /}
{ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/e" /}
{/LinearLayout}
{TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="创建账户"
android:layout_alignParentBottom="true"
android:padding="20dp"
android:textSize="20dp"
android:textColor="@android:color/white"
android:background="#02a2de"
android:gravity="center"
/}
{/RelativeLayout}
{/LinearLayout}
因为编辑器的缘故,郑州app开发把替换为{}了。运行结果如下
android登陆页布局,Android布局Skype登录界面实例相关推荐
- Android案例:图标名称设置+用户登录界面+宝宝装备与技能选择
作者:占志杰 原文链接 demo源码地址 最近在学习Android开发,和学习其他任何语言一样,不管理论上学得多扎实,最后都一定要付诸实践,不然很容易忘掉,而且也仅仅停留在皮毛上,记录下自己练手的AP ...
- 新浪微博Android客户端学习记录三:完成登录界面和授权界面
本讲完成的效果为: 登录界面的布局代码(login.xml)为: <?xml version="1.0" encoding="utf-8"?> &l ...
- Android开发学习(4)简单登录界面
在简单的Hello Android 的基础上,我们进一步学习如果制作一个简单的登录界面(不涉及网络交互,用户名密码先固定为admin ),在这里我们学习获取用户名密码,多个Activity之间跳转. ...
- java网格式布局登录界面_Java学习笔记------自己书写的登录界面实例
package com.package_view; import com.package_model.*; import javax.swing.*; import java.awt.*; impo ...
- 用Android Studio设计一个简单个性的登录界面
一.用到的组件: LinearLaout.TableLayout.FrameLayout.RelativeLout 二.效果图展示: 三.步骤及过程: 1.首先新建一个Project,并在app -& ...
- android引导页大小,Android:启动引导页实现
2 android:layout_width=match_parent 3 android:layout_height=match_parent > 4 5 6 android:id=@+id/ ...
- 权限英文linux,使用Root权限登陆、解决root用户首次登录界面是英文
使用Root权限登陆: 1.为root用户设置密码 打开终端输入:sudo passwd root 输入新的 UNIX 口令: 重新输入新的 UNIX 口令 passwd:已成功更新密码 2.更改登陆 ...
- android 启动页大小,android引导页大图
引导页图片一般采用本地图片打包在APK中,并且显示大小为整个屏幕,所以在显示引导页图片时有以下几点需要注意: 1. 最好使用多个尺寸的引导页来保证适配效果,比如在drawable-hdpi, draw ...
- android 翻页动态效果,Android 实现翻书的动画效果
当你们看到这标题时,多少觉得好牛逼哦,其实我想说的是,这只是一个思路,只是简单的三维空间旋转.为什么要写这个博客呢,最近在面试时,面试官突然问这样的效果怎么实现的,当时我说用动画,他说具体点,我说用R ...
最新文章
- MyBatis 插入数据库返回主键
- linux怎么配置ftp服务,Ubuntu下安装、配置FTP服务
- AtCoder Grand Contest 002 (AGC002) F - Leftmost Ball 动态规划 排列组合
- 从源码角度看Android系统SystemServer进程启动过程
- 5分钟在超能云(SuperVessel)上免费创建属于自己的大数据环境
- SQL中的事物【转】
- 做po_requisitions_interface_all接口开发问题
- linux-centos7 关机命令、系统目录结构介绍
- C#实现在同一窗口内显示多个其它窗口/另一个窗口
- C#实现两个时间相减的方法
- python怎么查看网页编码格式_Python写爬虫时如果碰到以Request Payload格式传输数据怎么办?...
- IOS-UISearchBar
- VB.NET/ASP.NET编码规范(ZT)
- 【细节实现题】LeetCode 57. Insert Interval
- Rust: 如何在windows环境中用Atom中玩转它?--new
- 学习笔记(26):NumPy数据分析-NumPy 统计函数-var方差
- 阿里云和腾讯云对比哪家好?云服务器哪个速度快?各有什么优势?
- dubbo comsumer指定服务
- 开心一刻:今天下班后,我尾随一女同事,为她充当护花使者
- java计算机毕业设计信用卡增值业务系统小程序用户端源码+mysql数据库+lw文档+系统+调试部署
热门文章
- 【Anki】在Ankidroid上显示数学公式
- ANSYS有限元分析水声换能器学习笔记(一)
- 编程之基 --- C语言基础大全 III
- 许进生物计算机科学家,计算机专业也能发表JACS?北京大学多学科交叉催生DNA计算取得系列进展...
- MySQL零基础从入门到精通(多表篇)
- 若依vue3 前端微应用改造
- conv2d 公式_理解keras中conv2d层的输出形状
- matlab拉普拉斯算子锐化,cv-拉普拉斯算子锐化浅析
- Plupload使用说明
- mysql5.7集成环境下载_mysql-5.7.29-winx64 win环境下Zip版本的下载与安装