小编use*_*915的帖子

从Eclipse迁移到Android Studio gradle结构后更改项目文件结构

我从Eclipse迁移了一个项目.该项目仍然具有eclipse的"旧"项目文件结构(请参阅http://developer.android.com/tools/projects/index.html).有没有办法自动将文件structrue更改为新系统(请参阅http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Project-Structure)?如果我正确理解http://developer.android.com/sdk/installing/studio-tips.html项目结构部分,这应该在迁移时发生,但它没有(可能是我的错误).再一次我的问题:是否可以自动更改文件结构?如果没有,我还需要改变什么?我需要在build.gradle中更改什么?什么是过时的文件/目录?

谢谢!

斯蒂芬

android project-structure eclipse-adt android-studio build.gradle

9
推荐指数
1
解决办法
4041
查看次数

CheckedTextView的Android checkMarkGravity属性(api 21)

来自plattform源的select_dialog_singlechoice_material.xml布局使用android:checkMarkGravity ="start"属性:

<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2014 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 …
Run Code Online (Sandbox Code Playgroud)

android checkedtextview android-5.0-lollipop

8
推荐指数
1
解决办法
750
查看次数