android 我的功能模块模板布局之一
16lz
2021-01-23
一,布局为
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#E6E6E6" android:orientation="vertical" tools:context="com.jiangtunjf.jgapplication.Main6Activity"> <TextView style="@style/common_text" android:layout_marginTop="15dp" android:text="我的资产"/> <TextView style="@style/common_text" android:text="资产变现"/> <TextView style="@style/common_text" android:text="银行卡"/> <TextView style="@style/common_text" android:text="关于"/> <TextView style="@style/common_text" android:text="设置"/>LinearLayout>
二,对应 style 的 @style/common_text为
三,效果图
更多相关文章
- 解决TabLayout+viewpager 滑动切换时 布局文件不是从头显示
- Android控件布局属性大全
- Android之LinearLayout(线性布局)
- Android 布局加载源代码分析
- Android UI布局
- android 常见布局及控件的属性详解
- Android布局动画之animateLayoutChanges与LayoutTransition