Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionBarContainer(Context context, AttributeSet attrs) {
- super(context, attrs);
- setBackgroundDrawable(null);
- TypedArray a = context.obtainStyledAttributes(attrs,
- R.styleable.SherlockActionBar);
- mBackground = a.getDrawable(R.styleable.SherlockActionBar_background);
- mStackedBackground = a.getDrawable(
- R.styleable.SherlockActionBar_backgroundStacked);
- if (getId() == R.id.abs__split_action_bar) {
- mIsSplit = true;
- mSplitBackground = a.getDrawable(
- R.styleable.SherlockActionBar_backgroundSplit);
- }
- a.recycle();
- setWillNotDraw(mIsSplit ? mSplitBackground == null :
- mBackground == null && mStackedBackground == null);
- }
- private static final int[] ProgressBar = new int[] {
- ...
- android.R.attr.animationResolution
- private static class SetActivated {
- public static void invoke(View view, boolean activated) {
- view.setActivated(activated);
- }
- }
- <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15"/>
Add Comment
Please, Sign In to add comment