Android实现自定义标题栏的方法
本文要讲自己定义一个标题栏,能加事件。然后可以移值到不同的手机上,基本上不用改什么,调用也很简单在layout文件夹下,新建一个XML。名字叫做layout_title_bar.xml然后来看看布局:<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"...