2015-10-17 16:39:44 +02:00
|
|
|
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-01 17:47:54 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2015-10-17 16:39:44 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/activity_swipe_layout"
|
|
|
|
android:layout_width="match_parent"
|
2017-04-01 17:47:54 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity">
|
2015-07-21 00:06:20 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2017-04-01 17:47:54 +02:00
|
|
|
android:id="@+id/charts_main_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2015-07-21 00:06:20 +02:00
|
|
|
|
2017-04-01 17:47:54 +02:00
|
|
|
<android.support.v4.view.ViewPager
|
|
|
|
android:id="@+id/charts_pager"
|
2015-10-17 16:39:44 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-04-01 17:47:54 +02:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity">
|
|
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
|
android:id="@+id/charts_pagerTabStrip"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top"
|
|
|
|
app:tabMode="scrollable" />
|
|
|
|
</android.support.v4.view.ViewPager>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/charts_date_bar"
|
|
|
|
android:layout_width="fill_parent"
|
2015-10-17 16:39:44 +02:00
|
|
|
android:layout_height="wrap_content"
|
2017-04-01 17:47:54 +02:00
|
|
|
android:gravity="fill_horizontal"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/charts_previous"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="<" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/charts_text_date"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="Today" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/charts_next"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text=">" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2015-10-17 16:39:44 +02:00
|
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|