forked from organicmaps/organicmaps
[AND] List items style fixes.
This commit is contained in:
parent
c71743d624
commit
77e2da9634
5 changed files with 17 additions and 10 deletions
|
@ -21,17 +21,19 @@
|
|||
android:layout_centerVertical="true"
|
||||
android:layout_toLeftOf="@+id/pi_distance"
|
||||
android:layout_toRightOf="@id/pi_pin_color"
|
||||
android:text="my name is"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/Holo.TextAppearance.Large.Light" />
|
||||
android:textAppearance="@style/Holo.TextAppearance.Large.Light"
|
||||
android:textColor="@color/text_primary"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pi_distance"
|
||||
android:text="2333"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:textAppearance="@style/Holo.TextAppearance.Small.Light" />
|
||||
android:layout_marginRight="@dimen/dp_x_4"
|
||||
android:textAppearance="@style/Holo.TextAppearance.Medium.Light"
|
||||
android:textColor="@color/text_seconadary" />
|
||||
|
||||
</RelativeLayout>
|
|
@ -26,15 +26,15 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:text="my name is"
|
||||
android:textAppearance="@style/Holo.TextAppearance.Large.Light" />
|
||||
android:textAppearance="@style/Holo.TextAppearance.Large.Light"
|
||||
android:textColor="@color/text_primary" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pi_distance"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="333"
|
||||
android:textAppearance="@style/Holo.TextAppearance.Small.Light" />
|
||||
android:textAppearance="@style/Holo.TextAppearance.Small.Light"
|
||||
android:textColor="@color/text_seconadary" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
|
@ -2,13 +2,16 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="@dimen/dp_x_6" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
style="@style/Holo.TextView.ListSeparator.Light"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center"
|
||||
android:paddingLeft="@dimen/dp_x_3"
|
||||
android:text="@string/bookmarks" />
|
||||
|
||||
</LinearLayout>
|
|
@ -3,5 +3,7 @@
|
|||
<color name="background_gray">#FFEEEEDD</color>
|
||||
<color name="background_placepage">#ECECEC</color>
|
||||
<color name="base_green">#66CC33</color>
|
||||
<color name="text_primary">#333333</color>
|
||||
<color name="text_seconadary">#999999</color>
|
||||
<drawable name="semitransparent_white">#30FFFFFF</drawable>
|
||||
</resources>
|
|
@ -205,7 +205,7 @@ public class BookmarkListAdapter extends BaseAdapter
|
|||
|
||||
void setDistance(Track trk)
|
||||
{
|
||||
distance.setText(trk.getLengthString());
|
||||
distance.setText(mContext.getString(R.string.length) + " " + trk.getLengthString());
|
||||
}
|
||||
|
||||
void setIcon(Bookmark bmk)
|
||||
|
|
Loading…
Add table
Reference in a new issue