Code

Code

Shipping Multiple APKs in Android

  1. armeabiv-v7a: Version 7 or higher of the ARM processor. Most Android phones released from 2011-15 are using this.
  2. arm64-v8a: 64-bit ARM processors. Found on new devices, like the Samsung Galaxy S6.
  3. armeabi: Older phones using v5 or v6 of the ARM processor.
  4. x86: Mostly used by tablets, and by emulators.
  5. x86_64: Used by 64-bit tablets.

android {
  // rest of your app's logic
  splits {
    abi {
        enable true
        reset()
        include 'x86', 'x86_64', 'arm64-v8a', 'armeabi-v7a', 'armeabi'
        universalApk false
    }
  }
}

Change drawer icon back to back arrow in Android

<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>

<style name="DrawerArrowStyle" parent="@style/Widget.AppCompat.DrawerArrowToggle">
    <item name="spinBars">true</item>
    <item name="color">@android:color/black</item>
</style>


How to use "sec:authorize" for checking multiple Roles?

<sec:authorize access="hasAnyRole('ROLE_A', 'ROLE_B')">
   text
</sec:authorize>



Subscribe to: Posts (Atom)