Fix depth contours ui
This commit is contained in:
parent
c6bbecca94
commit
973b716ada
3 changed files with 4 additions and 1 deletions
|
@ -27,6 +27,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
<string name="depth_contour_descr">Set of maps allows you to see sea depth contour lines.</string>
|
||||
<string name="sea_depth_thanks">Thank you for purchasing sea depth contours!</string>
|
||||
<string name="index_item_depth_contours_osmand_ext">Depth contours</string>
|
||||
<string name="index_item_depth_points_southern_hemisphere">Depth points southern hemisphere</string>
|
||||
|
|
|
@ -179,7 +179,7 @@ public class ItemViewHolder {
|
|||
progressBar.setVisibility(View.GONE);
|
||||
descrTextView.setVisibility(View.VISIBLE);
|
||||
if (indexItem.getType() == DownloadActivityType.DEPTH_CONTOUR_FILE && !depthContoursPurchased) {
|
||||
descrTextView.setVisibility(View.GONE);
|
||||
descrTextView.setText(context.getString(R.string.depth_contour_descr));
|
||||
} else if ((indexItem.getType() == DownloadActivityType.SRTM_COUNTRY_FILE ||
|
||||
indexItem.getType() == DownloadActivityType.HILLSHADE_FILE) && srtmDisabled) {
|
||||
if(showTypeInName) {
|
||||
|
|
Loading…
Reference in a new issue