【发布时间】:2017-08-19 09:18:59
【问题描述】:
<View>没有显示,它没有做任何改变。
<View> 是标签不起作用。
我设置了一种颜色,但它再次不起作用,
为什么这是隐藏的?
我该怎么办?
请帮帮我....
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.android.courtcounter.MainActivity">
<View android:id="@+id/view"
android:layout_width="1dp"
android:layout_height="match_parent"
android:textColor="@android:color/black"/>
</RelativeLayout>
【问题讨论】:
标签: android xml view line show