Skip to main content
Aviso eliminado Atraer atención por Bruno Sosa Fast Tag
Recompensa finalizada con David Villegas's answer elegida por Bruno Sosa Fast Tag
se añadieron 21 caracteres en el cuerpo
Origen Enlace
Pablo Lozano
  • 49.9k
  • 8
  • 55
  • 92

Mi aplicacionaplicación no toma la configuracionconfiguración nativa por configuracionconfiguración

Si voy a Opciones - Zoom y tamaño de letra y vuelvo a mi aplicacionaplicación siempre me muestra el mismo tamaño - EncontreEncontré que deberiadebería usar SP envezen vez de DP

<?xml version="1.0" encoding="utf-8"?>
16sp16sp
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16sp</dimen>
<dimen name="activity_vertical_margin">16sp</dimen>

<!--Tamaño de textos-->
<dimen name="simple_text_size_big">30sp</dimen>
<dimen name="simple_text_size">17sp</dimen>
<dimen name="simple_text_size_very_big">25sp</dimen>
<dimen name="simple_text_size_small">13sp</dimen>
<dimen name="simple_text_size_very_small">10sp</dimen>
<dimen name="simple_text_size_small_big">14sp</dimen>

<!--Padding-->
<dimen name="page_padding_top_principal">30sp</dimen>
<dimen name="page_padding_top">10sp</dimen>
<dimen name="page_padding">10sp</dimen>
<dimen name="page_padding_top_big">15sp</dimen>
<dimen name="page_padding_top_small">5sp</dimen>
<dimen name="page_padding_bottom_small">5sp</dimen>
<dimen name="page_padding_bottom_big">15sp</dimen>
<dimen name="page_padding_left_small">5sp</dimen>
<dimen name="page_padding_left">10sp</dimen>
<dimen name="page_padding_right">10sp</dimen>
<dimen name="page_padding_left_double">20sp</dimen>
<dimen name="page_padding_right_double">20sp</dimen>
<dimen name="slide_menu_padding">10sp</dimen>
<dimen name="slide_menu_margin">15sp</dimen>

<!--Margim-->
<dimen name="page_margin_top_principal">30sp</dimen>
<dimen name="page_margin_top">10sp</dimen>
<dimen name="page_margin_top_double">20sp</dimen>
<dimen name="page_margin_top_small">5sp</dimen>
<dimen name="page_margin_bottom_small">5sp</dimen>
<dimen name="page_margin_left">10sp</dimen>
<dimen name="page_margin_right">10sp</dimen>
<dimen name="page_margin_left_big">25sp</dimen>
<dimen name="page_margin_right_big">25sp</dimen>
<dimen name="page_margin_left_double">40sp</dimen>
<dimen name="page_margin_top_big">15sp</dimen>
<dimen name="page_margin_bottom_big">20sp</dimen>
<dimen name="page_margin_bottom_double">40sp</dimen>
<dimen name="page_margin_right_double">40sp</dimen>

<!--Separador de lineas-->
<dimen name="line_separator_height">1.5sp</dimen>
<dimen name="line_separator">1sp</dimen>
<dimen name="toolbar_height">45sp</dimen>
<dimen name="button_height">50sp</dimen>
<dimen name="toolbar_margin">10sp</dimen>
<dimen name="table_title_heigh">40sp</dimen>
<dimen name="bankLogo_height">170sp</dimen>
<dimen name="bankLogo_width">230sp</dimen>
<dimen name="appTitle_height">225sp</dimen>
<dimen name="appTitle_width">45sp</dimen>
<dimen name="home_toolbar_icon">20sp</dimen>
<dimen name="home_list_item_icon">30sp</dimen>
<dimen name="menu_margin">30sp</dimen>
<dimen name="cero">0sp</dimen>
<dimen name="rowPadding">2sp</dimen>
<dimen name="grid_item_image_width">70sp</dimen>
<dimen name="grid_item_image_height">70sp</dimen>
<dimen name="page_margin_bottom">10sp</dimen>
<dimen name="line_separator_height_thick">2sp</dimen>

