码迷,mamicode.com
首页 > 其他好文 > 详细

Hello World 实例

时间:2021-01-21 10:51:22      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:add   pad   ati   too   margin   com   str   rap   height   

<RelativeLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
   android:paddingRight="@dimen/activity_horizontal_margin"
   android:paddingTop="@dimen/activity_vertical_margin"
   android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">

   <TextView android:text="@string/hello_world"
      android:layout_width="550dp"
      android:layout_height="wrap_content" />
</RelativeLayout>

Hello World 实例

标签:add   pad   ati   too   margin   com   str   rap   height   

原文地址:https://www.cnblogs.com/lkwkk/p/14305235.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!