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
110
) sorted by null
1
2
3
4
5
/development/samples/browseable/NavigationDrawer/
_index.jd
8
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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DrawerLayoutUtil.java
36
public static final String CN_DRAWER_LAYOUT = "android.support.v4.widget.
DrawerLayout
";
38
public static void openDrawer(View
drawerLayout
, @Nullable String drawerGravity) {
50
openDrawer(
drawerLayout
, gravity);
54
private static void openDrawer(View
drawerLayout
, int gravity) {
56
invoke(getMethod(
drawerLayout
.getClass(), "openDrawer", int.class),
drawerLayout
,
/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
28
import android.support.v4.widget.
DrawerLayout
;
37
* {@link android.support.v4.widget.
DrawerLayout
} and the framework <code>ActionBar</code> to
52
* indicator with the state of the linked
DrawerLayout
after <code>onRestoreInstanceState</code>
56
* {@link android.support.v4.widget.
DrawerLayout
.DrawerListener}, or if you are already providing
64
public class ActionBarDrawerToggle implements
DrawerLayout
.DrawerListener {
115
private final
DrawerLayout
mDrawerLayout;
132
* <p>The given {@link Activity} will be linked to the specified {@link
DrawerLayout
} and
141
* @param
drawerLayout
The
DrawerLayout
to link to the given Activity's ActionBar
147
public ActionBarDrawerToggle(Activity activity,
DrawerLayout
drawerLayout
[
all
...]
/developers/build/prebuilts/gradle/NavigationDrawer/Application/src/main/res/values/
activitycards-strings.xml
21
<string name="navigationdraweractivity_description">This example illustrates a common usage of the
DrawerLayout
widget in the Android
base-strings.xml
24
This example illustrates a common usage of the
DrawerLayout
widget in the Android
/development/samples/browseable/NavigationDrawer/res/values/
activitycards-strings.xml
21
<string name="navigationdraweractivity_description">This example illustrates a common usage of the
DrawerLayout
widget in the Android
base-strings.xml
24
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 {
/frameworks/base/docs/html/sdk/support_api_diff/23/changes/
android.support.v4.widget.DrawerLayout.html
10
android.support.v4.widget.
DrawerLayout
74
Class android.support.v4.widget.<A HREF="../../../../reference/android/support/v4/widget/
DrawerLayout
.html" target="_top"><font size="+2"><code>
DrawerLayout
</code></font></A>
86
<A NAME="android.support.v4.widget.
DrawerLayout
.getDrawerElevation_added()"></A>
87
<nobr><code>float</code> <A HREF="../../../../reference/android/support/v4/widget/
DrawerLayout
.html#getDrawerElevation()" target="_top"><code>getDrawerElevation</code></A>()</nobr>
93
<A NAME="android.support.v4.widget.
DrawerLayout
.setDrawerElevation_added(float)"></A>
94
<nobr><code>void</code> <A HREF="../../../../reference/android/support/v4/widget/
DrawerLayout
.html#setDrawerElevation(float)" target="_top"><code>setDrawerElevation</code></A>(<code>float</code>)</nobr>
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
NavigationViewUsage.java
24
import android.support.v4.widget.
DrawerLayout
;
38
private
DrawerLayout
mDrawerLayout;
47
mDrawerLayout = (
DrawerLayout
) findViewById(R.id.drawer_layout);
/development/samples/SupportDesignDemos/res/layout/
design_navigation.xml
17
<android.support.v4.widget.
DrawerLayout
57
</android.support.v4.widget.
DrawerLayout
>
Completed in 1928 milliseconds
1
2
3
4
5