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