OsmAnd/OsmAnd/res/layout/waypoint_title.xml
IreuN 5141f9f6da Reformating of the code.
This will not change in the layout, it's here just to better maintain
the code.
2014-11-17 16:25:37 +01:00

58 lines
No EOL
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:layout_marginRight="3dp"
android:descendantFocusability="blocksDescendants">
<ImageView
android:id="@+id/back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:layout_gravity="center_vertical"
android:visibility="gone" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:singleLine="true"
android:layout_gravity="center_vertical"
android:text="@string/waypoints"
android:ellipsize="end"
android:layout_weight="1"
android:layout_marginRight="8dp"
android:textSize="20sp" />
<ImageButton
android:id="@+id/sort"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp" />
<ImageButton
android:id="@+id/edit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp" />
<ImageButton
android:id="@+id/all"
android:contentDescription="@string/flat_list_waypoints"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp" />
</LinearLayout>