mirror of https://github.com/tasks/tasks
Use toolbar instead of actionbar
parent
96a95708e7
commit
d2b1f95436
@ -0,0 +1,22 @@
|
||||
<android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/swipe_layout_empty"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_text"
|
||||
style="@style/TextAppearance.TLA_NoItems"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:clickable="true"
|
||||
android:drawableTop="@drawable/icon"
|
||||
android:gravity="center"
|
||||
android:text="@string/TLA_no_items" />
|
||||
</ScrollView>
|
||||
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
@ -0,0 +1,8 @@
|
||||
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tasks="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:minHeight="?attr/actionBarSize"
|
||||
android:background="?attr/asAbBackgroundColor"
|
||||
tasks:popupTheme="@style/ActionBarPopupThemeOverlay" />
|
||||
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!--<style name="Tasks" parent="Theme.AppCompat.NoActionBar">-->
|
||||
<!---->
|
||||
<!--</style>-->
|
||||
<!---->
|
||||
<!--<style name="Tasks.Light" parent="Theme.AppCompat.Light.NoActionBar">-->
|
||||
<!---->
|
||||
<!--</style>-->
|
||||
</resources>
|
||||
Loading…
Reference in New Issue