PIXNET Logo登入

你是誰的部落格

跳到主文

android

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 6月 28 週五 201916:19
  • Android線性漸層ShapeDrawable

當你的線性漸層所需要的顏色不只3種時:
用ShapeDrawable或PaintDrawable
PaintDrawable繼承ShapeDrawable擴展了以下兩個方法來支援圓角
(繼續閱讀...)
文章標籤

你是誰 發表在 痞客邦 留言(0) 人氣(4)

  • 個人分類:Android
▲top
  • 6月 28 週五 201910:24
  • Android線性漸層GradientDrawable

GradientDrawable(Orientation orientation, @ColorInt int[] colors)
四個角四個面
Orientation.TOP_BOTTOM
Orientation.TR_BL
Orientation.RIGHT_LEFT
Orientation.BR_TL
Orientation.BOTTOM_TOP
Orientation.BL_TR
Orientation.LEFT_RIGHT
Orientation.TL_BR
(繼續閱讀...)
文章標籤

你是誰 發表在 痞客邦 留言(0) 人氣(10)

  • 個人分類:Android
▲top
«12

個人資訊

你是誰
暱稱:
你是誰
分類:
數位生活
好友:
累積中
地區:

最新文章

  • Certificate
  • Android View.getDrawingCache() is deprecated in Android API 28
  • Android 個資遮蔽setTransformationMethod
  • Android 傅立葉級數Reconnect Interval
  • Android Gesture計算角度
  • StackTraceElement
  • Android OKHttp 進階設定 MaxRequests ConnectionPool ThreadPool
  • Android Migrate to Androidx 之後 layout_behavior
  • Android RecycleView Scroll Control
  • Android解決AppBarLayout無法滑動問題

文章分類

  • Android (12)
  • 未分類文章 (1)