include the Divider layout from commons

This commit is contained in:
tibbi 2016-12-27 22:54:12 +01:00
parent 028d55d843
commit 78f55a3b20
5 changed files with 10 additions and 14 deletions

View file

@ -32,7 +32,7 @@ android {
} }
dependencies { dependencies {
compile 'com.simplemobiletools:commons:2.0.1' compile 'com.simplemobiletools:commons:2.0.2'
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0' compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1' compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1'
compile 'com.booking:rtlviewpager:1.0.1' compile 'com.booking:rtlviewpager:1.0.1'

View file

@ -3,5 +3,5 @@
<gradient <gradient
android:angle="270" android:angle="270"
android:endColor="@android:color/transparent" android:endColor="@android:color/transparent"
android:startColor="@color/actionbar_grey"/> android:startColor="@color/gradient_grey_start"/>
</shape> </shape>

View file

@ -3,5 +3,5 @@
<gradient <gradient
android:angle="90" android:angle="90"
android:endColor="@android:color/transparent" android:endColor="@android:color/transparent"
android:startColor="@color/actionbar_grey"/> android:startColor="@color/gradient_grey_start"/>
</shape> </shape>

View file

@ -17,7 +17,8 @@
<RadioGroup <RadioGroup
android:id="@+id/sorting_dialog_radio_sorting" android:id="@+id/sorting_dialog_radio_sorting"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin">
<com.simplemobiletools.commons.views.MyCompatRadioButton <com.simplemobiletools.commons.views.MyCompatRadioButton
android:id="@+id/sorting_dialog_radio_name" android:id="@+id/sorting_dialog_radio_name"
@ -53,17 +54,14 @@
</RadioGroup> </RadioGroup>
<ImageView <include
android:layout_width="match_parent" layout="@layout/divider"/>
android:layout_height="1px"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_marginTop="@dimen/medium_margin"
android:background="@color/divider_grey"/>
<RadioGroup <RadioGroup
android:id="@+id/sorting_dialog_radio_order" android:id="@+id/sorting_dialog_radio_order"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_margin">
<com.simplemobiletools.commons.views.MyCompatRadioButton <com.simplemobiletools.commons.views.MyCompatRadioButton
android:id="@+id/sorting_dialog_radio_ascending" android:id="@+id/sorting_dialog_radio_ascending"

View file

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="actionbar_grey">#AA000000</color> <!-- Default colors -->
<!-- Color Customization -->
<color name="default_text_color">#FFEDEDED</color> <color name="default_text_color">#FFEDEDED</color>
<color name="default_background_color">#FF3F3F3F</color> <color name="default_background_color">#FF3F3F3F</color>
</resources> </resources>