Android draw a Horizontal line between views

前端 未结 15 2288
不知归路
不知归路 2020-12-12 12:28

I have My Layout like below:




        
15条回答
  •  青春惊慌失措
    2020-12-12 13:13

    In each parent LinearLayout for which you want dividers between components, add android:divider="?android:dividerHorizontal" or android:divider="?android:dividerVertical.

    Choose appropriate between them as per orientation of your LinearLayout.

    Till I know, this resource style is added from Android 4.3.

提交回复
热议问题