学习安卓程序开发,用的Android Studio,发现怎么更改xml代码都没有想要的效果。如图
代码如下:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/question" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string