Basic layout for wiki fragment.

master
Tomasz Półgrabia 2016-09-01 19:26:06 +02:00
parent f6eba9ea0a
commit b82a679f94
3 changed files with 54 additions and 1 deletions

View File

@ -9,7 +9,19 @@
android:layout_height="wrap_content"
android:text="Location:"/>
<ListView android:layout_width="match_parent"
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content">
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/wiki_search_radius"/>
<EditText android:id="@+id/wiki_search_radius"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"/>
</LinearLayout>
<ListView android:id="@+id/wiki_places"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView android:id="@+id/wiki_locs_item_img_preview"
android:layout_width="120dp"
android:layout_height="120dp"/>
<LinearLayout android:id="@+id/wiki_locs_item_desc_container"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView android:id="@+id/wiki_locs_item_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fill Title" />
<TextView android:id="@+id/wiki_locs_item_desc"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fill Description" />
<TextView android:id="@+id/wiki_locs_item_author"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fill Author" />
<TextView android:id="@+id/wiki_locs_item_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Fill Distance" />
</LinearLayout>
</LinearLayout>

View File

@ -13,4 +13,5 @@
<string name="save">Save</string>
<string name="location_yrange">Location y-range</string>
<string name="location_xrange">Location x-range</string>
<string name="wiki_search_radius">Search radius</string>
</resources>