zoom for android code example

Example 1: android studio zoom in

Step 1: Open Android Studio and Go to File

Step 2: Open Settings

Step 3: Click on Editor

Step 4: Click General

Step 5: Check Change font size (Zoom) with Ctrl+Mouse Wheel

Example 2: android zoom animation

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true">
    <scale
    android:duration="1000"
    android:fromXScale="1"
    android:fromYScale="1"
    android:pivotX="50%"
    android:pivotY="50%"
    android:toXScale="3"
    android:toYScale="3"/>
 </set>

Tags:

Java Example