[android] Removed partner remainings

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2021-12-26 14:45:37 +01:00 committed by Alexander Borsuk
parent 6d48b058f9
commit 3aeec8931d
46 changed files with 1 additions and 206 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

View file

@ -1,13 +0,0 @@
<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>

View file

@ -1,13 +0,0 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item>
<selector>
<item android:drawable="@color/bg_brand_partner18_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner18"/>
</selector>
</item>
</ripple>

View file

@ -1,13 +0,0 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item>
<selector>
<item android:drawable="@color/bg_brand_partner19_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner19"/>
</selector>
</item>
</ripple>

View file

@ -1,13 +0,0 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item>
<selector>
<item android:drawable="@color/bg_brand_partner2_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner2"/>
</selector>
</item>
</ripple>

View file

@ -1,13 +0,0 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item>
<selector>
<item android:drawable="@color/bg_brand_partner20_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner20"/>
</selector>
</item>
</ripple>

View file

@ -1,13 +0,0 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?attr/colorControlHighlight">
<item>
<selector>
<item android:drawable="@color/bg_brand_partner3_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner3"/>
</selector>
</item>
</ripple>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 B

View file

@ -1,7 +0,0 @@
<?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>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/bg_brand_partner18_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner18"/>
</selector>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/bg_brand_partner19_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner19"/>
</selector>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/bg_brand_partner2_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner2"/>
</selector>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/bg_brand_partner20_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner20"/>
</selector>

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/bg_brand_partner3_pressed"
android:state_pressed="true"/>
<item android:drawable="@color/bg_brand_partner3"/>
</selector>

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Partner colors -->
<color name="bg_brand_partner1">#FF303438</color>
<color name="bg_brand_partner1_pressed">#FF25282B</color>
<color name="bg_brand_partner2">#FFD7D7D7</color>
<color name="bg_brand_partner2_pressed">#FFD7D7D7</color>
<color name="bg_brand_partner3">#FFE61717</color>
<color name="bg_brand_partner3_pressed">#FFB31212</color>
<color name="bg_brand_partner18">#FF00B956</color>
<color name="bg_brand_partner18_pressed">#FF00B956</color>
<color name="bg_brand_partner19">#FF571A8C</color>
<color name="bg_brand_partner19_pressed">#FF571A8C</color>
<color name="bg_brand_partner20">#FF571A8C</color>
<color name="bg_brand_partner20_pressed">#FF571A8C</color>
</resources>

View file

@ -100,22 +100,6 @@ public final class PlacePageButtons
}
enum ButtonType {
// ---------------------------------------------------------------------------------------------
// Warning: the following code is autogenerated.
// Do NOT change it manually.
// %PartnersExtender.ButtonType
PARTNER1,
PARTNER2,
PARTNER3,
PARTNER18,
PARTNER19,
PARTNER20,
// /%PartnersExtender.ButtonType
// End of autogenerated code.
// ---------------------------------------------------------------------------------------------
BOOKING,
// BOOKING_SEARCH,
OPENTABLE,
BACK,
BOOKMARK,
ROUTE_FROM,
@ -132,32 +116,6 @@ public final class PlacePageButtons
enum Item implements PlacePageButtons.PlacePageButton
{
BOOKING(
R.string.book_button,
new ImageResources(R.drawable.ic_booking),
ButtonType.BOOKING)
{
@DrawableRes
@Override
public int getBackgroundResource()
{
return R.drawable.button_booking;
}
},
OPENTABLE(
R.string.book_button,
new ImageResources(R.drawable.ic_opentable),
ButtonType.OPENTABLE)
{
@DrawableRes
@Override
public int getBackgroundResource()
{
return R.drawable.button_opentable;
}
},
BACK(
R.string.back,
new ImageResources.Stub()
@ -316,8 +274,6 @@ public final class PlacePageButtons
}
preserveRoutingButtons(res, Item.CALL);
preserveRoutingButtons(res, Item.BOOKING);
// preserveRoutingButtons(res, Item.BOOKING_SEARCH);
from = res.indexOf(Item.ROUTE_FROM);
to = res.indexOf(Item.ROUTE_TO);
if (from < mMaxButtons && from > to)

View file

@ -431,30 +431,6 @@ public class PlacePageView extends NestedScrollViewClickFixed
switch (item.getType())
{
case BOOKING:
// case BOOKING_SEARCH:
case OPENTABLE:
// ---------------------------------------------------------------------------------------
// Warning: the following code is autogenerated.
// Do NOT change it manually.
// %PartnersExtender.Switch
case PARTNER1:
case PARTNER3:
case PARTNER18:
case PARTNER19:
case PARTNER20:
// /%PartnersExtender.Switch
// End of autogenerated code.
// ---------------------------------------------------------------------------------------
frame.setBackgroundResource(item.getBackgroundResource());
color = Color.WHITE;
break;
case PARTNER2:
frame.setBackgroundResource(item.getBackgroundResource());
color = Color.BLACK;
break;
case BOOKMARK:
mBookmarkButtonIcon = icon;
mBookmarkButtonFrame = frame;

View file

@ -12792,7 +12792,7 @@
zh-Hant = 更多評論
[book_button]
tags = android,ios
tags = ios
en = Book
ar = حجز
be = Забраніраваць