Showing posts with label ui. Show all posts
Showing posts with label ui. Show all posts
Tuesday, February 14, 2017
Android Studio 2 2 Preview New UI Designer Constraint Layout
Android Studio 2 2 Preview New UI Designer Constraint Layout
By Jamal Eason, Product Manager, Android
This week at Google I/O 2016 we launched Android Studio 2.2 Preview. This release is a large update that builds upon our focus to create a fast and productive integrated development environment (IDE) for Android. Developed in sync with the Android platform, Android Studio allows you to develop with the latest Android APIs and features. Since launching Android Studio at Google I/O just 3 years ago, we received great feedback from on you on what features you want the most. Today 92% of the top 125 apps & game developers on Google Play, plus millions of developers worldwide, use Android Studio. We want to continue to build features that will continue to make you more efficient when developing for Android and more productive.
Android Studio 2.2 Preview includes a portfolio of new features along the spectrum of developments, ranging from designing user interfaces to building and debugging your app in new ways. This preview includes the following new categories of features:
Design
Develop
Build
Test
If you are using a previous version of Android Studio, you can check for updates on the Canary channel from the navigation menu (Help ? Check for Update [Windows/Linux] , Android Studio ? Check for Updates [OS X]). This update will download a new version, and not patch your existing copy of Android Studio. You can also download Android Studio 2.2 Preview from canary release site.
For the Android Studio 2.2 Preview, we recommend you run a stable version alongside the new canary. Check out the tools site on how to run two versions at the same time.
We appreciate any feedback on things you like, issues or features you would like to see. Connect with us -- the Android Studio development team -- on our Google+ page or on Twitter.

