OsmAnd/OsmAnd/res/layout-land/quick_action_widget.xml

65 lines
2.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/quick_action_background">
<LinearLayout
2017-01-04 14:45:48 +01:00
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:layout_margin="@dimen/content_padding_half"
android:background="@drawable/bg_card_light"
android:clickable="true"
android:orientation="vertical">
2020-03-04 15:12:06 +01:00
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="200dp" />
<LinearLayout
android:id="@+id/controls"
android:layout_width="match_parent"
android:layout_height="24dp"
2017-01-10 11:08:37 +01:00
android:orientation="horizontal"
android:background="@drawable/quick_action_controls_background">
<ImageButton
android:id="@+id/btnPrev"
android:contentDescription="@string/shared_string_previous"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2020-02-24 15:17:23 +01:00
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:paddingEnd="@dimen/content_padding"
android:paddingStart="@dimen/content_padding" />
<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"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2020-02-24 15:17:23 +01:00
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:paddingStart="@dimen/content_padding"
android:paddingEnd="@dimen/content_padding" />
</LinearLayout>
</LinearLayout>
</FrameLayout>