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