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
| public class ErrorLabelLayout extends LinearLayout implements ViewGroup.OnHierarchyChangeListener { | |
| private static final int ERROR_LABEL_TEXT_SIZE = 12; | |
| private static final int ERROR_LABEL_PADDING = 4; | |
| private TextView mErrorLabel; | |
| private Drawable mDrawable; | |
| private int mErrorColor; | |
| public ErrorLabelLayout(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
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- | |
| Copyright (C) 2015 The Android Open Source Project | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
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
| /** | |
| * Our demo fragment | |
| */ | |
| public static class CircularRevealingFragment extends Fragment { | |
| OnFragmentTouched listener; | |
| public CircularRevealingFragment() { | |
| } |
OlderNewer