在写这个项目的时候,需要用到分隔线,思索无果,后来想到TextView恍然大悟,一点小技巧。在在
先上效果图:
布局代码:
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
tools:context="com.example.theold.MainActivity"
tools:ignore="MergeRootFrame" >
<LinearLayout
android:id="@+id/linearlayoutmain"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<DigitalClock
android:l