Android Studio 2.2 Preview includes a portfolio of new features along the spectrum of developments, ranging from designing user interfaces to building and debugging your app in new ways. This preview includes the following new categories of features:
Design
- Layout Editor: A new user interface designer that helps you visually design the layouts in your app. Features like blueprint mode and the new properties panel allow you to quickly edit layouts and widgets faster.
- Constraint Layout: A new powerful and flexible Android layout that allows you to express complex UIs without nesting multiple layouts.
- Layout Inspector: Debug a snapshot of your app layout running on the Android Emulator or device. Inspect the view hierarchy and corresponding attributes.
Develop
- Firebase Plugin: Explore and integrate the suite of services offered by Firebase inside of Android Studio. Adding services like Analytics, Authentication, Notifications, and AdMob are just a few clicks away.
- Enhanced Code Analysis: Android Studio checks the quality of your Android app code. In addition to 260 Android lint and code inspections, this release includes new code quality checks for Java 8 language usage and a new inspection infrastructure for more cross-file analysis.
- Samples Browser: Referencing Android sample code is now even easier. Within the code editor window, find occurrences of your app code snippets in Google Android sample code to help jump start your app development.
- Improved C++ Support: Android Studio 2.2 improves C++ development with the ability to edit, build, and debug pre-existing Android projects that use ndk-build or CMake rather than Gradle. Additionally, the existing lldb C++ debugger is now even better with project type auto-detection and a Java language aware C++ mode that lets you use a single debugger process to inspect both Java language and C++ runtimes.
- IntelliJ 2016.1: Android Studio 2.2 includes all the latest updates from the underlying JetBrains product platforms IntelliJ.
Build
- Jack Compiler Improvements: For those using the new Jack compiler, Android Studio 2.2 adds support for annotation processing, as well as incremental builds for reduced build times.
- Merged Manifest Viewer: Diagnose how your AndroidManifest.xml merges with your app dependences across your project build variants.
Test
- Espresso Test Recorder: Record Espresso UI tests simply by using your app as a normal user. As you click through your app UI, reusable and editable test code is then generated for you. You can run the generated tests locally, in your Continuous Integration environment, or in Firebase Test lab.
- APK Analyzer: Drill into your APK to help you reduce your APK size, debug 64K method limit issues, view contents of Dex files and more.
Google I/O 16: Whats New in Android Development Tools
Deeper Dive into the New Features
Design- Layout Editor: Android Studio 2.2 features a new user interface designer. There are many enhancements but some of the highlights include:
- Drag-and-drop widgets from the palette to the design surface or the component tree view of your app.
- Design surface has a blueprint mode to inspect the spacing and arrangement of your layout.
- Properties panel now shows a curated set of properties for quick widget edits with a full sheet of advanced properties one click away.
- UI builder can edit menu and system preference files.
![]() |
| The new Layout Editor in Android Studio 2.2 Preview |
![]() |
| Edit Menus in the new Layout Editor |
- Constraint Layout: This new layout is a flexible layout manager for your app that allows you to create dynamic user interfaces without nesting multiple layouts. It is distributed as a support library that is tightly coupled with Android Studio and backwards compatible to API Level 9.
At first glance, Constraint Layout is similar to RelativeLayout. However, the Constraint Layout was designed to be used in Studio and it can efficiently express your app design so that you rely on fewer layouts like LinearLayout, FrameLayout, TableLayout, or GridLayout. Lastly, with the built-in automatic constraints inference engine. You can freely design your UI to your liking and let Android Studio do the hard work.
To help you get started, the built-in templates in the New Project Wizard in Android Studio 2.2 Preview now generate a Constraint Layout. Alternately, you can right click on any layout in the new Layout Editor and select the Convert to ConstraintLayout option.
This is an early preview of the UI designer and Constraint Layout, and we will rapidly add enchantments in upcoming releases. Learn more on the Android Studio tools site.
To help you get started, the built-in templates in the New Project Wizard in Android Studio 2.2 Preview now generate a Constraint Layout. Alternately, you can right click on any layout in the new Layout Editor and select the Convert to ConstraintLayout option.
This is an early preview of the UI designer and Constraint Layout, and we will rapidly add enchantments in upcoming releases. Learn more on the Android Studio tools site.
![]() |
Constraint Layout |
![]() |
Start Layout Inspector |
- Layout Inspector: For new and existing layouts, many times you may want to debug your app UI to determine if your layout is rendering as expected. With the new Layout Inspector, you can drill into the view hierarchy of your app and analyze the attributes of each component of UI on the screen.
To use the tool, just click on Layout Inspector Icon in the Android Monitor Window, and then Android Studio creates a snapshot of the current view hierarchy of your app for you to inspect.
For CMake users, just add the path to your CMList.txt file in the
For NDK-Build Users, just add the path to your *.mk file in the section of your Gradle file:
![]() |
| Layout Inspector |
Develop
- Firebase Plugin: Firebase is the new suite of developers services that can help you develop high-quality apps, grow your user base, and earn more money. Inside of Android Studio, you can add Firebase to a new or existing Android app with the new Assistant window. To access the Firebase features click on the Tools menu and then select Firebase. You will want to first setup the brand new Firebase Analytics as the foundation as you explore other Firebase services like Firebase Cloud Messaging or Firease Crash Reporting to add your application. Learn more about the Firebase integration inside Android Studio here.
![]() |
Firebase Plugin for Android Studio |
- Code Sample Browser: In addition to importing Android Samples, the Code Sample Browser is a menu option inside Android Studio 2.2 Preview that allows you to find high-quality, Google-provided Android code samples based on the currently highlighted symbol in your project. To use the feature, highlight a Variables, Types and Methods in your code then Right Click to show a context menu for Find Sample Code. The results are displayed in a bottom output box.
![]() |
| Code Sample Browser |
Build
- CMake and NDK-Build: For those of you using the Android NDK, Android Studio now supports building CMake and NDK-Build Android app projects by pointing Gradle at your existing build files. Once youve added your cmake or ndk-build project to Gradle, Android Studio will automatically open your relevant Android code files for editing and debugging in Studio.
For CMake users, just add the path to your CMList.txt file in the
externalNativeBuild section of your Gradle file:![]() |
| CMake Build in Android Studio |
For NDK-Build Users, just add the path to your *.mk file in the section of your Gradle file:
![]() |
| NDK-Build in Android Studio |
- Improved Jack Tools: The new Jack Toolchain compiles your Java language source into Android dex bytecode. The Jack compiler allows some Java 8 language features, like lambdas, to be used on all versions of Android. This release adds incremental build and full support for annotation processing, so you can explore using Java 8 language features in your existing projects.
To use incremental build with Jack add the following to your build.gradle file:
![]() |
Enable Jack Incremental Compile Option |
Jack will automatically apply annotations processors in your classpath. To use an annotation processor at compile-time without bundling it in your apk, use the new annotationProcessor dependency scope:
![]() |
| Enable Jack Annotation Processing |
- Merged Manifest Viewer: Figuring out how your AndroidManifest merges with your project dependencies based on build types, flavors and variants is now easier with Android Studio. Navigate to your AndroidManifest.xml and click on the new Merged Manifest bottom tab. Explore how each node of your AndroidManifest resolves with various project dependencies.
![]() |
| Merged Manifest Viewer |
Test
- Espresso Test Recorder: Sometimes writing UI tests can be tedious. With the Record Espresso UI tests feature, creating tests is now as easy as just using your app. Android Studio will capture all your UI interactions and convert them into a fully reusable Espresso Test that you can run locally or even on Firebase Test lab. To use the recorder, go to the Run menu and select Record Espresso Test.
![]() |
| Espresso Test Recorder |
- APK Analyzer: The new APK Analyzer helps you understand the contents and the sizes of different components in your APK. You can also use it to avoid 64K referenced method limit issues with your Dex files, diagnose ProGuard configuration issues, view merged AndroidManifest.xml file, and inspect the compiled resources file (resources.arsc). This can help you reduce your APK size and ensure your APK contains exactly the things you expect.
The APK Analyzer shows you both the raw file size as well as the download size of various components in your APK. The download size is the estimated size users need to download when the APK is served from Google Play. This information should help you prioritize where to focus in your size reduction efforts.
To use this new feature, click on the Build menu and select Analyze APK
Then, select any APK that you want to analyze.
![]() |
| APK Analyzer |
- Java-aware C++ Debugger: When debugging C++ code on targets running N and above, you can now use a single, Java language aware lldb instance. This debugger continues to support great lldb features like fast steps and memory watchpoints while also allowing you to stop on Java language breakpoints and view your Java language memory contents.
- Auto Debugger Selection: Android Studio apps can now use debugger type Auto. This will automatically enable the appropriate debugger -- the Java language aware C++ debugger if enabled and otherwise the hybrid debugger for C++ projects. Projects exclusively using the Java language will continue to use the Java language debugger.
![]() |
| Enable Auto Debugger for C++ |
Whats Next
DownloadIf you are using a previous version of Android Studio, you can check for updates on the Canary channel from the navigation menu (Help ? Check for Update [Windows/Linux] , Android Studio ? Check for Updates [OS X]). This update will download a new version, and not patch your existing copy of Android Studio. You can also download Android Studio 2.2 Preview from canary release site.
For the Android Studio 2.2 Preview, we recommend you run a stable version alongside the new canary. Check out the tools site on how to run two versions at the same time.
We appreciate any feedback on things you like, issues or features you would like to see. Connect with us -- the Android Studio development team -- on our Google+ page or on Twitter.
Available link for download
Sunday, December 4, 2016
How to Update Huawei Ascend G7 L01 to Android 6 0 Marshmallow B530 OS Emotion UI 4 0
How to Update Huawei Ascend G7 L01 to Android 6 0 Marshmallow B530 OS Emotion UI 4 0
Huawei Ascend G7 (L01) is finally getting updated to Emotion UI 4.0 on Android 6.0 Marshmallow B530 OS. This update will be rolled out in different Asian Pacific countries via OTA starting with Turkey.

