Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49e2fa5c authored by Adam Lesinski's avatar Adam Lesinski
Browse files

Update the Split example

Caveat: There are two bugs:

- Mipmap definitions get placed in all splits.
- mdpi drawable doesn't get split properly.

Change-Id: I53b8e54cbcb3dfba495ec68e602f98666e8883a7
parent 6a7d2757
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -20,8 +20,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_PACKAGE_NAME := Split

LOCAL_AAPT_FLAGS := --split fr,de
LOCAL_AAPT_FLAGS += -v
LOCAL_PACKAGE_SPLITS := mdpi-v4 hdpi-v4 xhdpi-v4 xxhdpi-v4

LOCAL_MODULE_TAGS := tests

+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.example.split">
    <application android:label="@string/app_title">
        <activity android:name="ActivityMain">
        <activity android:name="ActivityMain"
            android:icon="@mipmap/ic_app">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
+881 B
Loading image diff...
+604 B
Loading image diff...
+1.36 KiB
Loading image diff...
Loading