<dimen name="input_label_vertical_spacing">8sp</dimen>
<dimen name="input_label_horizontal_spacing">4sp</dimen>
</resources>

Probe con DP y SP y ninguna de las 2 hace ningun efecto

este es mi manifest `<manifest xmlns:android="http://schemas.android.com/apk/res/android"Probé con DP y SP y ninguna de las 2 hace ningún efecto

este es mi manifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

  xmlns:tools="http://schemas.android.com/tools"
  package="machala.twoinnovateit.com.machalamym">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />

<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:hardwareAccelerated="false"
    android:name = "android.support.multidex.MultiDexApplication"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:roundIcon="@mipmap/ic_launcher"
    android:supportsRtl="true"
    android:allowBackup="false"
    android:theme="@style/AppTheme">
    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="machala.twoinnovateit.com.machalamym.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <!-- ressource file to create -->
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/file_paths">
        </meta-data>
    </provider>
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyCod4KJ24V8jR6O8GEC0vK2RiYZYnpMcro" />

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.SplashInicio"
        android:theme="@style/AppThemeLogin">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.LoginPassUserActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactConfirmadaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsDetailActivity"
        android:screenOrientation="portrait">


    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsDetailActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.OfficesActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.PromotionsActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Transactions.Payments.PagoActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MainMenu.HomeActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.HuellaDigitalActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleInversionActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCuentaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name=".machala.Transactions.Transfers.TransferenciaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.InicialActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BloqueoConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailTarjetaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailChequeActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.BeneficiaryActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.PantallaDeError"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.FotoAliasActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordConfirmation"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsDetailsActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.EstadoCuentaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name=".machala.Transactions.Transfers.TranferenciaConfirmadaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleTarjetaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCreditoActivity"
        android:screenOrientation="portrait"/>

</application>

</manifest>

Pd: si necesito que se adapte segunsegún la configuracionconfiguración nativa

Mi aplicacion no toma la configuracion nativa por configuracion

Si voy a Opciones - Zoom y tamaño de letra y vuelvo a mi aplicacion siempre me muestra el mismo tamaño - Encontre que deberia usar SP envez de DP

<?xml version="1.0" encoding="utf-8"?>
16sp16sp
<!--Tamaño de textos-->
<dimen name="simple_text_size_big">30sp</dimen>
<dimen name="simple_text_size">17sp</dimen>
<dimen name="simple_text_size_very_big">25sp</dimen>
<dimen name="simple_text_size_small">13sp</dimen>
<dimen name="simple_text_size_very_small">10sp</dimen>
<dimen name="simple_text_size_small_big">14sp</dimen>

<!--Padding-->
<dimen name="page_padding_top_principal">30sp</dimen>
<dimen name="page_padding_top">10sp</dimen>
<dimen name="page_padding">10sp</dimen>
<dimen name="page_padding_top_big">15sp</dimen>
<dimen name="page_padding_top_small">5sp</dimen>
<dimen name="page_padding_bottom_small">5sp</dimen>
<dimen name="page_padding_bottom_big">15sp</dimen>
<dimen name="page_padding_left_small">5sp</dimen>
<dimen name="page_padding_left">10sp</dimen>
<dimen name="page_padding_right">10sp</dimen>
<dimen name="page_padding_left_double">20sp</dimen>
<dimen name="page_padding_right_double">20sp</dimen>
<dimen name="slide_menu_padding">10sp</dimen>
<dimen name="slide_menu_margin">15sp</dimen>

<!--Margim-->
<dimen name="page_margin_top_principal">30sp</dimen>
<dimen name="page_margin_top">10sp</dimen>
<dimen name="page_margin_top_double">20sp</dimen>
<dimen name="page_margin_top_small">5sp</dimen>
<dimen name="page_margin_bottom_small">5sp</dimen>
<dimen name="page_margin_left">10sp</dimen>
<dimen name="page_margin_right">10sp</dimen>
<dimen name="page_margin_left_big">25sp</dimen>
<dimen name="page_margin_right_big">25sp</dimen>
<dimen name="page_margin_left_double">40sp</dimen>
<dimen name="page_margin_top_big">15sp</dimen>
<dimen name="page_margin_bottom_big">20sp</dimen>
<dimen name="page_margin_bottom_double">40sp</dimen>
<dimen name="page_margin_right_double">40sp</dimen>

<!--Separador de lineas-->
<dimen name="line_separator_height">1.5sp</dimen>
<dimen name="line_separator">1sp</dimen>
<dimen name="toolbar_height">45sp</dimen>
<dimen name="button_height">50sp</dimen>
<dimen name="toolbar_margin">10sp</dimen>
<dimen name="table_title_heigh">40sp</dimen>
<dimen name="bankLogo_height">170sp</dimen>
<dimen name="bankLogo_width">230sp</dimen>
<dimen name="appTitle_height">225sp</dimen>
<dimen name="appTitle_width">45sp</dimen>
<dimen name="home_toolbar_icon">20sp</dimen>
<dimen name="home_list_item_icon">30sp</dimen>
<dimen name="menu_margin">30sp</dimen>
<dimen name="cero">0sp</dimen>
<dimen name="rowPadding">2sp</dimen>
<dimen name="grid_item_image_width">70sp</dimen>
<dimen name="grid_item_image_height">70sp</dimen>
<dimen name="page_margin_bottom">10sp</dimen>
<dimen name="line_separator_height_thick">2sp</dimen>

<dimen name="input_label_vertical_spacing">8sp</dimen>
<dimen name="input_label_horizontal_spacing">4sp</dimen>

Probe con DP y SP y ninguna de las 2 hace ningun efecto

este es mi manifest `<manifest xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"
package="machala.twoinnovateit.com.machalamym">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />

