OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:drawerlayout
(Results
1 - 25
of
63
) sorted by null
1
2
3
/development/samples/browseable/NavigationDrawer/
_index.jd
7
This example illustrates a common usage of the
DrawerLayout
widget in the Android
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DrawerController.java
20
import android.support.v4.widget.
DrawerLayout
;
28
void registerDrawerListener(
DrawerLayout
.DrawerListener l);
29
void unregisterDrawerListener(
DrawerLayout
.DrawerListener l);
/frameworks/support/v4/api21/android/support/v4/widget/
DrawerLayoutCompatApi21.java
29
* Provides functionality for
DrawerLayout
unique to API 21
37
public static void configureApplyInsets(View
drawerLayout
) {
38
if (
drawerLayout
instanceof DrawerLayoutImpl) {
39
drawerLayout
.setOnApplyWindowInsetsListener(new InsetsListener());
40
drawerLayout
.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE
89
final DrawerLayoutImpl
drawerLayout
= (DrawerLayoutImpl) v;
90
drawerLayout
.setChildInsets(insets, insets.getSystemWindowInsetTop() > 0);
DrawerLayoutImpl.java
21
* Interface used to communicate from the v21-specific code for configuring a
DrawerLayout
22
* to the
DrawerLayout
itself.
/frameworks/support/v4/java/android/support/v4/app/
ActionBarDrawerToggle.java
34
import android.support.v4.widget.
DrawerLayout
;
43
* {@link
DrawerLayout
} and the framework <code>ActionBar</code> to implement the recommended
56
* with the state of the linked
DrawerLayout
after <code>onRestoreInstanceState</code>
60
* {@link
DrawerLayout
.DrawerListener}, or if you are already providing your own listener,
65
public class ActionBarDrawerToggle implements
DrawerLayout
.DrawerListener {
194
private final
DrawerLayout
mDrawerLayout;
210
* <p>The given {@link Activity} will be linked to the specified {@link
DrawerLayout
}.
219
* @param
drawerLayout
The
DrawerLayout
to link to the given Activity's ActionBar
226
public ActionBarDrawerToggle(Activity activity,
DrawerLayout
drawerLayout
[
all
...]
/frameworks/base/docs/html/training/implementing-navigation/
nav-drawer.jd
2
page.tags=
DrawerLayout
,navigation
13
<li><a href="#
DrawerLayout
">Create a Drawer Layout</a></li>
45
{@link android.support.v4.widget.
DrawerLayout
} APIs available in the
56
<h2 id="
DrawerLayout
">Create a Drawer Layout</h2>
59
{@link android.support.v4.widget.
DrawerLayout
} object as the root view of your layout.
60
Inside the {@link android.support.v4.widget.
DrawerLayout
}, add one view that contains
65
android.support.v4.widget.
DrawerLayout
} with two child views: a {@link android.widget.FrameLayout}
70
<android.support.v4.widget.
DrawerLayout
89
</android.support.v4.widget.
DrawerLayout
>
96
android.support.v4.widget.
DrawerLayout
} because the XML order implies z-orderin
[
all
...]
/packages/apps/UnifiedEmail/res/layout/
one_pane_activity.xml
18
<android.support.v4.widget.
DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
24
<!--
DrawerLayout
current only supports one content view (b/8752191) -->
60
</android.support.v4.widget.
DrawerLayout
>
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/res/layout/
activity_navigation_drawer.xml
19
<!-- A
DrawerLayout
is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
20
<android.support.v4.widget.
DrawerLayout
33
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
48
</android.support.v4.widget.
DrawerLayout
/developers/samples/android/ui/views/NavigationDrawer/Application/src/main/res/layout/
activity_navigation_drawer.xml
19
<!-- A
DrawerLayout
is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
20
<android.support.v4.widget.
DrawerLayout
33
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
48
</android.support.v4.widget.
DrawerLayout
/development/samples/Support4Demos/res/layout/
drawer_layout.xml
18
A
DrawerLayout
is indended to be used as the top-level content view
21
<android.support.v4.widget.
DrawerLayout
40
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
50
</android.support.v4.widget.
DrawerLayout
>
/development/samples/Support7Demos/res/layout/
action_bar_drawer_layout.xml
18
A
DrawerLayout
is indended to be used as the top-level content view
21
<android.support.v4.widget.
DrawerLayout
40
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
50
</android.support.v4.widget.
DrawerLayout
>
/development/samples/browseable/NavigationDrawer/res/layout/
activity_navigation_drawer.xml
19
<!-- A
DrawerLayout
is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
20
<android.support.v4.widget.
DrawerLayout
33
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
48
</android.support.v4.widget.
DrawerLayout
/development/samples/training/NavigationDrawer/res/layout/
activity_main.xml
18
<!-- A
DrawerLayout
is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. -->
19
<android.support.v4.widget.
DrawerLayout
32
<!-- android:layout_gravity="start" tells
DrawerLayout
to treat
47
</android.support.v4.widget.
DrawerLayout
>
/frameworks/support/v7/appcompat/src/android/support/v7/app/
ActionBarDrawerToggle.java
29
import android.support.v4.widget.
DrawerLayout
;
38
* {@link android.support.v4.widget.
DrawerLayout
} and the framework <code>ActionBar</code> to
53
* indicator with the state of the linked
DrawerLayout
after <code>onRestoreInstanceState</code>
57
* {@link android.support.v4.widget.
DrawerLayout
.DrawerListener}, or if you are already providing
65
public class ActionBarDrawerToggle implements
DrawerLayout
.DrawerListener {
125
private final
DrawerLayout
mDrawerLayout;
142
* <p>The given {@link Activity} will be linked to the specified {@link
DrawerLayout
} and
151
* @param
drawerLayout
The
DrawerLayout
to link to the given Activity's ActionBar
157
public ActionBarDrawerToggle(Activity activity,
DrawerLayout
drawerLayout
[
all
...]
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/res/values/
activitycards-strings.xml
20
<string name="navigationdraweractivity_description">This example illustrates a common usage of the
DrawerLayout
widget in the Android
base-strings.xml
23
This example illustrates a common usage of the
DrawerLayout
widget in the Android
/development/samples/browseable/NavigationDrawer/res/values/
activitycards-strings.xml
20
<string name="navigationdraweractivity_description">This example illustrates a common usage of the
DrawerLayout
widget in the Android
base-strings.xml
23
This example illustrates a common usage of the
DrawerLayout
widget in the Android
/developers/samples/android/ui/views/NavigationDrawer/
template-params.xml
40
This example illustrates a common usage of the
DrawerLayout
widget in the Android
49
<description>This example illustrates a common usage of the
DrawerLayout
widget in the Android
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/
DrawerLayoutActivity.java
27
import android.support.v4.widget.
DrawerLayout
;
39
* This example illustrates a common usage of the
DrawerLayout
widget
42
* <p>A
DrawerLayout
should be positioned at the top of your view hierarchy, placing it
71
private
DrawerLayout
mDrawerLayout;
85
mDrawerLayout = (
DrawerLayout
) findViewById(R.id.drawer_layout);
155
* When using ActionBarDrawerToggle, all
DrawerLayout
listener methods should be forwarded
156
* if the ActionBarDrawerToggle is not used as the
DrawerLayout
listener directly.
158
private class DemoDrawerListener implements
DrawerLayout
.DrawerListener {
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
ActionBarWithDrawerLayout.java
24
import android.support.v4.widget.
DrawerLayout
;
36
private
DrawerLayout
mDrawerLayout;
48
mDrawerLayout = (
DrawerLayout
) findViewById(R.id.drawer_layout);
117
* When using ActionBarDrawerToggle, all
DrawerLayout
listener methods should be forwarded
118
* if the ActionBarDrawerToggle is not used as the
DrawerLayout
listener directly.
120
private class DemoDrawerListener implements
DrawerLayout
.DrawerListener {
/prebuilts/sdk/current/support/v13/
android-support-v13.jar
/prebuilts/sdk/current/support/v4/
android-support-v4.jar
/frameworks/base/packages/DocumentsUI/res/layout/
activity.xml
17
<android.support.v4.widget.
DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
84
</android.support.v4.widget.
DrawerLayout
>
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/java/com/example/android/navigationdrawer/
NavigationDrawerActivity.java
29
import android.support.v4.widget.
DrawerLayout
;
43
* This example illustrates a common usage of the
DrawerLayout
widget
70
private
DrawerLayout
mDrawerLayout;
85
mDrawerLayout = (
DrawerLayout
) findViewById(R.id.drawer_layout);
104
mDrawerLayout, /*
DrawerLayout
object */
Completed in 878 milliseconds
1
2
3