【求助】android有类似于html的fieldset的布局控件吗? android布局控件fieldset 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://stackoverflow.com/questions/12155353/legend-and-fieldset-in-android 这个地址有案例 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/white"> <!-- This is the main content --> <RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="15dp" android:background="@drawable/frame" android:orientation="vertical" android:padding="20dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Main Content" android:layout_centerInParent="true" /> </RelativeLayout> <!-- This is the title label --> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/white" android:padding="5dp" android:text="Testing" android:layout_marginLeft="30dp" android:textColor="@android:color/black" /></RelativeLayout> 可以用圆角背景 <!-- 圆角背景--><shape xmlns:android="http://schemas.android.com/apk/res/android" > <solid android:color="@color/white" /> <corners android:bottomLeftRadius="10dp" android:bottomRightRadius="10dp" android:topLeftRadius="10dp" android:topRightRadius="10dp" /> <stroke android:width="1dp" android:color="#ffa8abad" /> <!-- //或者将这段换成下面这个也可以达到效果 <corners android:radius="8dp"/> --></shape> android 调用自身应用程序 请教简单DatagramSocket通过wifi通信问题 请牛人帮忙解决一个android模拟点击的程序 Android签名后部分功能失效的问题 android连接不到webserver问题?!! super.onCreate(savedInstanceState);帮忙看一下 安卓开发如何储存输入的数据并用listview输出显示出来 如何下载android SDK? ListView 点击一个按钮后,出现滑动 基于android系统的自动售货机软件部分怎么做? 根据手势对图片进行缩放和移动,请教如何判断越界 这是为什么?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:background="@android:color/white"> <!-- This is the main content -->
<RelativeLayout
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_margin="15dp" android:background="@drawable/frame"
android:orientation="vertical" android:padding="20dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="Main Content" android:layout_centerInParent="true" /> </RelativeLayout> <!-- This is the title label -->
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:background="@android:color/white" android:padding="5dp"
android:text="Testing"
android:layout_marginLeft="30dp" android:textColor="@android:color/black" /></RelativeLayout>
<!-- 圆角背景-->
<shape xmlns:android="http://schemas.android.com/apk/res/android" > <solid android:color="@color/white" /> <corners
android:bottomLeftRadius="10dp"
android:bottomRightRadius="10dp"
android:topLeftRadius="10dp"
android:topRightRadius="10dp" />
<stroke android:width="1dp" android:color="#ffa8abad" />
<!-- //或者将这段换成下面这个也可以达到效果 <corners android:radius="8dp"/> --></shape>