<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:hardwareAccelerated="false"
    android:name = "android.support.multidex.MultiDexApplication"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:roundIcon="@mipmap/ic_launcher"
    android:supportsRtl="true"
    android:allowBackup="false"
    android:theme="@style/AppTheme">
    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="machala.twoinnovateit.com.machalamym.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <!-- ressource file to create -->
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/file_paths">
        </meta-data>
    </provider>
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyCod4KJ24V8jR6O8GEC0vK2RiYZYnpMcro" />

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.SplashInicio"
        android:theme="@style/AppThemeLogin">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.LoginPassUserActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactConfirmadaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsDetailActivity"
        android:screenOrientation="portrait">


    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsDetailActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.OfficesActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.PromotionsActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Transactions.Payments.PagoActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MainMenu.HomeActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.HuellaDigitalActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleInversionActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCuentaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name=".machala.Transactions.Transfers.TransferenciaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.InicialActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BloqueoConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailTarjetaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailChequeActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.BeneficiaryActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.PantallaDeError"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.FotoAliasActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordConfirmation"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsDetailsActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.EstadoCuentaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name=".machala.Transactions.Transfers.TranferenciaConfirmadaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleTarjetaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCreditoActivity"
        android:screenOrientation="portrait"/>

</application>

Pd: si necesito que se adapte segun la configuracion nativa

Mi aplicación no toma la configuración nativa por configuración

Si voy a Opciones - Zoom y tamaño de letra y vuelvo a mi aplicación siempre me muestra el mismo tamaño - Encontré que debería usar SP en vez de DP

<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16sp</dimen>
<dimen name="activity_vertical_margin">16sp</dimen>