You Can find out how to apply it right now via this easy tutorial.

You Can find out how to apply it right now via this easy tutorial.
View my Flipboard Magazine.
÷ Prerequisites:
This update should only be installed on G7-L01 having C464D004 custom number.
*Disclaimer:
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
* Important:
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong youll have backup of all your important files.

÷ How to Update Huawei Ascend G7 (L01) to Android 6.0 Marshmallow B530 OS Emotion UI 4.0
1- Download Huawei Ascend G7 (L01) to Android 6.0 Marshmallow B530 OS Emotion UI 4.0
2- Extract the RAR package on your computer using WinRAR or 7-Zip.
3- Copy the dload folder to the external microSD card of your phone.
4- Take a backup of all your important data using HiSuite or Huawei Backup app.
5- Now, turn your device off.
6- Hold Vol down + Vol up + Power for a few seconds until the installation gets started.
7- Your phone will automatically reboot upon successful upgrade.
Thats it! Your Huawei Ascend G7 (L01)should have B530 Marshmallow 6.0 OTA
on your phone! Go to Settings > About phone to verify.

For More Huawei Ascend G7 (L01) Updates Keep Checking Android Custom ROM Fix ®
Thats all. We hope this guide serves you well. If theres anything youd like to be added/changed on this page, PLZ Use the comment box below to contribute more ideas & Suggestions .
Like this post? PLZ Hit the share buttons below to share this article with your friends on Facebook, Google + and Twitter.
Want the latest Updates Sign up for our newsletters!
PLZ Follow Us On Flipboard 4 More Latest Updates.
Best Regards.
÷ Firmware Details:
- Device: Huawei Ascend G7
- Model: G7-L01
- Android: v6.0 Marshmallow
- EMUI: 4.0
- Firmware: B530
- Build Number: G7-L01C464B530
- Custom Number: CUSTC464D004
- Region: Asia Pacific
- Country: Turkey
- Release Date: 30.06.2016
- Status: Official (stable)
- Type: Full firmware image (Update.app)
- File Name: G7-L01C464B530CUSTC464D004 TA.rar
÷ Prerequisites:
This update should only be installed on G7-L01 having C464D004 custom number.
*Disclaimer:
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
* Important:
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong youll have backup of all your important files.

