Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问像这样的对齐排列,使用什么插件来完成的吗? #20

Open
song314 opened this issue Jun 22, 2016 · 2 comments
Open

Comments

@song314
Copy link

song314 commented Jun 22, 2016

这样阅读起来确实很优雅,蛋不会是手动对齐的吧?

ext {

android = [compileSdkVersion: 23,
           buildToolsVersion: "23.0.2",
           applicationId    : "me.storm.ninegag",
           minSdkVersion    : 14,
           targetSdkVersion : 22,
           versionCode      : 2,
           versionName      : "1.1.0"]

dependencies = ["support-v4"               : 'com.android.support:support-v4:23.1.1',
                "appcompat-v7"             : 'com.android.support:appcompat-v7:23.1.1',
                "design"                   : 'com.android.support:design:23.1.1',
                "cardview-v7"              : 'com.android.support:cardview-v7:23.1.1',
                "recyclerview-v7"          : 'com.android.support:recyclerview-v7:23.1.1',
                "multidex"                 : "com.android.support:multidex:1.0.+",
                "butterknife"              : 'com.jakewharton:butterknife:7.0.1',
                "volley"                   : 'com.mcxiaoke.volley:library:1.0.19',
                "okhttp"                   : 'com.squareup.okhttp:okhttp:2.7.0',
                "okhttp-urlconnection"     : 'com.squareup.okhttp:okhttp-urlconnection:2.7.0',
                "leakcanary"               : 'com.squareup.leakcanary:leakcanary-android:1.3.1',
                "glide"                    : 'com.github.bumptech.glide:glide:3.6.1',
                "glide-okhttp-integration" : 'com.github.bumptech.glide:okhttp-integration:1.3.1',
                "foldable-layout"          : 'com.alexvasilkov:foldable-layout:1.0.1',
                "etsy-grid"                : 'com.etsy.android.grid:library:1.0.5']

}

@KyleCe
Copy link

KyleCe commented Aug 9, 2016

好像官方是不推荐这样的对齐方式的。如果你一定要对齐成这样,可以在对齐规则里设置

@rinvay
Copy link

rinvay commented Aug 10, 2016

好像AS默认格式化就这样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants