Also removed references to the lite version from the code
This commit is contained in:
parent
c2ddf4b238
commit
dd2dd55ce4
3 changed files with 3 additions and 17 deletions
lib
res
src/com/mapswithme/maps/api
|
@ -54,16 +54,6 @@
|
|||
android:background="@drawable/btn_green_selector"
|
||||
android:text="@string/down_pro" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_lite"
|
||||
style="@style/promoButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/btn_gray_selector"
|
||||
android:padding="6dp"
|
||||
android:text="@string/down_lite" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
|
@ -1,9 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="mwm_should_be_installed">Offline maps are required to proceed. We have partnered with maps.me to provide you with offline maps of the entire world.\nTo continue please download the app:</string>
|
||||
<string name="down_lite">Download maps.me Lite (free)</string>
|
||||
<string name="down_pro">Download maps.me Pro</string>
|
||||
|
||||
<string name="mwm_should_be_installed">Offline maps are required to proceed. We have partnered with MAPS.ME to provide you with offline maps of the entire world.\nTo continue please download the app:</string>
|
||||
<string name="down_pro">Download MAPS.ME</string>
|
||||
<string name="url_pro">http://maps.me/get</string>
|
||||
<string name="url_lite">http://maps.me/app</string>
|
||||
</resources>
|
|
@ -41,7 +41,6 @@ public class DownloadMapsWithMeDialog extends Dialog implements android.view.Vie
|
|||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
setContentView(R.layout.dlg_install_mwm);
|
||||
|
||||
findViewById(R.id.btn_lite).setOnClickListener(this);
|
||||
findViewById(R.id.btn_pro).setOnClickListener(this);
|
||||
|
||||
setOwnerActivity(activity);
|
||||
|
@ -59,7 +58,7 @@ public class DownloadMapsWithMeDialog extends Dialog implements android.view.Vie
|
|||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
String url = getContext().getString(v.getId() == R.id.btn_lite ? R.string.url_lite : R.string.url_pro);
|
||||
String url = getContext().getString(R.string.url_pro);
|
||||
onDownloadButtonClicked(url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue