diff --git a/res/drawable/switchbar_background.xml b/res/drawable/switchbar_background.xml new file mode 100644 index 0000000..a58f2e9 --- /dev/null +++ b/res/drawable/switchbar_background.xml @@ -0,0 +1,21 @@ + + + + + + + diff --git a/res/layout-land/activity_main.xml b/res/layout-land/activity_main.xml index 7055194..797f554 100644 --- a/res/layout-land/activity_main.xml +++ b/res/layout-land/activity_main.xml @@ -12,7 +12,7 @@ android:layout_height="35dp" android:addStatesFromChildren="false" android:alwaysDrawnWithCache="false" - android:background="@color/title_text_bg" + android:background="@drawable/switchbar_background" android:orientation="horizontal"> + android:textColor="?android:attr/textColorPrimary" /> + android:textColor="?android:attr/textColorPrimary" /> ?android:attr/colorAccent #80009688 - @android:color/white - #ff263238 #fffafafa #ff9E9E9E #F44336 diff --git a/res/values/styles.xml b/res/values/styles.xml index cae8c39..9866c72 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -1,15 +1,9 @@ - - - - - +