为什么textView"Hello world!" 屏幕上没有显示?

Ove*_*mer 2 android button textview

我试图添加更多,TextViews但它们没有出现在屏幕上,它告诉我"这个视图没有约束.它只有设计时间位置,所以它会在运行时跳转到(0,0),除非你添加约束".

照片: 照片 照片

Vis*_*rma 6

试试这个代码

 1- Go to your res folder and inside res folder.
     2-Go to values.
     3-Go to style.xml
     4-change  <!-- Base application theme. -->
         <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
     to <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
Run Code Online (Sandbox Code Playgroud)