<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@drawable/a"
android:orientation="vertical"
android:gravity="center">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world"
android:textColor="#00FF00"
android:textSize="20sp"/>
<!-- 时钟控件 -->
<AnalogClock
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<DigitalClock
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#00ff00"
android:textSize="30sp" />

</LinearLayout>

更多相关文章

  1. Android 自定义组合控件
  2. 一个java android 时钟 非常精致!android 小创意
  3. 简单控件的UI界面设计
  4. 第十二节(android常用控件三)
  5. android控件相对布局
  6. Android CheckBox控件使用OnClickListener和OnCheckedChangeList
  7. Android 基本控件
  8. Android下拉刷新控件
  9. android之AutoCompleteTextView控件用法

随机推荐

  1. set CCache for building android source
  2. Android中ListView包含CheckBox时滑动丢
  3. [ubuntu][android][adb]no permissions (
  4. Android集成开发环境的搭建
  5. Activity概述
  6. Android之通过AIDL机制实现进程间的通讯
  7. android Sipnner点击相同Item不响应OnIte
  8. Android设备支持USB转RJ45有线网卡( 沐阳
  9. Android纯透明的Activity
  10. Android常用的Gradle配置和加速编译