Status Update
Comments
uc...@google.com <uc...@google.com> #2
We use build flavours heavily with a lot of common code. The refactoring support in AS is really good but it continually catches us out when it doesn't work across all flavours in a project. It's a big gap for serious product development.
ni...@google.com <ni...@google.com>
ni...@google.com <ni...@google.com> #3
We at my company need this same feature. We have a lot of white labels and need refactor the same class across flavours. :(
ru...@gmail.com <ru...@gmail.com> #4
I need this feature too...
ru...@gmail.com <ru...@gmail.com> #5
+1, I need this very badly
Description
Android Studio 2.3, updated to the latest tool chain:
compile 'com.android.support:design:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:appcompat-v7:25.3.1'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.snap.android.apis"
minSdkVersion 19
targetSdkVersion 25
multiDexEnabled true
The problem:
When placing elements with ConstraintLayout editor with constraints to parent, "Left" and "Right" are used instead of "Start" and "End". Thus, causing RTL layouts to look messed up.
Worse:
Chained objects are not properly written, thus, creating chained objects makes spacing and margins go astray.
Reproduction:
Put 3 textView items in a row. Make the 1st show "1", the 2nd show "2", the 3rd show "3".
Chain the 3 items (I used SpreadInside).
Try to run on an RTL language device (e.g. Hebrew, Yiddish, Arabic or Urdu).
Margins go astray, chaining disappears even in the preview.
If the file is corrected manually, replacing Left to Start, Right to End, the spacing to the ends of the layout is not maintained constant.