÷ How to Update Huawei Ascend G7 (L01) to Android 6.0 Marshmallow B530 OS Emotion UI 4.0
1- Download Huawei Ascend G7 (L01) to Android 6.0 Marshmallow B530 OS Emotion UI 4.0
2- Extract the RAR package on your computer using WinRAR or 7-Zip.
3- Copy the dload folder to the external microSD card of your phone.
4- Take a backup of all your important data using HiSuite or Huawei Backup app.
5- Now, turn your device off.
6- Hold Vol down + Vol up + Power for a few seconds until the installation gets started.
7- Your phone will automatically reboot upon successful upgrade.
Thats it! Your Huawei Ascend G7 (L01)should have B530 Marshmallow 6.0 OTA
on your phone! Go to Settings > About phone to verify.

For More Huawei Ascend G7 (L01) Updates Keep Checking Android Custom ROM Fix ®
Thats all. We hope this guide serves you well. If theres anything youd like to be added/changed on this page, PLZ Use the comment box below to contribute more ideas & Suggestions .
Like this post? PLZ Hit the share buttons below to share this article with your friends on Facebook, Google + and Twitter.
Want the latest Updates Sign up for our newsletters!
PLZ Follow Us On Flipboard 4 More Latest Updates.
Best Regards.
Available link for download
Tuesday, November 29, 2016
Google Tweaks Mobile Search UI
Google Tweaks Mobile Search UI
Google tweaked the mobile search interface. Theres now a menu that lets you view the original image, open the list of saved images, search by image and send feedback. Theres also a redundant "visit page" link below the image.

Google brought back the title of the page and thats a good thing because you can find more details about the image. Hopefully, Google will also bring back the snippets.


