OsmAnd/OsmAnd/res/layout/quick_action_widget.xml

59 lines
2.1 KiB
XML
Raw Normal View History

2016-12-22 18:39:30 +01:00
<?xml version="1.0" encoding="utf-8"?>
2016-12-27 10:19:35 +01:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-12-23 14:35:37 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2016-12-27 10:19:35 +01:00
android:background="@drawable/quick_action_background">
2016-12-23 14:35:37 +01:00
<LinearLayout
2017-01-04 11:21:19 +01:00
android:id="@+id/container"
2016-12-23 14:35:37 +01:00
android:layout_width="match_parent"
2016-12-27 10:19:35 +01:00
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:background="@drawable/bg_card_light"
android:clickable="true"
android:orientation="vertical">
<android.support.v4.view.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="200dp" />
2016-12-23 14:35:37 +01:00
<LinearLayout
2016-12-27 10:19:35 +01:00
android:id="@+id/controls"
2016-12-23 14:35:37 +01:00
android:layout_width="match_parent"
2016-12-27 10:19:35 +01:00
android:layout_height="48dp"
2017-01-10 11:08:37 +01:00
android:orientation="horizontal"
android:background="@drawable/quick_action_controls_background">
2016-12-27 10:19:35 +01:00
<ImageButton
android:id="@+id/btnPrev"
android:contentDescription="@string/shared_string_previous"
2016-12-27 10:19:35 +01:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2016-12-27 10:19:35 +01:00
android:paddingLeft="16dp"
android:paddingRight="16dp" />
<LinearLayout
android:id="@+id/dots"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal" />
<ImageButton
android:id="@+id/btnNext"
android:contentDescription="@string/shared_string_next"
2016-12-27 10:19:35 +01:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2016-12-27 10:19:35 +01:00
android:paddingLeft="16dp"
android:paddingRight="16dp" />
</LinearLayout>
2016-12-23 14:35:37 +01:00
</LinearLayout>
2016-12-22 18:39:30 +01:00
2016-12-27 10:19:35 +01:00
</FrameLayout>