[partners] Auto partners generation 10.08.2018
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 940 B After Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 631 B After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 998 B |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 391 B |
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 779 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 792 B |
Before Width: | Height: | Size: 1,002 B After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 972 B After Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 976 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2 KiB |
13
android/res/drawable-v21/button_partner1.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<ripple
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?attr/colorControlHighlight">
|
||||
<item>
|
||||
<selector>
|
||||
<item android:drawable="@color/bg_brand_partner1_pressed"
|
||||
android:state_pressed="true"/>
|
||||
|
||||
<item android:drawable="@color/bg_brand_partner1"/>
|
||||
</selector>
|
||||
</item>
|
||||
</ripple>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 808 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 852 B |
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 819 B After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 7.8 KiB |
7
android/res/drawable/button_partner1.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/bg_brand_partner1_pressed"
|
||||
android:state_pressed="true"/>
|
||||
|
||||
<item android:drawable="@color/bg_brand_partner1"/>
|
||||
</selector>
|
|
@ -3,7 +3,7 @@
|
|||
<!-- Partner colors -->
|
||||
|
||||
<color name="bg_brand_partner1">#FF303438</color>
|
||||
<color name="bg_brand_partner1_pressed">#FF303438</color>
|
||||
<color name="bg_brand_partner1_pressed">#FF25282B</color>
|
||||
<color name="bg_brand_partner3">#FFE61717</color>
|
||||
<color name="bg_brand_partner3_pressed">#FFB31212</color>
|
||||
<color name="bg_brand_partner4">#FF000000</color>
|
||||
|
@ -14,8 +14,8 @@
|
|||
<color name="bg_brand_partner7_pressed">#FFE24307</color>
|
||||
<color name="bg_brand_partner8">#FF8D1B2F</color>
|
||||
<color name="bg_brand_partner8_pressed">#FF8D1B2F</color>
|
||||
<color name="bg_brand_partner9">#FFDC0039</color>
|
||||
<color name="bg_brand_partner9_pressed">#FFDC0039</color>
|
||||
<color name="bg_brand_partner9">#FF000000</color>
|
||||
<color name="bg_brand_partner9_pressed">#FF000000</color>
|
||||
<color name="bg_brand_partner10">#FF025198</color>
|
||||
<color name="bg_brand_partner10_pressed">#FF025198</color>
|
||||
<color name="bg_brand_partner11">#FFA50300</color>
|
||||
|
|
|
@ -31,6 +31,7 @@ public final class PlacePageButtons
|
|||
// Warning: the following code is autogenerated.
|
||||
// Do NOT change it manually.
|
||||
// %PartnersExtender.PartnerItemMap
|
||||
put(PartnerItem.PARTNER1.getIndex(), PartnerItem.PARTNER1);
|
||||
put(PartnerItem.PARTNER3.getIndex(), PartnerItem.PARTNER3);
|
||||
put(PartnerItem.PARTNER4.getIndex(), PartnerItem.PARTNER4);
|
||||
put(PartnerItem.PARTNER6.getIndex(), PartnerItem.PARTNER6);
|
||||
|
@ -131,6 +132,7 @@ public final class PlacePageButtons
|
|||
// Warning: the following code is autogenerated.
|
||||
// Do NOT change it manually.
|
||||
// %PartnersExtender.ButtonType
|
||||
PARTNER1,
|
||||
PARTNER3,
|
||||
PARTNER4,
|
||||
PARTNER6,
|
||||
|
@ -171,6 +173,12 @@ public final class PlacePageButtons
|
|||
// Warning: the following code is autogenerated.
|
||||
// Do NOT change it manually.
|
||||
// %PartnersExtender.PartnerItem
|
||||
PARTNER1(
|
||||
1,
|
||||
R.string.sponsored_partner1_action,
|
||||
new ImageResources(R.drawable.ic_24px_logo_partner1),
|
||||
R.drawable.button_partner1,
|
||||
ButtonType.PARTNER1),
|
||||
PARTNER3(
|
||||
3,
|
||||
R.string.sponsored_partner3_action,
|
||||
|
|
|
@ -502,6 +502,7 @@ public class PlacePageView extends RelativeLayout
|
|||
// Warning: the following code is autogenerated.
|
||||
// Do NOT change it manually.
|
||||
// %PartnersExtender.Switch
|
||||
case PARTNER1:
|
||||
case PARTNER3:
|
||||
case PARTNER4:
|
||||
case PARTNER6:
|
||||
|
@ -632,6 +633,7 @@ public class PlacePageView extends RelativeLayout
|
|||
// Warning: the following code is autogenerated.
|
||||
// Do NOT change it manually.
|
||||
// %PartnersExtender.SwitchClick
|
||||
case PARTNER1:
|
||||
case PARTNER3:
|
||||
case PARTNER4:
|
||||
case PARTNER6:
|
||||
|
|