<!--Tamaño de textos-->
<dimen name="simple_text_size_big">30sp</dimen>
<dimen name="simple_text_size">17sp</dimen>
<dimen name="simple_text_size_very_big">25sp</dimen>
<dimen name="simple_text_size_small">13sp</dimen>
<dimen name="simple_text_size_very_small">10sp</dimen>
<dimen name="simple_text_size_small_big">14sp</dimen>

<!--Padding-->
<dimen name="page_padding_top_principal">30sp</dimen>
<dimen name="page_padding_top">10sp</dimen>
<dimen name="page_padding">10sp</dimen>
<dimen name="page_padding_top_big">15sp</dimen>
<dimen name="page_padding_top_small">5sp</dimen>
<dimen name="page_padding_bottom_small">5sp</dimen>
<dimen name="page_padding_bottom_big">15sp</dimen>
<dimen name="page_padding_left_small">5sp</dimen>
<dimen name="page_padding_left">10sp</dimen>
<dimen name="page_padding_right">10sp</dimen>
<dimen name="page_padding_left_double">20sp</dimen>
<dimen name="page_padding_right_double">20sp</dimen>
<dimen name="slide_menu_padding">10sp</dimen>
<dimen name="slide_menu_margin">15sp</dimen>

<!--Margim-->
<dimen name="page_margin_top_principal">30sp</dimen>
<dimen name="page_margin_top">10sp</dimen>
<dimen name="page_margin_top_double">20sp</dimen>
<dimen name="page_margin_top_small">5sp</dimen>
<dimen name="page_margin_bottom_small">5sp</dimen>
<dimen name="page_margin_left">10sp</dimen>
<dimen name="page_margin_right">10sp</dimen>
<dimen name="page_margin_left_big">25sp</dimen>
<dimen name="page_margin_right_big">25sp</dimen>
<dimen name="page_margin_left_double">40sp</dimen>
<dimen name="page_margin_top_big">15sp</dimen>
<dimen name="page_margin_bottom_big">20sp</dimen>
<dimen name="page_margin_bottom_double">40sp</dimen>
<dimen name="page_margin_right_double">40sp</dimen>

<!--Separador de lineas-->
<dimen name="line_separator_height">1.5sp</dimen>
<dimen name="line_separator">1sp</dimen>
<dimen name="toolbar_height">45sp</dimen>
<dimen name="button_height">50sp</dimen>
<dimen name="toolbar_margin">10sp</dimen>
<dimen name="table_title_heigh">40sp</dimen>
<dimen name="bankLogo_height">170sp</dimen>
<dimen name="bankLogo_width">230sp</dimen>
<dimen name="appTitle_height">225sp</dimen>
<dimen name="appTitle_width">45sp</dimen>
<dimen name="home_toolbar_icon">20sp</dimen>
<dimen name="home_list_item_icon">30sp</dimen>
<dimen name="menu_margin">30sp</dimen>
<dimen name="cero">0sp</dimen>
<dimen name="rowPadding">2sp</dimen>
<dimen name="grid_item_image_width">70sp</dimen>
<dimen name="grid_item_image_height">70sp</dimen>
<dimen name="page_margin_bottom">10sp</dimen>
<dimen name="line_separator_height_thick">2sp</dimen>

<dimen name="input_label_vertical_spacing">8sp</dimen>
<dimen name="input_label_horizontal_spacing">4sp</dimen>
</resources>

Probé con DP y SP y ninguna de las 2 hace ningún efecto

este es mi manifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

  xmlns:tools="http://schemas.android.com/tools"
  package="machala.twoinnovateit.com.machalamym">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />

