![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
文章平均质量分 54
Filet
这个作者很懒,什么都没留下…
展开
-
Android ExpandableListView(可折叠列表)的使用
Android ExpandableListView(可折叠列表)的使用 1首先编写activitymain 设置调用ExpandableListView的布局 这里还写了更换系统自带的箭头已经注释了 <ExpandableListView android:id="@+id/expended_list" android:layout_width="match_parent" android:layout_height="match_parent"原创 2021-07-02 17:11:51 · 637 阅读 · 2 评论 -
Android 类似微信底部导航条的简单实现
Android 类似微信底部导航条的简单实现 微信底部图片是这样的可以使用4个textview直接实现 主要是用drawableTop(上),drawableButtom(下),drawableLeft(左),drawableRight(右)四个属性来控制图片对于文字的位置 1 xml代码 <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk原创 2021-06-30 14:09:49 · 209 阅读 · 0 评论 -
Android 带边框的Textview
Android 带边框的Textview 1 编写矩形边框的Drawable <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 设置边框--> <stroke android:width="1dp" android:color="#BDBDBF"/> </shape>原创 2021-06-30 12:47:23 · 359 阅读 · 0 评论 -
Android scrollview滑动条无法滑动
Android scrollview滑动条无法滑动 刚开始在引入布局外面直接套了一个scrollview发现无法滑动 <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content"> <include layout="@layout/second_model" /> </ScrollView> 于是在引原创 2021-05-13 13:04:12 · 1499 阅读 · 0 评论