forked from organicmaps/organicmaps
Review fixes.
This commit is contained in:
parent
ad1f192f8e
commit
14d4437993
3 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,8 @@
|
|||
android:layout_marginEnd="@dimen/margin_quarter"
|
||||
android:layout_marginRight="@dimen/margin_quarter"
|
||||
android:clickable="true"
|
||||
android:padding="@dimen/margin_half"/>
|
||||
android:padding="@dimen/margin_half"
|
||||
android:src="?ppArrowDrawable"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__straight_distance"
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
<item name="android:colorPrimaryDark" tools:targetApi="lollipop">?statusBar</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds" tools:targetApi="lollipop">true</item>
|
||||
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
||||
<item name="android:fontFamily"tools:targetApi="jelly_bean">@string/robotoRegular</item>
|
||||
<item name="android:fontFamily" tools:targetApi="jelly_bean">@string/robotoRegular</item>
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="clickableBackground">?selectableItemBackground</item>
|
||||
|
||||
|
|
|
@ -171,7 +171,6 @@ public class PlacePageView extends RelativeLayout implements View.OnClickListene
|
|||
mTvDistance = (TextView) mPreview.findViewById(R.id.tv__straight_distance);
|
||||
mAvDirection = (ArrowView) mPreview.findViewById(R.id.av__direction);
|
||||
mAvDirection.setOnClickListener(this);
|
||||
mAvDirection.setImageResource(ThemeUtils.getResource(getContext(), R.attr.ppArrowDrawable));
|
||||
mTvAddress = (TextView) mPreview.findViewById(R.id.tv__address);
|
||||
|
||||
mDetails = (ScrollView) findViewById(R.id.pp__details);
|
||||
|
@ -412,7 +411,7 @@ public class PlacePageView extends RelativeLayout implements View.OnClickListene
|
|||
if (mToolbar != null)
|
||||
mToolbar.setTitle(mMapObject.getTitle());
|
||||
UiUtils.setTextAndHideIfEmpty(mTvSubtitle, mMapObject.getSubtitle());
|
||||
mAvDirection.setVisibility(View.GONE);
|
||||
UiUtils.hide(mAvDirection);
|
||||
UiUtils.setTextAndHideIfEmpty(mTvAddress, mMapObject.getAddress());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue