diff options
author | Camil Staps | 2015-04-09 14:48:53 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-09 14:48:53 +0200 |
commit | f1e3cc66c76fb9291c90647ba559e4388da0e58e (patch) | |
tree | b8dfab2802bd8bc5212a9c0e8fdd3c29438ae3a6 /app/src/main/res/values/styles.xml | |
parent | Cleanup (diff) |
Added tabs to action bar; other minor improvements
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 766ab99..00bfbb5 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,8 +1,17 @@ <resources> <!-- Base application theme. --> - <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> - <!-- Customize your theme here. --> + <style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + </style> + + <style name="AppTheme" parent="AppBaseTheme"> + <item name="android:actionBarTabStyle">@style/TabBarStyle</item> + </style> + + <style name="TabBarStyle" parent="@style/Widget.AppCompat.ActionBar.TabView"> + <item name="android:paddingLeft">2dp</item> + <item name="android:paddingRight">20dp</item> + <item name="android:minWidth">500dp</item> </style> </resources> |