You can find some screenshots for the old interface in this post.
Available link for download
Tuesday, September 6, 2016
How to Install Android 6 0 1 Marshmallow Xstasy ROM on Xperia Z2 Xperia X UI
How to Install Android 6 0 1 Marshmallow Xstasy ROM on Xperia Z2 Xperia X UI
Sony Xperia Z2 Xstasy custom ROM comes with tons of new features and is based on Android 6.0.1 Marshmallow. A quick list of the main features in Xstasy is given below and we are sure youd love to use this on your Xperia Z2:

Android 6.0.1 Marshmallow.
Xperia X UI.
Fast and Smooth.
Stable...
Dont worry we are going to share step by step guide to safely Install Android 6.0.1 Marshmallow Xstasy ROM on Xperia Z2 [Xperia X UI].
View my Flipboard Magazine.
÷ Prerequisites:
This tutorial is only for installing Android 6.0.1 Xstasy ROM on Sony Xperia Z2. Please do not try on any other Xperia Z variants.
Your phone should be rooted and have ClockworkMod recovery installed from before.
This tutorial will wipe out all your data. Proceed at your own risk.
Perform a Dalvik Cache wipe before proceeding from the recovery mode.
Sony PC Companion will NOT detect your phone after installing this ROM because it is a custom firmware.
Bootloader should be unlocked or you will not
be able to install this ROM.
Make sure you backup all your data in your phone before proceeding.
*Disclaimer:
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
* Important:
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong youll have backup of all your important files.
÷ How to: Install Android 6.0.1 Marshmallow Xstasy ROM on Xperia Z2 [Xperia X UI]
Step 1 Download Xstasy Android 6.0.1 ROM for Sony Xperia Z2 to your computer and extract boot.img from the zip file separately.
Step 2 Connect and mount your Sony Xperia Z2 USB (mass) memory on your computer using the USB cable.
Step 3 Now copy/paste the downloaded Android 6.0.1 ROM zip file to your SD card. Make sure the file is in the SD card root.
Step 4 Copy/paste the boot.img file to android-sdk-windowsplatform-tools directory.
Step 5 Then turn OFF your phone.
Step 6 Now to get into the Bootloader Mode. Press and hold the Volume Up button while connecting it again with the USB cable. Your phone LED will turn blue and it will get into the Bootloader Mode.
Step 7 Once in the Fastboot mode (on your phone), navigate to android-sdk-windowsplatform-tools directory (on your computer) and open Command Prompt (Shift + Right-click > Open Command Prompt).
Step 8 Type the following command and press Enter.
fastboot flash boot boot.img
Step 9 Then, type the following command and press Enter.
fastboot reboot
Step 10 Now to get in the Recovery Mode.
Switch ON the phone while pressing the Volume Up or Volume Down buttons a few times when you see the LED light turn pink or any other colour.
Step 11 Once you are in ClockworkMod Recovery, select perform a full data wipe by selecting wipe data/factory reset as shown below. Use the Power button to select everything while in the Recovery Mode.
Step 12 Then, perform a cache wipe by selecting wipe cache partition.
Step 13 Now this is optional, but it is recommended to perform a wipe of your dalvik cache as well. You will not get into boot loops or any other errors. From CWM recovery, go to advanced and then select wipe dalvik cache.
Step 14 Then go back to the main recovery screen and select install zip from SD card.
Step 15 Now select choose zip from sdcard. Using your volume keys, navigate to the Android 6.0.1 ROM zip file that you copied to your SD card and select it using the Power button. Confirm the installation on the next screen and the installation procedure should start now.

