【求助】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 Camera 驱动开发(debug方法) 截图软件,Nexus7平板之framebuffer问题 使用adb shell命令后,想列出data目录下的文件却说没权限,这是为什么? Android模拟器错误 求一段android连cmwap网络的代码 Android 中如何得到字符的像素宽度。求各位大侠鼎力相助。 安卓百度地图开发求助,ontap的问题 intent打开“geo”格式的东西出错 按钮的子菜单 getContentRoucre.insert()方法返回null 根据手势对图片进行缩放和移动,请教如何判断越界 这是为什么?
<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>