<.
android
:id=
"@+id/toolbar"
android
:layout_width=
"match_parent"
android
:layout_height=
"?attr/actionBarSize"
android
:background=
"@color/colorPrimary"
android
:elevation=
"4dp"
app
:contentInsetLeft=
"0dp"
app
:popupTheme=
"@style/"
app
:contentInsetStart=
"0dp"
android
:theme=
"@style/"
>
<TextView
android
:id=
"@+id/toolbar_title"
android
:text=
"@string/title_yun_note"
android
:layout_gravity=
"center"
android
:textSize=
"20sp"
android
:textColor=
"@android:color/white"
android
:layout_width=
"wrap_content"
android
:layout_height=
"wrap_content"
/>
<
ImageView
android
:src=
"@drawable/navigation_refresh"
android
:id=
"@+id/image_button_refresh"
android
:layout_gravity=
"right"
android
:visibility=
"invisible"
android
:layout_marginRight=
"5dp"
android
:layout_width=
"wrap_content"
android
:layout_height=
"wrap_content"
/>
</.>
相关文章
- Android-自定义Toolbar的方法
- vue自定义项目主题颜色的方法
- 自定义注解,通过SpEL表达式调用类方法、引用方法参数、引用方法参数的属性
- 以面向对象的思想,编写自定义类描述图书信息。设定属性包括:书名,作者,出版社名,价格;设置属性的私有访问权限,通过公有的get,set方法实现对属性的访问
- HarmonyOS自定义Tabs及TabContent动态配置的多种实现方法-二:具体说明
- vue使用quill编辑器自定义图片上传方法、quill-image-resize-module修改图片、监测粘贴的是图片上传到后端、重新进入编辑器img标签丢失style属性
- 【SpringBoot】SpringBoot 读取配置文件中的自定义属性的 5 种方法
- 【机器学习】自定义数据集使用框架的线性回归方法对其进行拟合
- 自定义adapter时getView方法返回null出现的异常
- 可以新建文本的管理器_「通达信」自定义数据管理器的制作方法