<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:hardwareAccelerated="false"
    android:name = "android.support.multidex.MultiDexApplication"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:roundIcon="@mipmap/ic_launcher"
    android:supportsRtl="true"
    android:allowBackup="false"
    android:theme="@style/AppTheme">
    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="machala.twoinnovateit.com.machalamym.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <!-- ressource file to create -->
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/file_paths">
        </meta-data>
    </provider>
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyCod4KJ24V8jR6O8GEC0vK2RiYZYnpMcro" />

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.SplashInicio"
        android:theme="@style/AppThemeLogin">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.LoginPassUserActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactConfirmadaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsDetailActivity"
        android:screenOrientation="portrait">


    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsDetailActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.OfficesActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.PromotionsActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Transactions.Payments.PagoActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MainMenu.HomeActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.HuellaDigitalActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleInversionActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCuentaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name=".machala.Transactions.Transfers.TransferenciaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.InicialActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BloqueoConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailTarjetaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailChequeActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.BeneficiaryActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.PantallaDeError"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.FotoAliasActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordConfirmation"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsDetailsActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.EstadoCuentaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name=".machala.Transactions.Transfers.TranferenciaConfirmadaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleTarjetaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCreditoActivity"
        android:screenOrientation="portrait"/>

</application>

</manifest>

Pd: necesito que se adapte según la configuración nativa

se añadieron 581 caracteres en el cuerpo
Origen Enlace

TextView de ejemplo :

 <TextView
                android:id="@+id/forgottenPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_centerVertical="true"
                android:onClick="goToRecoverPassword"
                android:text="@string/forgotten_password"
                android:textColor="@color/gris"
                android:textSize="@dimen/simple_text_size_small" />

TextView de ejemplo :

 <TextView
                android:id="@+id/forgottenPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerHorizontal="true"
                android:layout_centerVertical="true"
                android:onClick="goToRecoverPassword"
                android:text="@string/forgotten_password"
                android:textColor="@color/gris"
                android:textSize="@dimen/simple_text_size_small" />
Aviso añadido Atraer atención por Bruno Sosa Fast Tag
Recompensa iniciada por un valor de 50 de reputación por Bruno Sosa Fast Tag
Origen Enlace

TextViews no se adaptan a la configuracion de tamaño nativa

Mi aplicacion no toma la configuracion nativa por configuracion

Si voy a Opciones - Zoom y tamaño de letra y vuelvo a mi aplicacion siempre me muestra el mismo tamaño - Encontre que deberia usar SP envez de DP

<?xml version="1.0" encoding="utf-8"?>
16sp 16sp
<!--Tamaño de textos-->
<dimen name="simple_text_size_big">30sp</dimen>
<dimen name="simple_text_size">17sp</dimen>
<dimen name="simple_text_size_very_big">25sp</dimen>
<dimen name="simple_text_size_small">13sp</dimen>
<dimen name="simple_text_size_very_small">10sp</dimen>
<dimen name="simple_text_size_small_big">14sp</dimen>

<!--Padding-->
<dimen name="page_padding_top_principal">30sp</dimen>
<dimen name="page_padding_top">10sp</dimen>
<dimen name="page_padding">10sp</dimen>
<dimen name="page_padding_top_big">15sp</dimen>
<dimen name="page_padding_top_small">5sp</dimen>
<dimen name="page_padding_bottom_small">5sp</dimen>
<dimen name="page_padding_bottom_big">15sp</dimen>
<dimen name="page_padding_left_small">5sp</dimen>
<dimen name="page_padding_left">10sp</dimen>
<dimen name="page_padding_right">10sp</dimen>
<dimen name="page_padding_left_double">20sp</dimen>
<dimen name="page_padding_right_double">20sp</dimen>
<dimen name="slide_menu_padding">10sp</dimen>
<dimen name="slide_menu_margin">15sp</dimen>

<!--Margim-->
<dimen name="page_margin_top_principal">30sp</dimen>
<dimen name="page_margin_top">10sp</dimen>
<dimen name="page_margin_top_double">20sp</dimen>
<dimen name="page_margin_top_small">5sp</dimen>
<dimen name="page_margin_bottom_small">5sp</dimen>
<dimen name="page_margin_left">10sp</dimen>
<dimen name="page_margin_right">10sp</dimen>
<dimen name="page_margin_left_big">25sp</dimen>
<dimen name="page_margin_right_big">25sp</dimen>
<dimen name="page_margin_left_double">40sp</dimen>
<dimen name="page_margin_top_big">15sp</dimen>
<dimen name="page_margin_bottom_big">20sp</dimen>
<dimen name="page_margin_bottom_double">40sp</dimen>
<dimen name="page_margin_right_double">40sp</dimen>

