<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                > 編寫:[kesenhoo](https://github.com/kesenhoo) - 原文:[http://developer.android.com/training/custom-views/index.html](http://developer.android.com/training/custom-views/index.html) Android的framework有大量的Views用來與用戶進行交互并顯示不同種類的數據。但是有時候你的程序有個特殊的需求,而Android內置的views組件并不能實現。這一章節會演示如何創建你自己的views,并使得它們是robust與reusable的。 **依賴和要求** Android 2.1 (API level 7) 或更高 **你也可以看** - [Custom Components](http://developer.android.com/guide/topics/ui/custom-components.html) - [Input Events](http://developer.android.com/guide/topics/ui/ui-events.html) - [Property Animation](http://developer.android.com/guide/topics/graphics/prop-animation.html) - [Hardware Acceleration](http://developer.android.com/guide/topics/graphics/hardware-accel.html) - [Accessibility](http://developer.android.com/guide/topics/ui/accessibility/index.html) developer guide ### Sample [CustomView.zip](http://developer.android.com/shareables/training/CustomView.zip) ### Lesson - [**創建一個View類**](#) 創建一個像內置的view,有自定義屬性并支持[ADT](http://developer.android.com/sdk/eclipse-adt.html) layout編輯器。 - [**自定義Drawing**](#) 使用Android graphics系統使你的view擁有獨特的視覺效果。 - [**使得View是可交互的**](#) 用戶期望view對操作反應流暢自然。這節課會討論如何使用gesture detection, physics, 和 animation使你的用戶界面有專業的水準。 - [**優化View**](#) 不管你的UI如何的漂亮,如果不能以高幀率流暢運行,用戶也不會喜歡。學習如何避免一般的性能問題,和如何使用硬件加速來使你的自定義圖像運行更流暢。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看