Android Context Get getLineThickness(Context context)

Here you can find the source of getLineThickness(Context context)

Description

get Line Thickness

Declaration

public static float getLineThickness(Context context) 

Method Source Code

//package com.java2s;

import android.content.Context;

import android.util.TypedValue;

public class Main {
    public static final int DEFAULT_LINE_THICKNESS = 5;

    public static float getLineThickness(Context context) {
        return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
                DEFAULT_LINE_THICKNESS, context.getResources()
                        .getDisplayMetrics());
    }//from  w w w  .j a va  2  s.  com
}

Related

  1. getInstance(Context context)
  2. getIntSPR(String key, Context context)
  3. getLastKnownLocation(Context context)
  4. getLineErrorPaint(Context context)
  5. getLinePaint(Context context)
  6. getLocationProvider(Context context)
  7. getLongSPR(String key, Context context)
  8. getMemoryClass(Context context)
  9. getMinFontSize(Context context)