【发布时间】:2019-05-10 06:55:08
【问题描述】:
在布局中,会创建TextView,但在TextView 后面应该有一些文字。我应该如何识别?
这是android studio的最新版本
<?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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/roomnum"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp"
android:textColor="@color/colorBlack"
android:textSize="@dimen/activity_title" />
<TextView
android:id="@+id/roomtype"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp"
android:textColor="@color/color_graylight"
android:textSize="@dimen/activity_title" />
</LinearLayout>
我想在文字背后。
【问题讨论】:
-
你的问题不是很清楚。请edit它更好地解释你想要做什么。
标签: android android-layout android-linearlayout