Fixed
Status Update
Comments
pb...@gmail.com <pb...@gmail.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.
hu...@google.com <hu...@google.com>
pb...@gmail.com <pb...@gmail.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. :(
Description
Android Studio Version:
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 26.1.3-4205252
HAXM / KVM Version: KVM 12.0.0
Android SDK Tools: 26.0.2
Host Operating System: Debian GNU/Linux testing (buster)
CPU Manufacturer: Intel CPU
Virtualization is supported
64-bit CPU
Steps to Reproduce Bug:
Install Android SDK command line tool and then the following packages:
Installed packages:
Path | Version | Description | Location
------- | ------- | ------- | -------
add-ons;addon-g..._apis-google-24 | 1 | Google APIs | add-ons/addon-g...apis-google-24/
emulator | 26.1.3 | Android Emulator | emulator/
patcher;v4 | 1 | SDK Patch Applier v4 | patcher/v4/
platform-tools | 26.0.0 | Android SDK Platform-Tools | platform-tools/
platforms;android-26 | 2 | Android SDK Platform 26 | platforms/android-26/
system-images;a...s_playstore;x86 | 4 | Google Play Intel x86 Atom Sys... | system-images/a..._playstore/x86/
tools | 26.0.2 | Android SDK Tools | tools/
Then create one virtual device using this command:
avdmanager -v create avd -n "nexus-4" -d 7 -k "system-images;android-26;google_apis_playstore;x86"
This is what I see. The UI is completely distorted. Some controls are overly big, some others are overly small. Open GL ES settings have no influence on this. I can have it set to 1.1 / 2.0 or 3.1 and the results are still the same.
Expected Behavior:
The virtual device's display shows the UI components at the appropriate size.
Observed Behavior:
The virtual device's display shows the UI components at wrong sizes. Some are too small and some being too big.