Style changes
This commit is contained in:
@@ -40,22 +40,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="?cpp_toolbar_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
app:layout_scrollFlags="scroll|enterAlways" />
|
||||
|
||||
<android.support.design.widget.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
style="?cpp_toolbar_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never"
|
||||
app:tabGravity="fill"
|
||||
app:tabMaxWidth="0dp"
|
||||
app:tabMode="fixed" />
|
||||
<include layout="@layout/activity_tabs_tablayout"/>
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
|
21
app/src/main/res/layout/activity_tabs_tablayout.xml
Normal file
21
app/src/main/res/layout/activity_tabs_tablayout.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="?cpp_toolbar_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
app:layout_scrollFlags="scroll|snap" />
|
||||
|
||||
<android.support.design.widget.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
style="?cpp_toolbar_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:overScrollMode="never"
|
||||
app:tabGravity="fill"
|
||||
app:tabMaxWidth="0dp"
|
||||
app:tabMode="fixed" />
|
||||
</merge>
|
@@ -53,7 +53,7 @@
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:layout_marginBottom="10dp"
|
||||
a:background="?attr/cpp_main_bg"
|
||||
a:background="?attr/cpp_editor_bg"
|
||||
a:padding="3dp">
|
||||
|
||||
<org.solovyev.android.views.dragbutton.DirectionDragButton
|
||||
|
@@ -26,7 +26,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:background="?attr/cpp_main_bg"
|
||||
a:background="?attr/cpp_editor_bg"
|
||||
a:minWidth="200dp"
|
||||
a:orientation="vertical"
|
||||
a:padding="3dp"
|
||||
|
Reference in New Issue
Block a user