Commit d151d91d authored by Varun Patil's avatar Varun Patil

fix(map): Remove description title

parent 89a489aa
...@@ -640,11 +640,8 @@ public class MapFragment extends Fragment implements TextWatcher, ...@@ -640,11 +640,8 @@ public class MapFragment extends Fragment implements TextWatcher,
View desc = getLayoutInflater().inflate(R.layout.map_place_description, View desc = getLayoutInflater().inflate(R.layout.map_place_description,
parent); parent);
TextView descHeader = (TextView) desc
.findViewById(R.id.desc_header);
Typeface regular = Typeface.createFromAsset(getContext().getAssets(), Typeface regular = Typeface.createFromAsset(getContext().getAssets(),
FONT_REGULAR); FONT_REGULAR);
descHeader.setTypeface(regular, Typeface.BOLD);
TextView descContent = (TextView) desc TextView descContent = (TextView) desc
.findViewById(R.id.desc_content); .findViewById(R.id.desc_content);
......
...@@ -4,24 +4,13 @@ ...@@ -4,24 +4,13 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="12dp"> android:paddingLeft="12dp">
<TextView
android:id="@+id/desc_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:paddingBottom="0dp"
android:text="Description"
android:textColor="@color/colorGray"
android:textSize="20sp" />
<TextView <TextView
android:id="@+id/desc_content" android:id="@+id/desc_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/desc_header"
android:lineSpacingExtra="3dp" android:lineSpacingExtra="3dp"
android:padding="8dp" android:padding="8dp"
android:paddingTop="0dp" android:paddingTop="5dp"
android:textIsSelectable="true" android:textIsSelectable="true"
android:textSize="18sp" android:textSize="18sp"
android:textColor="@color/secondaryTextColor" /> android:textColor="@color/secondaryTextColor" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment