0
A
回答
-2
It's a simple ListView or RecyclerView with cells like those :
<?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:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="100dp">
<RelativeLayout
android:layout_width="100dp"
android:layout_height="match_parent">
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_above="@+id/date"
android:layout_centerHorizontal="true"
android:background="#C00"
/>
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="#C00"
android:padding="10dp"
tools:text="22"
android:textColor="@android:color/white"/>
<View
android:layout_width="1dp"
android:layout_centerHorizontal="true"
android:layout_height="match_parent"
android:layout_below="@+id/date"
android:background="#C00"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:textColor="#C00"
tools:text="This saturday"
android:textStyle="bold"/>
</RelativeLayout>
</LinearLayout>
相关问题
- 1. 为Android开发时间轴视图的建议?
- 2. Android开发时间vs iPhone开发时间
- 3. Chrome开发人员工具时间轴onClick绘制时间
- 4. 图像解码时间从Chrome时间轴开发工具
- 5. 时间轴JS:如何设置时间轴开始日期?
- 6. Android的java开发时间加速到
- 7. 开发时间
- 8. 如何开发进入Facebook时间轴的应用程序?
- 9. 如何提高Android开发时间
- 10. X轴中的时间 - GraphView for android
- 11. Chrome开发人员工具:更改时间轴grpah
- 12. facebook打开图,发布到时间轴/墙
- 13. Chrome开发工具:时间轴中缺少框架视图
- 14. Chrome开发工具 - 将事件写入时间轴
- 15. 显示公开Twitter时间轴?
- 16. Twitter的时间轴?
- 17. 在时间轴
- 18. jquery时间轴
- 19. 自动时间轴动作发布
- 20. 如何自动发布到时间轴?
- 21. 在用户时间轴中发布SWF
- 22. 在Android中创建时间轴
- 23. Facebook时间轴android使用scrollview或listview?
- 24. 如何在android中转换日期和时间,如时间轴?
- 25. Android开发:定时器没有履行动态间隔期间
- 26. 时间轴的ExtJS的
- 27. 比较开发时间
- 28. TDD和开发时间
- 29. 日期时间轴间距
- 30. 时间轴坐标
这似乎不是一个ListView仅此而已......只要使用“聪明”的图形元素,以给** **错觉的连接线。 –
安装应用程序,然后使用**'uiautomatorviewer' **看看他们是如何做到的。 – CommonsWare