Step 16 After the installation completes, go to +++++Go Back+++++ and reboot the phone by selecting reboot system now from the recovery menu .
Your Xperia Z2 will boot now and it might take about 5 minutes to boot on your first time. So, please wait.
Thats it! Your Xperia Z2 should now have Android 6.0.1 Xstasy Marshmallow custom ROM installed on your phone! Go to Settings > About phone to verify.
For More Sony Xperia Z2 Updates Keep Checking Android Custom ROM Fix ®
Thats all. We hope this guide serves you well. If theres anything youd like to be added/changed on this page, PLZ Use the comment box below to contribute more ideas & Suggestions .
Like this post? PLZ Hit the share buttons below to share this article with your friends on Facebook, Google + and Twitter.
Want the latest Updates Sign up for our newsletters!
PLZ Follow Us On Flipboard 4 More Latest Updates.
Best Regards.
÷ Prerequisites:
This tutorial is only for installing Android 6.0.1 Xstasy ROM on Sony Xperia Z2. Please do not try on any other Xperia Z variants.
Your phone should be rooted and have ClockworkMod recovery installed from before.
This tutorial will wipe out all your data. Proceed at your own risk.
Perform a Dalvik Cache wipe before proceeding from the recovery mode.
Sony PC Companion will NOT detect your phone after installing this ROM because it is a custom firmware.
Bootloader should be unlocked or you will not
be able to install this ROM.
Make sure you backup all your data in your phone before proceeding.
*Disclaimer:
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
* Important:
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong youll have backup of all your important files.

Step 1 Download Xstasy Android 6.0.1 ROM for Sony Xperia Z2 to your computer and extract boot.img from the zip file separately.
Step 2 Connect and mount your Sony Xperia Z2 USB (mass) memory on your computer using the USB cable.
Step 3 Now copy/paste the downloaded Android 6.0.1 ROM zip file to your SD card. Make sure the file is in the SD card root.
Step 4 Copy/paste the boot.img file to android-sdk-windowsplatform-tools directory.
Step 5 Then turn OFF your phone.
Step 6 Now to get into the Bootloader Mode. Press and hold the Volume Up button while connecting it again with the USB cable. Your phone LED will turn blue and it will get into the Bootloader Mode.
Step 7 Once in the Fastboot mode (on your phone), navigate to android-sdk-windowsplatform-tools directory (on your computer) and open Command Prompt (Shift + Right-click > Open Command Prompt).
Step 8 Type the following command and press Enter.
fastboot flash boot boot.img
Step 9 Then, type the following command and press Enter.
fastboot reboot
Step 10 Now to get in the Recovery Mode.
Switch ON the phone while pressing the Volume Up or Volume Down buttons a few times when you see the LED light turn pink or any other colour.
Step 11 Once you are in ClockworkMod Recovery, select perform a full data wipe by selecting wipe data/factory reset as shown below. Use the Power button to select everything while in the Recovery Mode.
Step 12 Then, perform a cache wipe by selecting wipe cache partition.
Step 13 Now this is optional, but it is recommended to perform a wipe of your dalvik cache as well. You will not get into boot loops or any other errors. From CWM recovery, go to advanced and then select wipe dalvik cache.
Step 14 Then go back to the main recovery screen and select install zip from SD card.
Step 15 Now select choose zip from sdcard. Using your volume keys, navigate to the Android 6.0.1 ROM zip file that you copied to your SD card and select it using the Power button. Confirm the installation on the next screen and the installation procedure should start now.

Step 16 After the installation completes, go to +++++Go Back+++++ and reboot the phone by selecting reboot system now from the recovery menu .
Your Xperia Z2 will boot now and it might take about 5 minutes to boot on your first time. So, please wait.
Thats it! Your Xperia Z2 should now have Android 6.0.1 Xstasy Marshmallow custom ROM installed on your phone! Go to Settings > About phone to verify.
For More Sony Xperia Z2 Updates Keep Checking Android Custom ROM Fix ®
Thats all. We hope this guide serves you well. If theres anything youd like to be added/changed on this page, PLZ Use the comment box below to contribute more ideas & Suggestions .
Like this post? PLZ Hit the share buttons below to share this article with your friends on Facebook, Google + and Twitter.
Want the latest Updates Sign up for our newsletters!
PLZ Follow Us On Flipboard 4 More Latest Updates.
Best Regards.
Available link for download
Subscribe to:
Posts (Atom)














