Move entryvalues_font_size to SettingsLib (1/2)
Since creating the seekbar for changing font size in SystemUI requires the size of the value entry array and the values in the array. Therefore, we move the resource to SettingsLib to share the usage. Bug: 242326166 Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest Test: Maually test the availability of changing font size through Settings page Change-Id: If630bd9c9c27823c210410b53342b921a11bbfb9
This commit is contained in:
@@ -105,18 +105,6 @@
|
|||||||
<item>1800000</item>
|
<item>1800000</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<!-- NOTE: if you change this, you must also add the corresponding scale key and lookup table to
|
|
||||||
frameworks/base/core/java/android/content/res/FontScaleLookupTableFactory.java -->
|
|
||||||
<string-array name="entryvalues_font_size" translatable="false">
|
|
||||||
<item>0.85</item>
|
|
||||||
<item>1.0</item>
|
|
||||||
<item>1.15</item>
|
|
||||||
<item>1.30</item>
|
|
||||||
<item>1.50</item>
|
|
||||||
<item>1.80</item>
|
|
||||||
<item>2.0</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
<!-- Wi-Fi settings -->
|
<!-- Wi-Fi settings -->
|
||||||
|
|
||||||
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
<!-- Match this with the order of NetworkInfo.DetailedState. --> <skip />
|
||||||
|
@@ -21,7 +21,7 @@ import android.content.Context;
|
|||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.provider.Settings;
|
import android.provider.Settings;
|
||||||
|
|
||||||
import com.android.settings.R;
|
import com.android.settingslib.R;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
Reference in New Issue
Block a user