<!--Separador de lineas-->
<dimen name="line_separator_height">1.5sp</dimen>
<dimen name="line_separator">1sp</dimen>
<dimen name="toolbar_height">45sp</dimen>
<dimen name="button_height">50sp</dimen>
<dimen name="toolbar_margin">10sp</dimen>
<dimen name="table_title_heigh">40sp</dimen>
<dimen name="bankLogo_height">170sp</dimen>
<dimen name="bankLogo_width">230sp</dimen>
<dimen name="appTitle_height">225sp</dimen>
<dimen name="appTitle_width">45sp</dimen>
<dimen name="home_toolbar_icon">20sp</dimen>
<dimen name="home_list_item_icon">30sp</dimen>
<dimen name="menu_margin">30sp</dimen>
<dimen name="cero">0sp</dimen>
<dimen name="rowPadding">2sp</dimen>
<dimen name="grid_item_image_width">70sp</dimen>
<dimen name="grid_item_image_height">70sp</dimen>
<dimen name="page_margin_bottom">10sp</dimen>
<dimen name="line_separator_height_thick">2sp</dimen>

<dimen name="input_label_vertical_spacing">8sp</dimen>
<dimen name="input_label_horizontal_spacing">4sp</dimen>

Probe con DP y SP y ninguna de las 2 hace ningun efecto

este es mi manifest `<manifest xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"
package="machala.twoinnovateit.com.machalamym">

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />

<protected-broadcast android:name="android.intent.action.MEDIA_MOUNTED"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
    android:hardwareAccelerated="false"
    android:name = "android.support.multidex.MultiDexApplication"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:roundIcon="@mipmap/ic_launcher"
    android:supportsRtl="true"
    android:allowBackup="false"
    android:theme="@style/AppTheme">
    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="machala.twoinnovateit.com.machalamym.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <!-- ressource file to create -->
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/file_paths">
        </meta-data>
    </provider>
    <meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIzaSyCod4KJ24V8jR6O8GEC0vK2RiYZYnpMcro" />

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.SplashInicio"
        android:theme="@style/AppThemeLogin">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.LoginPassUserActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactConfirmadaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsDetailActivity"
        android:screenOrientation="portrait">


    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ContactActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.ProductsDetailActivityFueraDelLogin"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.OfficesActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.PreLogin.PromotionsActivity"
        android:screenOrientation="portrait">

    </activity>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ProductsActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.Transactions.Payments.PagoActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MainMenu.HomeActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.HuellaDigitalActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleInversionActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCuentaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name=".machala.Transactions.Transfers.TransferenciaActivity"
        android:screenOrientation="portrait">

    </activity>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Login.InicialActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BloqueoConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailTarjetaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockDetailChequeActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.Locks.BlockActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.BeneficiaryActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.PantallaDeError"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.ChangePasswordConfirmadoActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:windowSoftInputMode="stateHidden"
        android:name="machala.twoinnovateit.com.machalamym.machala.FotoAliasActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.RecoverPasswordConfirmation"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.MovementsDetailsActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.EstadoCuentaActivity"
        android:screenOrientation="portrait"/>

    <activity
        android:name=".machala.Transactions.Transfers.TranferenciaConfirmadaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleTarjetaActivity"
        android:screenOrientation="portrait"/>
    <activity
        android:name="machala.twoinnovateit.com.machalamym.machala.DetalleCreditoActivity"
        android:screenOrientation="portrait"/>

</application>

Desde ya muchas gracias!

Pd: si necesito que se adapte segun la configuracion nativa