gregkorossy / Android-Support-Preference-V7-Fix

Android androidx.preference support library has some issues, this lib tries to fix them.
https://discord.gg/87NVsSK
Apache License 2.0
497 stars 46 forks source link

Style of dialog message in EditTextPreference #42

Closed proninyaroslav closed 7 years ago

proninyaroslav commented 8 years ago

Hello. Style of dialog message is very different from Material, since there is no padding and too small fonts:

screenshot_20160824-201222 Is it possible to change style?

For example, a simple AlertDialog: screenshot_20160831-191919

gregkorossy commented 8 years ago

What version of Android is this?

proninyaroslav commented 8 years ago

Android 4.0 - 7.0 (in range).

gregkorossy commented 8 years ago

Yeah, Google did this in the official lib. I'll look into it whether it can be fixed without recreating a lot of stuff.

yccheok commented 7 years ago

Hi,

Same problem here. I am using

    <EditTextPreferenceFix
        android:key="STOCK_ALERT_EMAIL"
        android:title="Stock alert email"
        android:dialogTitle="Stock alert email" />

with the following support library version

compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.takisoft.fix:preference-v7:25.0.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'

Here's what I'm getting

screenshot_20170105-001213

The dialog padding is too small, I think...

gregkorossy commented 7 years ago

Yeah, this is the standard Google way for the support lib... I'll try to fix that if it's possible without recreating the layout.

gregkorossy commented 7 years ago

Is this better? screenshot_1484502923

gregkorossy commented 7 years ago

Fixed in v25.1.0.1.

yccheok commented 7 years ago

Sorry for late reply. It looks good to me. Going to use the latest version in my app.