目前分類:Android (12)

瀏覽方式: 標題列表 簡短摘要

/* 
standard MessageDigest algorithms: 

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

interface onScreenShotFinishedListener
{

文章標籤

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

TextView.setTransformationMethod(new PersonalCapitalTransformationMethod(5, 12, '*'));

class PersonalCapitalTransformationMethod extends PasswordTransformationMethod

文章標籤

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

public class ReconnectInterval
{

文章標籤

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

double dbAngle = Math.abs(
  180 * Math.atan2((e1.getY() - e2.getY()), (e2.getX() - e1.getX())) / Math.PI);

文章標籤

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

StringBuilder tStringBuilder = new StringBuilder();
StackTraceElement[] tStackTraceElement = new Throwable().getStackTrace();

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

//執行緒池
Dispatcher dispatcher = new Dispatcher(

文章標籤

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

layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"

文章標籤

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

RecyclerView 提供相當多種控制Scroll的方法
1.scrollBy(int x, int y)

文章標籤

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

AppBarLayout無法滑動時可透過設定DragCallback解決此問題

CoordinatorLayout.LayoutParams tParams = (CoordinatorLayout.LayoutParams) m_AppBarLayout.getLayoutParams();

文章標籤

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

當你的線性漸層所需要的顏色不只3種時:
用ShapeDrawable或PaintDrawable

文章標籤

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

GradientDrawable(Orientation orientation, @ColorInt int[] colors)

四個角四個面

文章標籤

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