DT @02.12.2015: MapInfoWindow vollständig überarbeitet

This commit is contained in:
Dennis Thießen
2015-12-02 21:28:23 +01:00
parent c9917be028
commit e1dc4d624a
5 changed files with 167 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#dedede"/>
<solid android:color="#CCdedede"/>
<stroke android:width="1dip" android:color="#66808080" />
<corners android:radius="3dip"/>
<padding android:left="0dip" android:top="0dip" android:right="0dip" android:bottom="0dip" />

View File

@@ -1,21 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="5dp"
android:weightSum="1">
android:background="@drawable/layout_bg">
<LinearLayout
android:orientation="horizontal"
android:id="@+id/lay_infowindow_color"
android:background="#e45151"
android:layout_width="5dp"
android:layout_marginRight="5dp"
android:layout_marginRight="3dp"
android:layout_height="match_parent">
</LinearLayout>
<LinearLayout
@@ -45,11 +43,44 @@
android:layout_height="wrap_content"
android:textColor="#b9000000"
android:text="Category"
android:paddingBottom="10dp"
android:id="@+id/txt_infowindow_category"
android:typeface="serif" />
<LinearLayout
android:orientation="vertical"
android:id="@+id/lay_infowindow_2"
android:background="#55151515"
android:layout_width="match_parent"
android:layout_marginRight="5dp"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#b9000000"
android:text="Username"
android:id="@+id/txt_infowindow_fromuser"
android:typeface="serif" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#b9000000"
android:text="Points:"
android:id="@+id/txt_infowindow_points"
android:typeface="serif" />
<RatingBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/rb_infowindow_rating"
style = "?android:attr/ratingBarStyleSmall"
android:stepSize="0.5"
android:numStars = "5"
android:rating = "0"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

@@ -115,5 +115,7 @@
<string name="errormsg_couldnotretrieve">Could not retrieve data from server. Please check internet connection.</string>
<string name="progress_getdata_text">Please wait...</string>
<string name="progress_getdata_title">Retrieve data from server</string>
<string name="lbl_mapsinfowindow_author">Author</string>
<string name="lbl_mapsinfowindow_score">Score</string>
</resources>