Browse Source

tablayoutstyle

master
lh 7 years ago
parent
commit
f07b046c65
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      app/src/main/res/layout/act_tablepoultry.xml
  2. +4
    -0
      app/src/main/res/values/styles.xml

+ 1
- 0
app/src/main/res/layout/act_tablepoultry.xml View File

@ -19,6 +19,7 @@
android:layout_gravity="top" android:layout_gravity="top"
android:background="@color/white" android:background="@color/white"
android:elevation="@dimen/dp_2" android:elevation="@dimen/dp_2"
app:tabTextAppearance="@style/TabLayoutTextStyle"
app:tabIndicatorColor="@color/green029737" app:tabIndicatorColor="@color/green029737"
app:tabSelectedTextColor="@color/green029737" app:tabSelectedTextColor="@color/green029737"
app:tabTextColor="@color/grey666666" /> app:tabTextColor="@color/grey666666" />


+ 4
- 0
app/src/main/res/values/styles.xml View File

@ -101,4 +101,8 @@
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<style name="TabLayoutTextStyle">
<item name="android:textSize">@dimen/text_size_16</item>
</style>
</resources> </resources>

Loading…
Cancel
Save