Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: samples/github/android/GithubSample/app/src/main/res/layout/activity_main.xml

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- A DrawerLayout is intended to be used as the top-level content view using m atch_parent for both width and height to consume the full space available. --> 1 <!-- A DrawerLayout is intended to be used as the top-level content view using m atch_parent for both width and height to consume the full space available. -->
2 <android.support.v4.widget.DrawerLayout 2 <android.support.v4.widget.DrawerLayout
3 xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:id="@+id/drawer_layout" 5 android:id="@+id/drawer_layout"
6 android:layout_width="match_parent" 6 android:layout_width="match_parent"
7 android:layout_height="match_parent" 7 android:layout_height="match_parent"
8 tools:context=".MainActivity"> 8 tools:context=".MainActivity">
9 9
10 <!-- As the main content view, the view below consumes the entire 10 <!-- As the main content view, the view below consumes the entire
11 space available using match_parent in both dimensions. --> 11 space available using match_parent in both dimensions. -->
12 <FrameLayout 12 <FrameLayout
13 android:id="@+id/container" 13 android:id="@+id/container"
14 android:layout_width="match_parent" 14 android:layout_width="match_parent"
15 android:layout_height="match_parent"/> 15 android:layout_height="match_parent"/>
16 16
17 <!-- android:layout_gravity="start" tells DrawerLayout to treat 17 <!-- android:layout_gravity="start" tells DrawerLayout to treat
18 this as a sliding drawer on the left side for left-to-right 18 this as a sliding drawer on the left side for left-to-right
19 languages and on the right side for right-to-left languages. 19 languages and on the right side for right-to-left languages.
20 If you're not building against API 17 or higher, use 20 If you're not building against API 17 or higher, use
21 android:layout_gravity="left" instead. --> 21 android:layout_gravity="left" instead. -->
22 <!-- The drawer is given a fixed width in dp and extends the full height of 22 <!-- The drawer is given a fixed width in dp and extends the full height of
23 the container. --> 23 the container. -->
24 <fragment android:id="@+id/navigation_drawer" 24 <fragment android:id="@+id/navigation_drawer"
25 android:layout_width="@dimen/navigation_drawer_width" 25 android:layout_width="@dimen/navigation_drawer_width"
26 android:layout_height="match_parent" 26 android:layout_height="match_parent"
27 android:layout_gravity="start" 27 android:layout_gravity="start"
28 android:name="com.google.fletch.githubsample.NavigationDrawerFragm ent" 28 android:name="com.google.dartino.githubsample.NavigationDrawerFrag ment"
29 tools:layout="@layout/fragment_navigation_drawer"/> 29 tools:layout="@layout/fragment_navigation_drawer"/>
30 30
31 </android.support.v4.widget.DrawerLayout> 31 </android.support.v4.widget.DrawerLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698