[android] Added new icons for PP, changed layout a bit
BIN
android/res/drawable-hdpi/ic_adress.png
Normal file
After Width: | Height: | Size: 342 B |
BIN
android/res/drawable-hdpi/ic_bank.png
Normal file
After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 233 B |
BIN
android/res/drawable-hdpi/ic_coordinates.png
Normal file
After Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 1.1 KiB |
BIN
android/res/drawable-hdpi/ic_entrance.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
android/res/drawable-hdpi/ic_operating_hours.png
Normal file
After Width: | Height: | Size: 340 B |
BIN
android/res/drawable-hdpi/ic_phone.png
Normal file
After Width: | Height: | Size: 862 B |
Before Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 448 B |
BIN
android/res/drawable-hdpi/ic_web.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
android/res/drawable-hdpi/ic_wifi.png
Normal file
After Width: | Height: | Size: 457 B |
BIN
android/res/drawable-hdpi/ic_wiki.png
Normal file
After Width: | Height: | Size: 827 B |
BIN
android/res/drawable-mdpi/ic_adress.png
Normal file
After Width: | Height: | Size: 250 B |
BIN
android/res/drawable-mdpi/ic_bank.png
Normal file
After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 208 B |
BIN
android/res/drawable-mdpi/ic_coordinates.png
Normal file
After Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 745 B |
BIN
android/res/drawable-mdpi/ic_entrance.png
Normal file
After Width: | Height: | Size: 122 B |
BIN
android/res/drawable-mdpi/ic_operating_hours.png
Normal file
After Width: | Height: | Size: 247 B |
BIN
android/res/drawable-mdpi/ic_phone.png
Normal file
After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 289 B |
BIN
android/res/drawable-mdpi/ic_web.png
Normal file
After Width: | Height: | Size: 798 B |
BIN
android/res/drawable-mdpi/ic_wifi.png
Normal file
After Width: | Height: | Size: 318 B |
BIN
android/res/drawable-mdpi/ic_wiki.png
Normal file
After Width: | Height: | Size: 531 B |
BIN
android/res/drawable-xhdpi/ic_adress.png
Normal file
After Width: | Height: | Size: 428 B |
BIN
android/res/drawable-xhdpi/ic_bank.png
Normal file
After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 274 B |
BIN
android/res/drawable-xhdpi/ic_coordinates.png
Normal file
After Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 1.4 KiB |
BIN
android/res/drawable-xhdpi/ic_entrance.png
Normal file
After Width: | Height: | Size: 164 B |
BIN
android/res/drawable-xhdpi/ic_operating_hours.png
Normal file
After Width: | Height: | Size: 433 B |
BIN
android/res/drawable-xhdpi/ic_phone.png
Normal file
After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 881 B |
Before Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 559 B |
BIN
android/res/drawable-xhdpi/ic_web.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
android/res/drawable-xhdpi/ic_wifi.png
Normal file
After Width: | Height: | Size: 594 B |
BIN
android/res/drawable-xhdpi/ic_wiki.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
android/res/drawable-xxhdpi/ic_adress.png
Normal file
After Width: | Height: | Size: 613 B |
BIN
android/res/drawable-xxhdpi/ic_bank.png
Normal file
After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 356 B |
BIN
android/res/drawable-xxhdpi/ic_coordinates.png
Normal file
After Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 406 B |
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 2 KiB |
BIN
android/res/drawable-xxhdpi/ic_entrance.png
Normal file
After Width: | Height: | Size: 208 B |
BIN
android/res/drawable-xxhdpi/ic_operating_hours.png
Normal file
After Width: | Height: | Size: 618 B |
BIN
android/res/drawable-xxhdpi/ic_phone.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 715 B |
Before Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 987 B |
Before Width: | Height: | Size: 842 B |
BIN
android/res/drawable-xxhdpi/ic_web.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
android/res/drawable-xxhdpi/ic_wifi.png
Normal file
After Width: | Height: | Size: 853 B |
BIN
android/res/drawable-xxhdpi/ic_wiki.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
android/res/drawable-xxxhdpi/ic_adress.png
Normal file
After Width: | Height: | Size: 796 B |
BIN
android/res/drawable-xxxhdpi/ic_bank.png
Normal file
After Width: | Height: | Size: 566 B |
BIN
android/res/drawable-xxxhdpi/ic_coordinates.png
Normal file
After Width: | Height: | Size: 729 B |
BIN
android/res/drawable-xxxhdpi/ic_cuisine.png
Normal file
After Width: | Height: | Size: 525 B |
BIN
android/res/drawable-xxxhdpi/ic_email.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
android/res/drawable-xxxhdpi/ic_entrance.png
Normal file
After Width: | Height: | Size: 262 B |
BIN
android/res/drawable-xxxhdpi/ic_operating_hours.png
Normal file
After Width: | Height: | Size: 799 B |
BIN
android/res/drawable-xxxhdpi/ic_phone.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
android/res/drawable-xxxhdpi/ic_web.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
android/res/drawable-xxxhdpi/ic_wifi.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
android/res/drawable-xxxhdpi/ic_wiki.png
Normal file
After Width: | Height: | Size: 2 KiB |
|
@ -48,11 +48,13 @@
|
|||
|
||||
<include layout="@layout/place_page_placename"/>
|
||||
|
||||
<include layout="@layout/place_page_entrance"/>
|
||||
|
||||
<include layout="@layout/place_page_phone"/>
|
||||
|
||||
<include layout="@layout/place_page_website"/>
|
||||
|
||||
<include layout="@layout/place_page_schedule"/>
|
||||
<include layout="@layout/place_page_wiki"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -63,14 +65,18 @@
|
|||
android:layout_toRightOf="@id/anchor_center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include layout="@layout/place_page_email"/>
|
||||
|
||||
<include layout="@layout/place_page_schedule"/>
|
||||
|
||||
<include layout="@layout/place_page_latlon"/>
|
||||
|
||||
<include layout="@layout/place_page_wifi"/>
|
||||
|
||||
<include layout="@layout/place_page_email"/>
|
||||
|
||||
<include layout="@layout/place_page_operator"/>
|
||||
|
||||
<include layout="@layout/place_page_cuisine"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
31
android/res/layout/place_page_cuisine.xml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
android:id="@+id/ll__place_cuisine"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:tag="schedule"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_cuisine"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_cuisine"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_cuisine"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Japan, European"/>
|
||||
</LinearLayout>
|
|
@ -25,20 +25,26 @@
|
|||
|
||||
<include layout="@layout/place_page_placename"/>
|
||||
|
||||
<include layout="@layout/place_page_entrance"/>
|
||||
|
||||
<include layout="@layout/place_page_phone"/>
|
||||
|
||||
<include layout="@layout/place_page_website"/>
|
||||
|
||||
<include layout="@layout/place_page_wiki"/>
|
||||
|
||||
<include layout="@layout/place_page_email"/>
|
||||
|
||||
<include layout="@layout/place_page_schedule"/>
|
||||
|
||||
<include layout="@layout/place_page_latlon"/>
|
||||
|
||||
<include layout="@layout/place_page_wifi"/>
|
||||
|
||||
<include layout="@layout/place_page_email"/>
|
||||
|
||||
<include layout="@layout/place_page_operator"/>
|
||||
|
||||
<include layout="@layout/place_page_cuisine"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0px"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
android:id="@+id/iv__place_email"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_email"/>
|
||||
|
||||
<TextView
|
||||
|
|
31
android/res/layout/place_page_entrance.xml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
android:id="@+id/ll__place_entrance"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:visibility="gone"
|
||||
tools:background="#6000FF00"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_entrance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_entrance"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_entrance"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="150 - 200"/>
|
||||
|
||||
</LinearLayout>
|
|
@ -17,8 +17,8 @@
|
|||
android:id="@+id/iv__place_latlon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_position"/>
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_coordinates"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_latlon"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
android:id="@+id/iv__place_operator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_bank_operator"/>
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_bank"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_operator"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
android:id="@+id/iv__place_phone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_phone"/>
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_phone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_phone"
|
||||
|
|
|
@ -1,31 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll__place_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:background="#6000FF00">
|
||||
<RelativeLayout
|
||||
android:id="@+id/ll__place_name"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:visibility="gone"
|
||||
tools:background="#6000FF00"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_adress"/>
|
||||
android:id="@+id/iv__place_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_adress"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_address"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Sample place"/>
|
||||
</LinearLayout>
|
||||
android:id="@+id/tv__place_address"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_toRightOf="@id/iv__place_name"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Sample place"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_post_address"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@id/tv__place_address"
|
||||
android:layout_below="@id/tv__place_address"
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:text="Post address"/>
|
||||
</RelativeLayout>
|
|
@ -2,79 +2,79 @@
|
|||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1">
|
||||
android:ellipsize="end"
|
||||
android:maxLines="@integer/pp_title_lines"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_headline"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="@integer/pp_title_lines"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_headline"/>
|
||||
android:id="@+id/tv__subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv__title"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv__title"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__opened_till"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv__subtitle"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
android:visibility="gone"/>
|
||||
android:id="@+id/tv__opened_till"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/tv__subtitle"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<RatingBar
|
||||
android:id="@+id/rb__stars"
|
||||
style="?android:attr/ratingBarStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/tv__subtitle"
|
||||
android:layout_marginBottom="@dimen/margin_eighth"
|
||||
android:layout_toRightOf="@id/tv__subtitle"
|
||||
android:numStars="5"
|
||||
android:progressDrawable="@drawable/rating_bar_stars"
|
||||
android:stepSize="1"
|
||||
android:visibility="gone"/>
|
||||
android:id="@+id/rb__stars"
|
||||
style="?android:attr/ratingBarStyleSmall"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/tv__subtitle"
|
||||
android:layout_marginBottom="@dimen/margin_eighth"
|
||||
android:layout_toRightOf="@id/tv__subtitle"
|
||||
android:numStars="5"
|
||||
android:progressDrawable="@drawable/rating_bar_stars"
|
||||
android:stepSize="1"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__peak_elevation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/tv__subtitle"
|
||||
android:layout_toRightOf="@id/tv__subtitle"
|
||||
android:drawableLeft="@drawable/ic_high_mountain"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
android:visibility="gone"/>
|
||||
android:id="@+id/tv__peak_elevation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@id/tv__subtitle"
|
||||
android:layout_toRightOf="@id/tv__subtitle"
|
||||
android:drawableLeft="@drawable/ic_high_mountain"
|
||||
android:textColor="@color/text_place_page_subtitle"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__straight_distance"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"/>
|
||||
android:id="@+id/tv__straight_distance"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"/>
|
||||
|
||||
<com.mapswithme.maps.widget.ArrowView
|
||||
android:id="@+id/av__direction"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="-8dp"
|
||||
android:clickable="true"
|
||||
android:padding="@dimen/margin_half"/>
|
||||
android:id="@+id/av__direction"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="-8dp"
|
||||
android:clickable="true"
|
||||
android:padding="@dimen/margin_half"/>
|
||||
|
||||
</merge>
|
||||
|
||||
|
|
|
@ -1,28 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
android:id="@+id/ll__place_schedule"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:tag="schedule"
|
||||
android:visibility="gone">
|
||||
android:id="@+id/ll__place_schedule"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:tag="schedule"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_schedule"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_worktime"/>
|
||||
android:id="@+id/iv__place_schedule"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_operating_hours"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_schedule"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"/>
|
||||
android:id="@+id/tv__place_schedule"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Today 16:00-18.00"/>
|
||||
</LinearLayout>
|
|
@ -19,8 +19,8 @@
|
|||
android:id="@+id/iv__place_website"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_link"/>
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_web"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_website"
|
||||
|
@ -28,5 +28,5 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page_blue"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Sample website"/>
|
||||
tools:text="osm.org"/>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
android:id="@+id/iv__place_wifi"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_double"
|
||||
android:src="@drawable/ic_text_wifi"/>
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_wifi"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_wifi"
|
||||
|
@ -27,5 +27,5 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="Wi-Fi"/>
|
||||
android:text="@string/WiFi_available"/>
|
||||
</LinearLayout>
|
32
android/res/layout/place_page_wiki.xml
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/ll__place_wiki"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/clickableBackground"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/margin_half"
|
||||
android:paddingTop="@dimen/margin_half"
|
||||
android:tag="website"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:background="#20FF0000">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv__place_wiki"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="@dimen/margin_base"
|
||||
android:src="@drawable/ic_wiki"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv__place_wiki"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_place_page_blue"
|
||||
android:textSize="@dimen/text_size_body_1"
|
||||
tools:text="https://en.wikipedia.org/"/>
|
||||
</LinearLayout>
|