/
ExtendNavBarView.ui.xml
65 lines (61 loc) · 3.06 KB
/
ExtendNavBarView.ui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!--
#%L
GwtMaterial
%%
Copyright (C) 2015 - 2016 GwtMaterialDesign
%%
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
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
#L%
-->
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:m='urn:import:gwt.material.design.client.ui'
xmlns:ma="urn:import:gwt.material.design.addins.client"
>
<ui:style gss="true">
body {
background: #e9e9e9;
}
</ui:style>
<m:MaterialPanel>
<m:MaterialHeader ui:field="header">
<m:MaterialNavBar ui:field="navBar" layoutPosition="FIXED" height="auto" activates="sidenav" backgroundColor="PURPLE">
<m:MaterialNavBrand fontSize="2.2em" paddingLeft="60" text="My Files" />
<m:MaterialNavSection float="RIGHT">
<m:MaterialLink iconType="APPS" />
<m:MaterialLink iconType="REFRESH" />
</m:MaterialNavSection>
<m:MaterialNavContent paddingLeft="120" paddingTop="40" paddingBottom="20" >
<m:MaterialChip text="Extension" letter="E" backgroundColor="PURPLE_DARKEN_3" letterBackgroundColor="PURPLE_LIGHTEN_3" textColor="WHITE" />
</m:MaterialNavContent>
</m:MaterialNavBar>
</m:MaterialHeader>
<m:MaterialSideNavDrawer m:id="sidenav" ui:field="sidenav" width="300">
<m:MaterialNavBrand text="gwt-material" />
<m:MaterialLink iconType="INBOX" text="Inbox">
<m:MaterialBadge text="1 new" />
</m:MaterialLink>
<m:MaterialLink iconType="SEND" text="Send Mail"/>
<m:MaterialLink iconType="DRAFTS" text="Drafts"/>
<m:MaterialLink iconType="MAIL" text="All Mail"/>
<m:MaterialLink iconType="DELETE" text="Trash"/>
<m:MaterialLink iconType="INFO_OUTLINE" text="Spam"/>
</m:MaterialSideNavDrawer>
<m:MaterialContainer height="1600px" paddingTop="200">
<m:MaterialRow textAlign="CENTER" paddingTop="40">
<m:MaterialImage url="http://i.imgur.com/7JpG0F4.gif" />
</m:MaterialRow>
<m:MaterialFAB ui:field="fab">
<m:MaterialButton type="FLOATING" href="https://github.com/GwtMaterialDesign/gwt-material-patterns/blob/release_2.0/src/main/java/com/github/gwtmaterialdesign/client/application/sidenavcard/CardSideNavView.ui.xml" target="_blank" backgroundColor="PINK" size="LARGE" iconType="CODE" />
</m:MaterialFAB>
</m:MaterialContainer>
</m:MaterialPanel>
</ui:UiBinder>