diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-02-22 05:34:24 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-02-22 05:34:24 +0000 |
commit | 1293eac5c84340c4bdb4c9bef283de3e2710c7da (patch) | |
tree | fa2b8679c49066122436eb685971adf764057e98 /app/src/main/res/values/styles.xml | |
parent | 82d97cf73208f3f187b965fca4460f68af33f6b7 (diff) | |
download | infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.gz infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.bz2 infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.lz infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.xz infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.zst infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.zip |
Add a search view in MainActivity and add a SearchActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/values/styles.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 1ea7c276..1b770151 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -13,10 +13,13 @@ <style name="AppTheme.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> + </style> + + <style name="AppTheme.NoActionBarWithTransparentStatusBar" parent="AppTheme.NoActionBar"> <item name="android:statusBarColor">@android:color/transparent</item> </style> - <style name="AppTheme.NoActionBarWithTranslucentStatusBar" parent="AppTheme.NoActionBar"> + <style name="AppTheme.NoActionBarWithTranslucentWindow" parent="AppTheme.NoActionBarWithTransparentStatusBar"> <item name="android:windowTranslucentStatus">true</item> </style> @@ -37,4 +40,11 @@ <item name="android:windowIsTranslucent">true</item> </style> + <style name="CustomTabLayout" parent="Widget.Design.TabLayout"> + <item name="tabIndicatorColor">@android:color/white</item> + <item name="tabIndicatorHeight">3dp</item> + <item name="tabBackground">?attr/selectableItemBackground</item> + <item name="tabSelectedTextColor">@android:color/white</item> + </style> + </resources> |