Last active
September 28, 2015 02:20
-
-
Save sharish/f4c11b0b2d08ad98f50e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/ab_toolbar" | |
app:popupTheme="@style/MyActionBarLogo" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
android:background="@color/primary_purple_dark" | |
android:fitsSystemWindows="true" | |
app:layout_scrollFlags="scroll|enterAlways" | |
/> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Rating bar drawable --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:id="@android:id/background" | |
android:drawable="@drawable/apptheme_rate_star_small_off_holo_light" /> | |
<item android:id="@android:id/secondaryProgress" | |
android:drawable="@drawable/apptheme_rate_star_small_half_holo_light" /> | |
<item android:id="@android:id/progress" | |
android:drawable="@drawable/apptheme_rate_star_small_on_holo_light" /> | |
</layer-list> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Base application theme. --> | |
<style name="AppTheme" parent="Theme.AppCompat.NoActionBar"> | |
<item name="android:colorBackground">@color/background_material_light</item> | |
<!-- Customize your theme here. --> | |
</style> | |
<style name="MyActionBarLogo" parent="@style/ThemeOverlay.AppCompat.Light"> | |
<item name="background">@color/primary_purple_dark</item> | |
<item name="logo">@drawable/ic_menu</item> | |
<item name="displayOptions">useLogo|showHome</item> | |
</style> | |
<style name="AppCompatAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert"> | |
<item name="colorAccent">@color/accent</item> | |
<item name="android:textColorPrimary">@android:color/white</item> | |
<item name="android:background">@color/primary_purple</item> | |
</style> | |
<style name="rating" parent="@android:style/Widget.RatingBar"> | |
<item name="android:progressDrawable">@drawable/rating</item> | |
<item name="android:minHeight">23dp</item> | |
<item name="android:maxHeight">25dp</item> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment