This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package jie.ma.china.view; | |
| import android.content.Context; | |
| import android.graphics.Rect; | |
| import android.util.AttributeSet; | |
| import android.widget.TextView; | |
| public class MyTextView extends TextView { | |
| public MyTextView(Context context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| android:descendantFocusability="afterDescendants" | |
| android:descendantFocusability="beforeDescendants" | |
| android:descendantFocusability="blocksDescendants" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* start other app in android*/ | |
| Intent intent = mPackageManager.getLaunchIntentForPackage(pi.packageName); | |
| mContext.startActivity(intent); |
NewerOlder