Home
last modified time | relevance | path

Searched refs:button (Results 1 – 25 of 45) sorted by relevance

12

/developers/samples/android/ui/views/RevealEffect/RevealEffectBasic/Application/src/main/java/com/example/android/revealeffectbasic/
DRevealEffectBasicFragment.java52 final View button = view.findViewById(R.id.button); in onViewCreated() local
54 button.setOnClickListener(new View.OnClickListener() { in onViewCreated()
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/
DSettingsFragment.java38 Button button = (Button) view.findViewById(R.id.btn); in onCreateView() local
39 button.setOnClickListener(new View.OnClickListener() { in onCreateView()
/developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
DContactsFragment.java87 Button button = rootView.findViewById(R.id.contact_add); in onCreateView() local
88 button.setOnClickListener(new View.OnClickListener() { in onCreateView()
96 button = rootView.findViewById(R.id.contact_load); in onCreateView()
97 button.setOnClickListener(new View.OnClickListener() { in onCreateView()
/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
DMainActivity.java71 private void setupButtonState(Button button, final Subscription subscription) { in setupButtonState() argument
73 button.setEnabled(!channelExists); in setupButtonState()
74 button.setOnClickListener( in setupButtonState()
/developers/samples/android/admin/DeviceOwner/Application/src/main/java/com/example/android/deviceowner/
DDeviceOwnerFragment.java234 private void setCheckedSafely(CompoundButton button, boolean checked) { in setCheckedSafely() argument
235 button.setOnCheckedChangeListener(null); in setCheckedSafely()
236 button.setChecked(checked); in setCheckedSafely()
237 button.setOnCheckedChangeListener(mOnCheckedChangeListener); in setCheckedSafely()
/developers/samples/android/ui/views/Clipping/ClippingBasic/Application/tests/src/com/example/android/clippingbasic/tests/
DSampleTests.java69 TouchUtils.clickView(this, mTestActivity.findViewById(R.id.button)); in testClipping()
/developers/samples/android/ui/actionbar/DoneBar/
DREADME.md5 This sample shows how to create a custom view in the ActionBar to show a done button, using
16 …contains two activities with custom views in their action bar, each with a "done" button. These are
41 …ne-bar.png" height="400" alt="Screenshot"/> <img src="screenshots/3-done-button.png" height="400" …
/developers/samples/android/ui/Interpolator/Application/src/main/java/com/example/android/interpolator/
DInterpolatorFragment.java144 View button = view.findViewById(R.id.animateButton); in initAnimateButton() local
145 button.setOnClickListener(new View.OnClickListener() { in initAnimateButton()
/developers/samples/android/content/webview/PermissionRequest/Application/src/main/assets/
Dsample.css25 button { selector
/developers/samples/android/ui/views/TextSwitcher/Application/src/main/java/com/example/android/textswitcher/
DMainActivity.java69 Button nextButton = (Button) findViewById(R.id.button); in onCreate()
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/
DAnalogComplicationConfigRecyclerViewAdapter.java532 ImageButton button, ImageView background) { in updateComplicationView() argument
534 button.setImageIcon(complicationProviderInfo.providerIcon); in updateComplicationView()
535 button.setContentDescription( in updateComplicationView()
541 button.setImageDrawable(mDefaultComplicationDrawable); in updateComplicationView()
542 button.setContentDescription(mContext.getString(R.string.add_complication)); in updateComplicationView()
/developers/samples/android/ui/views/Clipping/ClippingBasic/Application/src/main/java/com/example/android/clippingbasic/
DClippingBasicFragment.java78 view.findViewById(R.id.button).setOnClickListener(new View.OnClickListener() { in onViewCreated()
/developers/samples/android/input/gestures/BasicGestureDetect/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/admin/DeviceOwner/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/admin/NfcProvisioning/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/media/ScreenCapture/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/content/webview/PermissionRequest/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/content/DirectShare/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/background/alarms/RepeatingAlarm/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/ui/views/Elevation/ElevationBasic/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/notification/ActiveNotifications/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/media/HdrViewfinder/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/build/templates/SingleView/_MODULE_/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".
/developers/samples/android/content/documentsUi/StorageProvider/Application/
DREADME-singleview.txt22 -add a string for the action button's text using the element name "sample_action".

12