Skip to content

Commit cbf2ca4

Browse files
2 parents 5fec285 + 41910c0 commit cbf2ca4

1 file changed

Lines changed: 49 additions & 1 deletion

File tree

README.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,52 @@
11
AndroidSideMenu
22
===============
33

4-
Side menu for android applications
4+
AndroidSideMenu lets you create side (slide\drawer, whatever you call it) menu without special effort.
5+
6+
Installlation
7+
=============
8+
9+
Add .jar file to build path.
10+
11+
Usage
12+
=====
13+
14+
There is no need to extend another Activity, all you have to do is wrap your layout in SlideHolder widget like this:
15+
16+
<com.agimind.widget.SlideHolder
17+
android:layout_width="match_parent"
18+
android:layout_height="match_parent">
19+
20+
<!-- Here is any view that will represent your side menu. Don't forget to provide width! -->
21+
<View
22+
android:layout_width="300dp"
23+
android:layout_height="match_parent"
24+
/>
25+
26+
<!-- And here is your main layout -->
27+
<View
28+
android:layout_width="match_parent"
29+
android:layout_height="match_parent"
30+
android:background="@color/your_background_color"
31+
/>
32+
33+
</com.agimind.widget.SlideHolder>
34+
35+
Note, that you should provide fixed width for your menu (in xml or programmaticaly) and explicitly set non-transparent background for your main layour.
36+
37+
License
38+
=======
39+
40+
Copyright dmitry.zaicew@gmail.com Dmitry Zaitsev
41+
42+
Licensed under the Apache License, Version 2.0 (the "License");
43+
you may not use this file except in compliance with the License.
44+
You may obtain a copy of the License at
45+
46+
http://www.apache.org/licenses/LICENSE-2.0
47+
48+
Unless required by applicable law or agreed to in writing, software
49+
distributed under the License is distributed on an "AS IS" BASIS,
50+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51+
See the License for the specific language governing permissions and
52+
limitations under the License.

0 commit comments

Comments
 (0)