Added custom number picker for api < 11 compatibility
Extracted number picker (non public) from older android source and included it into this project to remain compatible with devices api level < 11. Devices api level > 11 will use native number pickers as the are public facing in the sdk Change-Id: I7cf7cba066b25516e90bd9951f4de7964b7fd613 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<declare-styleable name="com.admob.android.ads.AdView">
|
||||
<attr name="backgroundColor" format="color" />
|
||||
<attr name="primaryTextColor" format="color" />
|
||||
<attr name="secondaryTextColor" format="color" />
|
||||
<attr name="keywords" format="string" />
|
||||
<attr name="refreshInterval" format="integer" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
<resources>
|
||||
|
||||
<declare-styleable name="com.admob.android.ads.AdView">
|
||||
<attr name="backgroundColor" format="color" />
|
||||
<attr name="primaryTextColor" format="color" />
|
||||
<attr name="secondaryTextColor" format="color" />
|
||||
<attr name="keywords" format="string" />
|
||||
<attr name="refreshInterval" format="integer" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="numberpicker">
|
||||
<attr name="startRange" format="integer" />
|
||||
<attr name="endRange" format="integer" />
|
||||
<attr name="defaultValue" format="integer" />
|
||||
<attr name="maxValue" format="integer" />
|
||||
<attr name="wrap" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user