• 大小: 0.88M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签: google  NavigationDr  

资源简介

这个是google的抽屉界面的实例代码,可以直接使用,很有参考价值

资源截图

代码片段和文件信息

/*
 * Copyright 2013 The Android Open Source Project
 *
 * 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.
 */

package com.example.android.navigationdrawerexample;

import java.util.Locale;

import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import and

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        9983  2013-05-10 22:32  NavigationDrawer\src\com\example\android\navigationdrawerexample\MainActivity.java
     文件        1764  2013-05-10 22:32  NavigationDrawer\res\drawable-hdpi\action_search.png
     文件         171  2013-05-10 22:32  NavigationDrawer\res\drawable-hdpi\drawer_shadow.9.png
     文件        2842  2013-05-10 22:32  NavigationDrawer\res\drawable-hdpi\ic_drawer.png
     文件        3860  2013-05-10 22:32  NavigationDrawer\res\drawable-hdpi\ic_launcher.png
     文件        1394  2013-05-10 22:32  NavigationDrawer\res\drawable-mdpi\action_search.png
     文件         158  2013-05-10 22:32  NavigationDrawer\res\drawable-mdpi\drawer_shadow.9.png
     文件        2837  2013-05-10 22:32  NavigationDrawer\res\drawable-mdpi\ic_drawer.png
     文件        2378  2013-05-10 22:32  NavigationDrawer\res\drawable-mdpi\ic_launcher.png
     文件        2127  2013-05-10 22:32  NavigationDrawer\res\drawable-xhdpi\action_search.png
     文件         182  2013-05-10 22:32  NavigationDrawer\res\drawable-xhdpi\drawer_shadow.9.png
     文件        1056  2013-05-10 22:32  NavigationDrawer\res\drawable-xhdpi\ic_drawer.png
     文件        5525  2013-05-10 22:32  NavigationDrawer\res\drawable-xhdpi\ic_launcher.png
     文件       10368  2013-05-10 22:32  NavigationDrawer\res\drawable-xxhdpi\ic_launcher.png
     文件       98592  2013-05-10 22:32  NavigationDrawer\res\drawable\earth.jpg
     文件       32610  2013-05-10 22:32  NavigationDrawer\res\drawable\jupiter.jpg
     文件      144054  2013-05-10 22:32  NavigationDrawer\res\drawable\mars.jpg
     文件       81442  2013-05-10 22:32  NavigationDrawer\res\drawable\mercury.jpg
     文件       32548  2013-05-10 22:32  NavigationDrawer\res\drawable\neptune.jpg
     文件       21019  2013-05-10 22:32  NavigationDrawer\res\drawable\saturn.jpg
     文件       13956  2013-05-10 22:32  NavigationDrawer\res\drawable\uranus.jpg
     文件       12409  2013-05-10 22:32  NavigationDrawer\res\drawable\venus.jpg
     文件        2043  2013-05-10 22:32  NavigationDrawer\res\layout\activity_main.xml
     文件        1126  2013-05-10 22:32  NavigationDrawer\res\layout\drawer_list_item.xml
     文件         875  2013-05-10 22:32  NavigationDrawer\res\layout\fragment_planet.xml
     文件         874  2013-05-10 22:32  NavigationDrawer\res\menu\main.xml
     文件        1246  2013-05-10 22:32  NavigationDrawer\res\values\strings.xml
     文件      535319  2013-05-10 22:32  NavigationDrawer\libs\android-support-v4.jar
     文件        1402  2013-05-10 22:32  NavigationDrawer\AndroidManifest.xml
     目录           0  2013-05-10 22:32  NavigationDrawer\src\com\example\android\navigationdrawerexample\
     目录           0  2013-05-10 22:32  NavigationDrawer\src\com\example\android\
............此处省略15个文件信息

评论

共有 条评论