欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Android AnalogClock簡單使用方法實例

 更新時間:2016年01月23日 11:33:52   作者:一剪梅  
這篇文章主要介紹了Android AnalogClock簡單使用方法,結合實例形式簡單分析了AnalogClock的布局調用技巧,需要的朋友可以參考下

本文實例講述了Android AnalogClock簡單使用方法。分享給大家供大家參考,具體如下:

AnalogClock組件的使用很簡單,先來看看效果圖:

AnalogClock組件的使用只需要在布局中指定的顯示位置寫入此組件即可使用,不需要在java代碼中進行實例化。

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  >
  <AnalogClock
   android:layout_width="wrap_content"
   android:layout_height="wrap_content"
   android:layout_gravity="center_horizontal"/>
</LinearLayout>

更多關于Android開發(fā)相關內容感興趣的讀者可查看本站專題:《Android開發(fā)入門與進階教程

希望本文所述對大家Android程序設計有所幫助。

相關文章

最新評論